libevent-vl.spec 4.9 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: 1%{?_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. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,0755)
  60. %doc README
  61. %{_bindir}/*
  62. %{_libdir}/lib*.so.*
  63. %files devel
  64. %defattr(-,root,root,0755)
  65. %doc sample/*.c
  66. %{_includedir}/*
  67. %{_libdir}/lib*.so
  68. %{_libdir}/pkgconfig/%{name}*.pc
  69. %if %{build_compat32}
  70. %files -n compat32-%{name}
  71. %defattr(-,root,root,0755)
  72. %doc README
  73. %{_bindir}/*
  74. %{_libdir}/lib*.so.*
  75. %endif
  76. %changelog
  77. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-1
  78. - new upstream release.
  79. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.11-1
  80. - new upstream release.
  81. * Fri Nov 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-2
  82. - added a subpackage 'compat32-libevent'.
  83. * Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1
  84. - updated to 2.1.8.
  85. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.21-2
  86. - rebuild with openssl-1.0.2
  87. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.21-1
  88. - update to 2.0.21
  89. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.20-1
  90. - new upstream release
  91. * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2
  92. - add BuildRequires: openssl-devel
  93. * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1
  94. - new upstream release
  95. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
  96. - rebuilt with gcc-4.4.3-3 on ppc
  97. * Mon Feb 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
  98. - new upstream release
  99. - built with new toolchains
  100. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2
  101. - spec in utf-8
  102. - remove static libs
  103. * Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
  104. - new upstream release
  105. * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1
  106. - new upstream release
  107. * Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1
  108. - new upstream release
  109. * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1
  110. - initial build for Vine Linux
  111. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2
  112. - bump again for double-long bug on ppc(64)
  113. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1
  114. - rebuilt for new gcc4.1 snapshot and glibc changes
  115. * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3
  116. - rebuild (#177697)
  117. * Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2
  118. - Removed unnecessary -r from rm
  119. * Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1
  120. - Upstream update
  121. * Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2
  122. - Added some docs
  123. - Moved "make verify" into %%check
  124. * Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1
  125. - Initial build for Fedora Extras, based on the package
  126. by Dag Wieers