source: projects/specs/trunk/lib/libt/libtevent/libtevent-vl.spec @ 8130

Revision 8130, 3.1 KB checked in by tomop, 10 years ago (diff)

update samba-libraries

Line 
1Name: libtevent
2Version: 0.9.20
3Release: 1%{?_dist_release}
4Group: System Environment/Daemons
5Summary: The tevent library
6License: LGPLv3+
7URL: http://tevent.samba.org/
8Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
9BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
10
11Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch
12
13BuildRequires: libtalloc-devel >= 2.0.0
14BuildRequires: python-devel
15BuildRequires: pytalloc-devel
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: tomop
20
21%description
22Tevent is an event system based on the talloc memory management library.
23Tevent has support for many event types, including timers, signals, and
24the classic file descriptor events.
25Tevent also provide helpers to deal with asynchronous code providing the
26tevent_req (Tevent Request) functions.
27
28%package devel
29Group: Development/Libraries
30Summary: Developer tools for the Tevent library
31Requires: libtevent = %{version}-%{release}
32Requires: libtalloc-devel >= 2.0.0
33Requires: pkgconfig
34
35%description devel
36Header files needed to develop programs that link against the Tevent library.
37
38%package -n python-tevent
39Group: Development/Libraries
40Summary: Python bindings for the Tevent library
41Requires: libtevent = %{version}-%{release}
42Requires: pytalloc >= 2.0.0
43Requires: pkgconfig
44
45%description -n python-tevent
46Python bindings for libtevent
47
48%prep
49%setup -q -n tevent-%{version}
50
51%patch1 -p1 -b .abi_checks
52
53%build
54%configure
55make %{?_smp_mflags}
56
57%check
58make %{?_smp_mflags} check
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63make 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
68rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
69
70%clean
71rm -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
Note: See TracBrowser for help on using the repository browser.