libevent-vl.spec 3.5 KB

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