libevent-vl.spec 3.8 KB

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