commit 5abb9352b531ac2b6199c682f20d740aef8e134e Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:58:08 2019 -0400 Package init diff --git a/libsigsegv-2.11.tar.gz b/libsigsegv-2.11.tar.gz new file mode 100644 index 0000000..33a9076 Binary files /dev/null and b/libsigsegv-2.11.tar.gz differ diff --git a/libsigsegv.spec b/libsigsegv.spec new file mode 100644 index 0000000..88c554e --- /dev/null +++ b/libsigsegv.spec @@ -0,0 +1,84 @@ +Name: libsigsegv +Version: 2.11 +Release: 10 +Summary: library for handling page faults in user mode +License: GPLv2+ +URL: https://www.gnu.org/software/libsigsegv/ +Source0: https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz + +BuildRequires: libtool automake + +%description +Libsigsegv 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, + * ... +This library supports three sets of functions, all defined in . + +%package devel +Summary: Development libraries for libsigsegv +Requires: %{name} = %{version}-%{release} + +Provides: %{name}-static +Obsoletes: %{name}-static + +%description devel +This package is the development libraries and header files for libsigsegv. + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --enable-static --enable-shared --disable-silent-rules +%make_build + +%install +%make_install + +rm -f $RPM_BUILD_ROOT%{_libdir}/libsigsegv.la + +%check +make check + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%doc README AUTHORS NEWS +%license COPYING +%doc ChangeLog ChangeLog.1 +%{_libdir}/libsigsegv.so.2* + +%files devel +%defattr(-,root,root) +%{_includedir}/sigsegv.h +%{_libdir}/libsigsegv.so +%{_libdir}/libsigsegv.a + + +%changelog +* Fri Sep 27 2019 shenyangyang - 2.11-10 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:move the directory of COPYING + +* Thu Sep 26 2019 shenyangyang - 2.11-9 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:change the diretory of .so.2* and delete help package + +* Sat Aug 31 2019 shenyangyang - 2.11-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add help package + +* Fri Aug 09 2019 openEuler Buildteam - 2.11-7 +- Package init