libsigsegv-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Name: libsigsegv
  2. Summary: Library for handling page faults in user mode
  3. Version: 2.10
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: System Environment/Libraries
  7. URL: http://libsigsegv.sourceforge.net/
  8. Source0: ftp://ftp.gnu.org/pub/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. %doc AUTHORS COPYING ChangeLog* NEWS PORTING README
  49. %{_includedir}/*.h
  50. %{_libdir}/*.so
  51. %{_libdir}/*.a
  52. #%{_libdir}/*.la
  53. %changelog
  54. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-1
  55. - update to 2.10
  56. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.8-2
  57. - rebuilt with rpm-4.8.1-3
  58. * Tue Feb 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1
  59. - new upstream release
  60. - built with new toolchain
  61. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-1
  62. - new upstream release
  63. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5
  64. - applied new versioning policy
  65. - removed *.la
  66. * Sun Mar 18 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1
  67. - Initial build.