2004-12-08 16:49:10 +00:00
|
|
|
|
2008-09-29 18:30:46 +00:00
|
|
|
%define multilib_arches i386 x86_64 ppc ppc64 s390 s390x sparcv9 sparc64
|
2008-02-22 20:12:19 +00:00
|
|
|
|
2005-03-03 22:41:32 +00:00
|
|
|
Summary: Library for handling page faults in user mode
|
2004-12-08 16:49:10 +00:00
|
|
|
Name: libsigsegv
|
2006-07-20 11:34:31 +00:00
|
|
|
Version: 2.4
|
2008-09-29 18:30:46 +00:00
|
|
|
Release: 7%{?dist}
|
2005-04-06 22:12:23 +00:00
|
|
|
|
2007-08-12 02:09:59 +00:00
|
|
|
License: GPLv2+
|
2005-03-03 22:41:32 +00:00
|
|
|
URL: http://libsigsegv.sourceforge.net/
|
2008-02-22 20:12:19 +00:00
|
|
|
Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
2005-03-03 22:41:32 +00:00
|
|
|
Group: System Environment/Libraries
|
2005-10-06 18:18:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2008-02-22 20:12:19 +00:00
|
|
|
Source1: sigsegv-wrapper.h
|
|
|
|
|
2004-12-08 16:49:10 +00:00
|
|
|
%description
|
|
|
|
This is a library for handling page faults in user mode. A page fault
|
|
|
|
occurs when a program tries to access to a region of memory that is
|
|
|
|
currently not available. Catching and handling a page fault is a useful
|
|
|
|
technique for implementing:
|
2007-08-12 02:09:59 +00:00
|
|
|
- pageable virtual memory
|
|
|
|
- memory-mapped access to persistent databases
|
|
|
|
- generational garbage collectors
|
|
|
|
- stack overflow handlers
|
|
|
|
- distributed shared memory
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
%package devel
|
2005-10-06 18:24:53 +00:00
|
|
|
Summary: Development libraries and header files for %{name}
|
2004-12-08 16:49:10 +00:00
|
|
|
Group: Development/Libraries
|
2005-03-03 22:41:32 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-12-08 16:49:10 +00:00
|
|
|
%description devel
|
2007-08-12 02:09:59 +00:00
|
|
|
%{summary}.
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2008-02-22 20:12:19 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static libraries for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
%description static
|
|
|
|
%{summary}.
|
|
|
|
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
%prep
|
2005-03-03 22:41:32 +00:00
|
|
|
%setup -q
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2005-10-06 18:18:13 +00:00
|
|
|
--enable-shared \
|
|
|
|
--enable-static
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2005-03-03 22:41:32 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2008-08-04 14:30:52 +00:00
|
|
|
rm -rf %{buildroot}
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2008-08-04 14:30:52 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2008-02-22 20:12:19 +00:00
|
|
|
%ifarch %{multilib_arches}
|
|
|
|
# hack to allow parallel installation on 32-bit and 64-bit
|
|
|
|
mv %{buildroot}%{_includedir}/sigsegv.h \
|
|
|
|
%{buildroot}%{_includedir}/sigsegv-%{_arch}.h
|
|
|
|
install -p -m644 %{SOURCE1} %{buildroot}%{_includedir}/sigsegv.h
|
|
|
|
%endif
|
|
|
|
|
2008-08-04 14:30:52 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
2005-10-06 18:18:13 +00:00
|
|
|
|
2004-12-08 16:49:10 +00:00
|
|
|
|
2008-08-04 14:30:52 +00:00
|
|
|
%check
|
2004-12-08 16:49:10 +00:00
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2005-10-06 18:18:13 +00:00
|
|
|
|
2004-12-08 16:49:10 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2008-08-04 14:30:52 +00:00
|
|
|
rm -rf %{buildroot}
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2007-08-12 02:09:59 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-12-08 16:49:10 +00:00
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
2007-08-12 02:09:59 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-12-08 16:49:10 +00:00
|
|
|
%{_libdir}/lib*.so
|
2008-02-22 20:12:19 +00:00
|
|
|
%{_includedir}/*.h
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%defattr(-,root,root,-)
|
2005-10-06 18:18:13 +00:00
|
|
|
%{_libdir}/lib*.a
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-09-29 18:30:46 +00:00
|
|
|
* Mon Sep 29 2008 Rex Dieter <rdieter@fedoraproject.org> 2.4-7
|
|
|
|
- multilib (sparc) fixes
|
|
|
|
|
2008-02-22 20:12:19 +00:00
|
|
|
* Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 2.4-6
|
|
|
|
- multiarch conflicts (#342391)
|
|
|
|
- -static subpkg
|
|
|
|
|
2008-02-19 21:24:01 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4-5
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-22 23:47:20 +00:00
|
|
|
* Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.4-4
|
|
|
|
- respin (ppc32)
|
|
|
|
|
2007-08-12 02:09:59 +00:00
|
|
|
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.4-3
|
|
|
|
- License: GPLv2+
|
|
|
|
|
2006-08-29 18:38:18 +00:00
|
|
|
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.4-2
|
|
|
|
- fc6 respin
|
|
|
|
|
2006-07-20 11:34:31 +00:00
|
|
|
* Thu Jul 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.4-1
|
|
|
|
- 2.4
|
|
|
|
|
2006-04-28 12:41:55 +00:00
|
|
|
* Fri Apr 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.3-1
|
|
|
|
- 2.3
|
|
|
|
|
2006-03-01 16:00:06 +00:00
|
|
|
* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
|
2006-02-10 13:33:04 +00:00
|
|
|
- fc5: gcc/glibc respin
|
|
|
|
|
2005-10-06 18:18:13 +00:00
|
|
|
* Thu Oct 06 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 2.2-1
|
|
|
|
- 2.2
|
|
|
|
- omit .la file(s)
|
|
|
|
- include (tiny) static lib
|
|
|
|
|
2005-05-22 23:57:28 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.1
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-06 22:12:23 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-12-08 16:49:10 +00:00
|
|
|
* Thu Jul 22 2004 Rex Dieter <rexdieter at sf.net> 0:2.1-0.fdr.2
|
|
|
|
- add URL: tag
|
2005-03-03 22:41:32 +00:00
|
|
|
- make check
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
* Mon Apr 12 2004 Rex Dieter <rexdieter at sf.net> 0:2.1-0.fdr.1
|
|
|
|
- 2.1
|
|
|
|
- cleanup macro usage
|
|
|
|
- -devel: Requires: %%name
|
|
|
|
|
|
|
|
* Thu Oct 02 2003 Rex Dieter <rexdieter at sf.net> 0:2.0-0.fdr.1
|
|
|
|
- first try.
|
|
|
|
|