libev-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %global source_dir %{_datadir}/%{name}-source
  3. %global inst_srcdir %{buildroot}/%{source_dir}
  4. Name: libev
  5. Version: 4.33
  6. Release: 1%{?_dist_release}
  7. Summary: High-performance event loop/event model with lots of features
  8. Summary(ja): 高機能・高性能のイベントループ・イベントモデル
  9. Group: system
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. License: BSD or GPLv2+
  13. URL: http://software.schmorp.de/pkg/libev.html
  14. Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: automake libtool
  17. %description
  18. Libev is modeled (very loosely) after libevent and the Event Perl
  19. module, but is faster, scales better and is more correct, and also more
  20. featureful. And also smaller.
  21. %description -l ja
  22. libev は libevent および Perl の Event を大まかに参考にして作られましたが、
  23. それらより高速に動作し、よりスケールし、より正確で、より高機能で、
  24. 同時によりコンパクトです。
  25. %package devel
  26. Summary: Development files for %{name}
  27. Summary(ja): %{name} の開発用ファイル
  28. Group: programming
  29. Requires: %{name}%{?_isa} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. Libev is modeled (very loosely) after libevent and the Event Perl
  33. module, but is faster, scales better and is more correct, and also more
  34. featureful. And also smaller. Development libraries.
  35. %description devel -l ja
  36. このパッケージには libev 用開発ライブラリとヘッダが収録されています。
  37. %package libevent-devel
  38. Summary: Compatibility development header with libevent for %{name}.
  39. Summary(ja): libevent互換の%{name}ヘッダファイル.
  40. Group: programming
  41. Requires: %{name}-devel%{?_isa} = %{version}-%{release}
  42. # The event.h file actually conflicts with the one from libevent-devel
  43. Conflicts: libevent-devel
  44. %description libevent-devel
  45. This package contains a development header to make libev compatible with
  46. libevent.
  47. %description libevent-devel -l ja
  48. このパッケージにはlibevent互換のlibev用ヘッダファイルが収録されています。
  49. %package source
  50. Summary: Source code for libev
  51. Summary(ja): libev のソースコード
  52. Group: programming
  53. BuildArch: noarch
  54. %description source
  55. This package contains the source code for libev.
  56. Libev is modeled (very loosely) after libevent and the Event Perl
  57. module, but is faster, scales better and is more correct, and also more
  58. featureful. And also smaller. Development libraries.
  59. %description source -l ja
  60. このパッケージには libev のソースコードが収録されています。
  61. %package -n compat32-%{name}
  62. Summary: High-performance event loop/event model with lots of features
  63. Summary(ja): 高機能・高性能のイベントループ・イベントモデル
  64. Group: system,legacy
  65. %description -n compat32-%{name}
  66. Libev is modeled (very loosely) after libevent and the Event Perl
  67. module, but is faster, scales better and is more correct, and also more
  68. featureful. And also smaller.
  69. %description -n compat32-%{name} -l ja
  70. libev は libevent および Perl の Event を大まかに参考にして作られましたが、
  71. それらより高速に動作し、よりスケールし、より正確で、より高機能で、
  72. 同時によりコンパクトです。
  73. %debug_package
  74. %prep
  75. %setup -q
  76. #autoreconf -vfi
  77. %build
  78. %configure --disable-static --with-pic
  79. make %{?_smp_mflags}
  80. %check
  81. make check
  82. %install
  83. rm -rf %{buildroot}
  84. make install DESTDIR=%{buildroot} INSTALL="install -p"
  85. rm -rf %{buildroot}%{_libdir}/%{name}.la
  86. # Make the source package
  87. mkdir -p %{inst_srcdir}
  88. find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
  89. install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
  90. %clean
  91. rm -rf %{buildroot}
  92. %files
  93. %license LICENSE
  94. %doc Changes README
  95. %{_libdir}/%{name}.so.4*
  96. %files devel
  97. %{_libdir}/%{name}.so
  98. %{_includedir}/ev++.h
  99. %{_includedir}/ev.h
  100. %{_mandir}/man?/*
  101. %files libevent-devel
  102. %{_includedir}/event.h
  103. %files source
  104. %{source_dir}
  105. %if %{build_compat32}
  106. %files -n compat32-%{name}
  107. %{_libdir}/%{name}.so.4*
  108. %endif
  109. %changelog
  110. * Thu Jul 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.33-1
  111. - new upstream release.
  112. - dropped ldconfig scriptlets.
  113. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.25-1
  114. - updated to 4.25.
  115. * Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.24-1
  116. - updated to 4.24.
  117. - added a sub-package 'libevent-devel'.
  118. - added a sub-package 'compat32-libev'.
  119. * Sat Nov 01 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.19-1
  120. - updated to 4.19
  121. - spec in UTF-8
  122. - moved devel and source packages to Development/Libraries Group
  123. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.04-1
  124. - initial build for Vine Linux
  125. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-2
  126. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  127. * Tue Aug 9 2011 Tom Callaway <spot@fedoraproject.org> - 4.04-1
  128. - move man page
  129. - cleanup spec
  130. - update to 4.04
  131. * Mon Jun 13 2011 Matト嬲 Cepl <mcepl@redhat.com> - 4.03-2
  132. - EL5 cannot have noarch subpackages.
  133. * Sat Feb 5 2011 Michal Nowak <mnowak@redhat.com> - 4.03-1
  134. - 4.03; RHBZ#674022
  135. - add a -source subpackage (Mathieu Bridon); RHBZ#672153
  136. * Mon Jan 10 2011 Michal Nowak <mnowak@redhat.com> - 4.01-1
  137. - 4.01
  138. - fix grammar in %%description
  139. * Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
  140. - 3.9
  141. * Mon Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
  142. - 3.8
  143. - always use the most recent automake
  144. - BuildRequires now libtool
  145. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
  146. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  147. * Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-2
  148. - spec file change, which prevented uploading most recent tarball
  149. so the RPM was "3.70" but tarball was from 3.60
  150. * Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-1
  151. - v3.7
  152. - list libev soname explicitly
  153. * Mon Jun 29 2009 Michal Nowak <mnowak@redhat.com> - 3.60-1
  154. - previous version was called "3.6" but this is broken update
  155. path wrt version "3.53" -- thus bumping to "3.60"
  156. * Thu Apr 30 2009 Michal Nowak <mnowak@redhat.com> - 3.6-1
  157. - 3.60
  158. - fixed few mixed-use-of-spaces-and-tabs warnings in spec file
  159. * Thu Mar 19 2009 Michal Nowak <mnowak@redhat.com> - 3.53-1
  160. - 3.53
  161. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.52-2
  162. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  163. * Wed Jan 07 2009 Michal Nowak <mnowak@redhat.com> - 3.52-1
  164. - 3.52
  165. * Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> - 3.51-1
  166. - 3.51
  167. * Thu Nov 20 2008 Michal Nowak <mnowak@redhat.com> - 3.49-1
  168. - version bump: 3.49
  169. * Sun Nov 9 2008 Michal Nowak <mnowak@redhat.com> - 3.48-1
  170. - version bump: 3.48
  171. * Mon Oct 6 2008 kwizart <kwizart at gmail.com> - 3.44-1
  172. - bump to 3.44
  173. * Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
  174. - Fix pkgconfig support
  175. * Tue Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
  176. - removed libev.a
  177. - installing with "-p"
  178. - event.h is removed intentionaly, because is there only for
  179. backward compatibility with libevent
  180. * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 3.43-1
  181. - initial package