libevent-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Summary: Abstract asynchronous event notification library
  2. Summary(ja): 非同期イベント通知ライブラリ
  3. Name: libevent
  4. Version: 1.4.13
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://monkey.org/~provos/libevent/
  9. Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. %description
  12. The libevent API provides a mechanism to execute a callback function
  13. when a specific event occurs on a file descriptor or after a timeout
  14. has been reached. libevent is meant to replace the asynchronous event
  15. loop found in event driven network servers. An application just needs
  16. to call event_dispatch() and can then add or remove events dynamically
  17. without having to change the event loop.
  18. %package devel
  19. Summary: Header files, libraries and development documentation for %{name}
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. This package contains the header files, static libraries and development
  24. documentation for %{name}. If you like to develop programs using %{name},
  25. you will need to install %{name}-devel.
  26. %prep
  27. %setup -q -n %{name}-%{version}-stable
  28. %build
  29. %configure \
  30. --disable-static \
  31. --disable-dependency-tracking
  32. %__make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %__make DESTDIR=$RPM_BUILD_ROOT install
  36. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root,0755)
  43. %doc README
  44. %{_bindir}/*
  45. %{_libdir}/lib*.so.*
  46. %files devel
  47. %defattr(-,root,root,0755)
  48. %doc sample/*.c
  49. %{_includedir}/*
  50. %{_libdir}/lib*.so
  51. %{_mandir}/man3/*
  52. %changelog
  53. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
  54. - rebuilt with gcc-4.4.3-3 on ppc
  55. * Mon Feb 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
  56. - new upstream release
  57. - built with new toolchains
  58. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2
  59. - spec in utf-8
  60. - remove static libs
  61. * Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
  62. - new upstream release
  63. * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1
  64. - new upstream release
  65. * Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1
  66. - new upstream release
  67. * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1
  68. - initial build for Vine Linux
  69. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2
  70. - bump again for double-long bug on ppc(64)
  71. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1
  72. - rebuilt for new gcc4.1 snapshot and glibc changes
  73. * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3
  74. - rebuild (#177697)
  75. * Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2
  76. - Removed unnecessary -r from rm
  77. * Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1
  78. - Upstream update
  79. * Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2
  80. - Added some docs
  81. - Moved "make verify" into %%check
  82. * Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1
  83. - Initial build for Fedora Extras, based on the package
  84. by Dag Wieers