|
@@ -1,8 +1,10 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
%global source_dir %{_datadir}/%{name}-source
|
|
%global source_dir %{_datadir}/%{name}-source
|
|
%global inst_srcdir %{buildroot}/%{source_dir}
|
|
%global inst_srcdir %{buildroot}/%{source_dir}
|
|
|
|
|
|
Name: libev
|
|
Name: libev
|
|
-Version: 4.19
|
|
+Version: 4.24
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: High-performance event loop/event model with lots of features
|
|
Summary: High-performance event loop/event model with lots of features
|
|
Summary(ja): 高機能・高性能のイベントループ・イベントモデル
|
|
Summary(ja): 高機能・高性能のイベントループ・イベントモデル
|
|
@@ -10,7 +12,9 @@ Group: System Environment/Libraries
|
|
License: BSD or GPLv2+
|
|
License: BSD or GPLv2+
|
|
URL: http://software.schmorp.de/pkg/libev.html
|
|
URL: http://software.schmorp.de/pkg/libev.html
|
|
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
|
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
|
-Source1: %{name}.pc.in
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: automake libtool
|
|
BuildRequires: automake libtool
|
|
@@ -42,6 +46,22 @@ featureful. And also smaller. Development libraries.
|
|
このパッケージには libev 用開発ライブラリとヘッダが収録されています。
|
|
このパッケージには libev 用開発ライブラリとヘッダが収録されています。
|
|
|
|
|
|
|
|
|
|
|
|
+%package libevent-devel
|
|
|
|
+Summary: Compatibility development header with libevent for %{name}.
|
|
|
|
+Summary(ja): libevent互換の%{name}ヘッダファイル.
|
|
|
|
+Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+# The event.h file actually conflicts with the one from libevent-devel
|
|
|
|
+Conflicts: libevent-devel
|
|
|
|
+
|
|
|
|
+%description libevent-devel
|
|
|
|
+This package contains a development header to make libev compatible with
|
|
|
|
+libevent.
|
|
|
|
+
|
|
|
|
+%description libevent-devel -l ja
|
|
|
|
+このパッケージにはlibevent互換のlibev用ヘッダファイルが収録されています。
|
|
|
|
+
|
|
|
|
+
|
|
%package source
|
|
%package source
|
|
Summary: Source code for libev
|
|
Summary: Source code for libev
|
|
Summary(ja): libev のソースコード
|
|
Summary(ja): libev のソースコード
|
|
@@ -59,19 +79,30 @@ featureful. And also smaller. Development libraries.
|
|
このパッケージには libev のソースコードが収録されています。
|
|
このパッケージには libev のソースコードが収録されています。
|
|
|
|
|
|
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
|
+Summary: High-performance event loop/event model with lots of features
|
|
|
|
+Summary(ja): 高機能・高性能のイベントループ・イベントモデル
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}
|
|
|
|
+Libev is modeled (very loosely) after libevent and the Event Perl
|
|
|
|
+module, but is faster, scales better and is more correct, and also more
|
|
|
|
+featureful. And also smaller.
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name} -l ja
|
|
|
|
+libev は libevent および Perl の Event を大まかに参考にして作られましたが、
|
|
|
|
+それらより高速に動作し、よりスケールし、より正確で、より高機能で、
|
|
|
|
+同時によりコンパクトです。
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-# Add pkgconfig support
|
|
+autoreconf -vfi
|
|
-cp -p %{SOURCE1} .
|
|
|
|
-sed -i.pkgconfig -e 's|Makefile|Makefile libev.pc|' configure.ac configure
|
|
|
|
-sed -i.pkgconfig -e 's|lib_LTLIBRARIES|pkgconfigdir = $(libdir)/pkgconfig\n\npkgconfig_DATA = libev.pc\n\nlib_LTLIBRARIES|' Makefile.am Makefile.in
|
|
|
|
-aclocal
|
|
|
|
-automake
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
|
+%configure --disable-static --with-pic
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
@@ -102,22 +133,31 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%doc Changes LICENSE README
|
|
-%{_libdir}/%{name}.so.4
|
|
+%{_libdir}/%{name}.so.4*
|
|
-%{_libdir}/%{name}.so.4.0.0
|
|
|
|
-
|
|
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/%{name}.so
|
|
-%{_includedir}/libev/
|
|
+%{_includedir}/ev++.h
|
|
-%{_libdir}/pkgconfig/%{name}.pc
|
|
+%{_includedir}/ev.h
|
|
%{_mandir}/man?/*
|
|
%{_mandir}/man?/*
|
|
|
|
|
|
|
|
+%files libevent-devel
|
|
|
|
+%{_includedir}/event.h
|
|
|
|
|
|
%files source
|
|
%files source
|
|
%{source_dir}
|
|
%{source_dir}
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}
|
|
|
|
+%{_libdir}/%{name}.so.4*
|
|
|
|
+%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.24-1
|
|
|
|
+- updated to 4.24.
|
|
|
|
+- added a sub-package 'libevent-devel'.
|
|
|
|
+- added a sub-package 'compat32-libev'.
|
|
|
|
+
|
|
* Sat Nov 01 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.19-1
|
|
* Sat Nov 01 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.19-1
|
|
- updated to 4.19
|
|
- updated to 4.19
|
|
- spec in UTF-8
|
|
- spec in UTF-8
|
|
@@ -148,7 +188,7 @@ rm -rf %{buildroot}
|
|
* Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
|
|
* Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
|
|
- 3.9
|
|
- 3.9
|
|
|
|
|
|
-* Fri Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
|
|
+* Mon Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
|
|
- 3.8
|
|
- 3.8
|
|
- always use the most recent automake
|
|
- always use the most recent automake
|
|
- BuildRequires now libtool
|
|
- BuildRequires now libtool
|
|
@@ -196,7 +236,7 @@ rm -rf %{buildroot}
|
|
* Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
|
|
* Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
|
|
- Fix pkgconfig support
|
|
- Fix pkgconfig support
|
|
|
|
|
|
-* Mon Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
|
|
+* Tue Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
|
|
- removed libev.a
|
|
- removed libev.a
|
|
- installing with "-p"
|
|
- installing with "-p"
|
|
- event.h is removed intentionaly, because is there only for
|
|
- event.h is removed intentionaly, because is there only for
|