[7254] | 1 | Name: libtevent |
---|
[9000] | 2 | Summary: The tevent library |
---|
| 3 | Summary(ja): Tevent ライブラリ |
---|
[9411] | 4 | Version: 0.9.24 |
---|
[9136] | 5 | Release: 1%{?_dist_release} |
---|
[9000] | 6 | Group: System Environment/Libraries |
---|
[7254] | 7 | License: LGPLv3+ |
---|
| 8 | URL: http://tevent.samba.org/ |
---|
| 9 | Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz |
---|
| 10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
---|
| 11 | |
---|
| 12 | Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch |
---|
| 13 | |
---|
| 14 | BuildRequires: libtalloc-devel >= 2.0.0 |
---|
| 15 | BuildRequires: python-devel |
---|
| 16 | BuildRequires: pytalloc-devel |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: tomop |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Tevent is an event system based on the talloc memory management library. |
---|
| 24 | Tevent has support for many event types, including timers, signals, and |
---|
| 25 | the classic file descriptor events. |
---|
| 26 | Tevent also provide helpers to deal with asynchronous code providing the |
---|
| 27 | tevent_req (Tevent Request) functions. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
[9000] | 30 | Summary: Developer tools for the Tevent library |
---|
| 31 | Summary(ja): Tevent ライブラリの開発用ファイル |
---|
[7254] | 32 | Group: Development/Libraries |
---|
| 33 | Requires: libtevent = %{version}-%{release} |
---|
| 34 | Requires: libtalloc-devel >= 2.0.0 |
---|
| 35 | Requires: pkgconfig |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | Header files needed to develop programs that link against the Tevent library. |
---|
| 39 | |
---|
| 40 | %package -n python-tevent |
---|
| 41 | Summary: Python bindings for the Tevent library |
---|
[9000] | 42 | Summary(ja): Tevent ライブラリの python バインディング |
---|
| 43 | Group: System Environment/Libraries |
---|
[7254] | 44 | Requires: libtevent = %{version}-%{release} |
---|
| 45 | Requires: pytalloc >= 2.0.0 |
---|
| 46 | Requires: pkgconfig |
---|
| 47 | |
---|
| 48 | %description -n python-tevent |
---|
| 49 | Python bindings for libtevent |
---|
| 50 | |
---|
| 51 | %prep |
---|
| 52 | %setup -q -n tevent-%{version} |
---|
| 53 | |
---|
| 54 | %patch1 -p1 -b .abi_checks |
---|
| 55 | |
---|
| 56 | %build |
---|
| 57 | %configure |
---|
| 58 | make %{?_smp_mflags} |
---|
| 59 | |
---|
| 60 | %check |
---|
| 61 | make %{?_smp_mflags} check |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | #ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so.0 |
---|
| 69 | #ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so |
---|
| 70 | |
---|
| 71 | rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | %files |
---|
| 77 | %defattr(-,root,root,-) |
---|
| 78 | %{_libdir}/libtevent.so.* |
---|
| 79 | |
---|
| 80 | %files devel |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %{_includedir}/tevent.h |
---|
| 83 | %{_libdir}/libtevent.so |
---|
| 84 | %{_libdir}/pkgconfig/tevent.pc |
---|
| 85 | |
---|
| 86 | %files -n python-tevent |
---|
| 87 | %{python_sitearch}/_tevent.so |
---|
| 88 | %{python_sitearch}/tevent.py |
---|
| 89 | |
---|
| 90 | %post -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | %postun -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | %changelog |
---|
[9411] | 95 | * Fri Mar 6 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.24-1 |
---|
| 96 | - new upstream release. |
---|
| 97 | |
---|
[9136] | 98 | * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.22-1 |
---|
| 99 | - new upstream release. |
---|
| 100 | |
---|
[9000] | 101 | * Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.21-2 |
---|
| 102 | - moved libtevent to System Environment/Libraries Group |
---|
| 103 | |
---|
[8910] | 104 | * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.21-1 |
---|
| 105 | - new upstream release. |
---|
| 106 | |
---|
[8130] | 107 | * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.20-1 |
---|
| 108 | - new upstream release. |
---|
| 109 | |
---|
[7885] | 110 | * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.19-1 |
---|
| 111 | - new upstream release. |
---|
| 112 | |
---|
[7254] | 113 | * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.17-1 |
---|
| 114 | - new upstream release. |
---|
| 115 | - initial build for Vine Linux. |
---|
| 116 | |
---|
| 117 | * Fri May 21 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-8 |
---|
| 118 | - Run make check during RPM build |
---|
| 119 | - Fix abi_check patch to guarantee script executability |
---|
| 120 | |
---|
| 121 | * Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7.1 |
---|
| 122 | - Remove all references to ABI compatibility patch |
---|
| 123 | |
---|
| 124 | * Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7 |
---|
| 125 | - Drop ABI compatibility patch (no longer needed) |
---|
| 126 | |
---|
| 127 | * Wed Sep 23 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-5 |
---|
| 128 | - Add patch to fix a segfault case |
---|
| 129 | |
---|
| 130 | * Wed Sep 16 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-2 |
---|
| 131 | - Fix abi compatibility with 0.9.3 |
---|
| 132 | |
---|
[7885] | 133 | * Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1 |
---|
[7254] | 134 | - First independent release for tevent 0.9.8 |
---|