2005-03-03 22:41:32 +00:00
|
|
|
# $Id: libsigsegv.spec,v 1.3 2005/03/03 22:41:32 thias Exp $
|
2004-12-08 16:49:10 +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
|
|
|
|
Version: 2.1
|
2004-12-10 22:03:06 +00:00
|
|
|
Release: 2%{?dist_tag}
|
2005-03-03 22:41:32 +00:00
|
|
|
License: GPL
|
|
|
|
URL: http://libsigsegv.sourceforge.net/
|
2004-12-08 16:49:10 +00:00
|
|
|
Source: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.1.tar.gz
|
2005-03-03 22:41:32 +00:00
|
|
|
Group: System Environment/Libraries
|
2004-12-08 16:49:10 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
|
|
%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:
|
|
|
|
- pageable virtual memory,
|
|
|
|
- memory-mapped access to persistent databases,
|
|
|
|
- generational garbage collectors,
|
|
|
|
- stack overflow handlers,
|
|
|
|
- distributed shared memory,
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
2005-03-03 22:41:32 +00:00
|
|
|
Summary: Development libraries and header files for libsigsegv
|
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
|
|
|
|
Libraries and header files for %{name} development.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2005-03-03 22:41:32 +00:00
|
|
|
%setup -q
|
2004-12-08 16:49:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2005-03-03 22:41:32 +00:00
|
|
|
--enable-shared
|
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
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%check || :
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*.*a
|
|
|
|
%{_includedir}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* 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.
|
|
|
|
|