libevent-vl.spec 5.0 KB

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