libsigsegv-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: libsigsegv
  2. Summary: Library for handling page faults in user mode
  3. Version: 2.13
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv2
  9. URL: https://www.gnu.org/software/libsigsegv/
  10. Source0: https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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: programming
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Development libraries and headers for %{name}.
  29. %debug_package
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --enable-shared --enable-static
  34. make
  35. %install
  36. rm -rf %{buildroot}
  37. %makeinstall
  38. ## remove unuse files
  39. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  40. %clean
  41. rm -rf %{buildroot}
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root)
  46. %license COPYING
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %defattr(-,root,root)
  50. %license COPYING
  51. %doc AUTHORS ChangeLog* NEWS PORTING README
  52. %{_includedir}/*.h
  53. %{_libdir}/*.so
  54. %{_libdir}/*.a
  55. #%{_libdir}/*.la
  56. %changelog
  57. * Fri Feb 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-1
  58. - new upstream release.
  59. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-1
  60. - new upstream release.
  61. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-1
  62. - update to 2.10
  63. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.8-2
  64. - rebuilt with rpm-4.8.1-3
  65. * Tue Feb 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1
  66. - new upstream release
  67. - built with new toolchain
  68. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-1
  69. - new upstream release
  70. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5
  71. - applied new versioning policy
  72. - removed *.la
  73. * Sun Mar 18 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1
  74. - Initial build.