From 5f5fe5591efa07b9606f83d98dc0ddf00b13921d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 08:00:47 -0400 Subject: [PATCH] import libsigsegv-2.11-5.el8 --- .gitignore | 1 + .libsigsegv.metadata | 1 + SPECS/libsigsegv.spec | 223 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 225 insertions(+) create mode 100644 .gitignore create mode 100644 .libsigsegv.metadata create mode 100644 SPECS/libsigsegv.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d68a17a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libsigsegv-2.11.tar.gz diff --git a/.libsigsegv.metadata b/.libsigsegv.metadata new file mode 100644 index 0000000..877176a --- /dev/null +++ b/.libsigsegv.metadata @@ -0,0 +1 @@ +186dea8ae788395476bd7cbaf38c17ebe82e1777 SOURCES/libsigsegv-2.11.tar.gz diff --git a/SPECS/libsigsegv.spec b/SPECS/libsigsegv.spec new file mode 100644 index 0000000..7995383 --- /dev/null +++ b/SPECS/libsigsegv.spec @@ -0,0 +1,223 @@ + +Summary: Library for handling page faults in user mode +Name: libsigsegv +Version: 2.11 +Release: 5%{?dist} + +License: GPLv2+ +URL: https://www.gnu.org/software/libsigsegv/ +Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz + +BuildRequires: automake libtool + +%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 +Summary: Development libraries and header files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%package static +Summary: Static libraries for %{name} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +%description static +%{summary}. + + +%prep +%setup -q + + +%build +%configure \ + --enable-shared \ + --disable-silent-rules \ + --enable-static + +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} + +## FIXME/TODO: review if this is needed anymore, particularly after usrmove +%if 0%{?fedora} > 11 +# move shlib to %{_lib} +pushd %{buildroot}%{_libdir} +mkdir ../../%{_lib} +mv libsigsegv.so.2* ../../%{_lib}/ +ln -sf ../../%{_lib}/libsigsegv.so.2 %{buildroot}%{_libdir}/libsigsegv.so +popd +%endif + +## unpackaged files +rm -fv %{buildroot}%{_libdir}/lib*.la + + +%check +make check + + +%ldconfig_scriptlets + +%files +%doc AUTHORS NEWS README +%license COPYING +%if 0%{?fedora} > 11 +/%{_lib}/libsigsegv.so.2* +%else +%{_libdir}/libsigsegv.so.2* +%endif + +%files devel +%{_libdir}/libsigsegv.so +%{_includedir}/sigsegv.h + +%files static +%{_libdir}/libsigsegv.a + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 2.11-4 +- Switch to %%ldconfig_scriptlets + +* Thu Aug 03 2017 Fedora Release Engineering - 2.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Feb 21 2017 Rex Dieter - 2.11-1 +- libsigsegv-2.11 (#1425639) + +* Fri Feb 10 2017 Fedora Release Engineering - 2.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Rex Dieter - 2.10-11 +- .spec cleanup, update URL, use %%license (#1418517) + +* Thu Feb 04 2016 Fedora Release Engineering - 2.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.10-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.10-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Apr 05 2012 Rex Dieter 2.10-3 +- drop multilib hacks altogether (haven't been used since 2.9-2) + +* Fri Jan 13 2012 Fedora Release Engineering - 2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Rex Dieter 2.10-1 +- libsigsegv-2.10 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Nov 28 2010 Rex Dieter - 2.9-3 +- drop multilib hacks (no longer needed) + +* Sun Nov 28 2010 Rex Dieter - 2.9-2 +- multilib wrapper header not installed on i686 (#657941) + +* Sat Nov 27 2010 Rex Dieter - 2.9-1 +- libsigsegv-2.9 (#593618) + +* Tue Sep 22 2009 Rex Dieter - 2.6-6 +- respin mystack patch + +* Tue Sep 22 2009 Rex Dieter - 2.6-5 +- libsigsegv allocates alternate stack on the main stack (#524795) + +* Sat Jul 25 2009 Fedora Release Engineering - 2.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 16 2009 Rex Dieter - 2.6-3 +- move libsigsegv.so.* to /lib (#512219, F-12+) +- %%doc: -ChangeLog, +COPYING + +* Wed Feb 25 2009 Fedora Release Engineering - 2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 18 2009 Rex Dieter 2.6-1 +- libsigsegv-2.6 (#486090) + +* Mon Sep 29 2008 Rex Dieter 2.4-7 +- multilib (sparc) fixes + +* Fri Feb 22 2008 Rex Dieter 2.4-6 +- multiarch conflicts (#342391) +- -static subpkg + +* Tue Feb 19 2008 Fedora Release Engineering - 2.4-5 +- Autorebuild for GCC 4.3 + +* Wed Aug 22 2007 Rex Dieter 2.4-4 +- respin (ppc32) + +* Sat Aug 11 2007 Rex Dieter 2.4-3 +- License: GPLv2+ + +* Tue Aug 29 2006 Rex Dieter 2.4-2 +- fc6 respin + +* Thu Jul 20 2006 Rex Dieter 2.4-1 +- 2.4 + +* Fri Apr 28 2006 Rex Dieter 2.3-1 +- 2.3 + +* Wed Mar 1 2006 Rex Dieter +- fc5: gcc/glibc respin + +* Thu Oct 06 2005 Rex Dieter - 2.2-1 +- 2.2 +- omit .la file(s) +- include (tiny) static lib + +* Sun May 22 2005 Jeremy Katz - 2.1 +- rebuild on all arches + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Thu Jul 22 2004 Rex Dieter 0:2.1-0.fdr.2 +- add URL: tag +- make check + +* Mon Apr 12 2004 Rex Dieter 0:2.1-0.fdr.1 +- 2.1 +- cleanup macro usage +- -devel: Requires: %%name + +* Thu Oct 02 2003 Rex Dieter 0:2.0-0.fdr.1 +- first try. +