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