libsigsegv-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: libsigsegv
  2. Summary: Library for handling page faults in user mode
  3. Version: 2.12
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: System Environment/Libraries
  7. URL: https://www.gnu.org/software/libsigsegv/
  8. Source0: https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. %description
  13. This is a library for handling page faults in user mode. A page fault
  14. occurs when a program tries to access to a region of memory that is
  15. currently not available. Catching and handling a page fault is a useful
  16. technique for implementing:
  17. - pageable virtual memory,
  18. - memory-mapped access to persistent databases,
  19. - generational garbage collectors,
  20. - stack overflow handlers,
  21. - distributed shared memory,
  22. - ...
  23. %package devel
  24. Summary: Development libraries and headers for %{name}
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Development libraries and headers for %{name}.
  29. %prep
  30. %setup -q
  31. %build
  32. %configure --enable-shared --enable-static
  33. make
  34. %install
  35. rm -rf %{buildroot}
  36. %makeinstall
  37. ## remove unuse files
  38. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  39. %clean
  40. rm -rf %{buildroot}
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root)
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %defattr(-,root,root)
  48. %license COPYING
  49. %doc AUTHORS ChangeLog* NEWS PORTING README
  50. %{_includedir}/*.h
  51. %{_libdir}/*.so
  52. %{_libdir}/*.a
  53. #%{_libdir}/*.la
  54. %changelog
  55. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-1
  56. - new upstream release.
  57. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-1
  58. - update to 2.10
  59. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.8-2
  60. - rebuilt with rpm-4.8.1-3
  61. * Tue Feb 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1
  62. - new upstream release
  63. - built with new toolchain
  64. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-1
  65. - new upstream release
  66. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5
  67. - applied new versioning policy
  68. - removed *.la
  69. * Sun Mar 18 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1
  70. - Initial build.