libsigsegv/libsigsegv.spec

91 lines
2.1 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:58:08 -04:00
Name: libsigsegv
2020-07-24 18:28:19 +08:00
Version: 2.12
Release: 1
2019-09-30 10:58:08 -04:00
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 <sigsegv.h>.
%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
2020-07-24 18:28:19 +08:00
* Fri Jul 24 2020 linwei<linwei54@huawei.com> - 2.12-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update libsigsegv to 2.12
2019-09-30 10:58:08 -04:00
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 2.11-10
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move the directory of COPYING
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 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<shenyangyang4@huawei.com> - 2.11-8
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add help package
* Fri Aug 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.11-7
- Package init