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

Revision 9000, 3.5 KB checked in by inagaki, 10 years ago (diff)

2014-10-06 Ryoichi INAGAKI <ryo1@…>

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