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

Revision 11959, 5.8 KB checked in by tomop, 5 years ago (diff)

samba-4.9.3-1 and requirements

RevLine 
[9517]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[7254]3Name: libtevent
[9000]4Summary: The tevent library
5Summary(ja): Tevent ライブラリ
[11959]6Version: 0.9.37
[9599]7Release: 1%{?_dist_release}
[9000]8Group: System Environment/Libraries
[7254]9License: LGPLv3+
10URL: http://tevent.samba.org/
11Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
12BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
13
14Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch
15
16BuildRequires: libtalloc-devel >= 2.0.0
[11584]17BuildRequires: python-devel python-rpm-macros
18BuildRequires: python3-devel python3-rpm-macros
19BuildRequires: python-talloc-devel
20BuildRequires: python3-talloc-devel
[7254]21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: tomop
25
26%description
27Tevent is an event system based on the talloc memory management library.
28Tevent has support for many event types, including timers, signals, and
29the classic file descriptor events.
30Tevent also provide helpers to deal with asynchronous code providing the
31tevent_req (Tevent Request) functions.
32
33%package devel
[9000]34Summary: Developer tools for the Tevent library
35Summary(ja): Tevent ライブラリの開発用ファイル
[7254]36Group: Development/Libraries
37Requires: libtevent = %{version}-%{release}
38Requires: libtalloc-devel >= 2.0.0
39Requires: pkgconfig
40
41%description devel
42Header files needed to develop programs that link against the Tevent library.
43
44%package -n python-tevent
45Summary: Python bindings for the Tevent library
[9000]46Summary(ja): Tevent ライブラリの python バインディング
47Group: System Environment/Libraries
[7254]48Requires: libtevent = %{version}-%{release}
[11584]49Requires: python-talloc >= 2.0.0
[7254]50Requires: pkgconfig
51
52%description -n python-tevent
53Python bindings for libtevent
54
[11584]55%package -n python3-tevent
56Summary: Python3 bindings for the Tevent library
57Summary(ja): Tevent ライブラリの python3 バインディング
58Group: System Environment/Libraries
59Requires: libtevent = %{version}-%{release}
60Requires: python3-talloc >= 2.0.0
61Requires: pkgconfig
[9517]62
[11584]63%description -n python3-tevent
64Python3 bindings for libtevent
65
66%if %{build_compat32}
67
[9517]68%package -n compat32-%{name}
69Summary: The tevent library
70Summary(ja): Tevent ライブラリ
71Group: System Environment/Libraries
72
73%description -n compat32-%{name}
74Tevent is an event system based on the talloc memory management library.
75Tevent has support for many event types, including timers, signals, and
76the classic file descriptor events.
77Tevent also provide helpers to deal with asynchronous code providing the
78tevent_req (Tevent Request) functions.
79
80%endif
81
[7254]82%prep
83%setup -q -n tevent-%{version}
84
85%build
86%configure
[11584]87%configure --disable-rpath \
88        --bundled-libraries=NONE \
89        --builtin-libraries=replace \
90        --extra-python=%{__python3}
[7254]91
[11584]92make %{?_smp_mflags} V=1
93
[7254]94%check
95make %{?_smp_mflags} check
96
97%install
98rm -rf $RPM_BUILD_ROOT
99
100make install DESTDIR=$RPM_BUILD_ROOT
101
102#ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so.0
103#ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so
104
105rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
106
107%clean
108rm -rf $RPM_BUILD_ROOT
109
110%files
111%defattr(-,root,root,-)
112%{_libdir}/libtevent.so.*
113
114%files devel
115%defattr(-,root,root,-)
116%{_includedir}/tevent.h
117%{_libdir}/libtevent.so
118%{_libdir}/pkgconfig/tevent.pc
119
120%files -n python-tevent
121%{python_sitearch}/_tevent.so
122%{python_sitearch}/tevent.py
123
[11584]124%files -n python3-tevent
125%{python3_sitearch}/tevent.py
126%{python3_sitearch}/_tevent.cpython*.so
[7254]127
[11584]128%if %{build_compat32}
129
[9517]130%files -n compat32-%{name}
131%defattr(-,root,root,-)
132%{_libdir}/libtevent.so.*
[7254]133
[9517]134%endif
135
136%post
137/sbin/ldconfig
138
139%postun
140/sbin/ldconfig
141
142%if %build_compat32
143
144%post -n compat32-%{name}
145/sbin/ldconfig
146
147%postun -n compat32-%{name}
148/sbin/ldconfig
149
150%endif
151
[7254]152%changelog
[11959]153* Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.37-1
154- new upstream release.
155
[11584]156* Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.36-1
157- new upstream release.
158- dropped Patch1.
159- enabled python3 modules.
160
[11158]161* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.32-1
162- new upstream release.
163
[10840]164* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.31-1
165- new upstream release.
166
[10042]167* Wed Feb 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.28-1
168- new upstream release.
169
[9847]170* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.26-1
171- new upstream release.
172
[9599]173* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.25-1
174- new upstream release.
175
176* Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.24-2
[9517]177- added compat32 package.
178
[9599]179* Fri Mar  6 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.24-1
[9411]180- new upstream release.
181
[9599]182* Wed Dec  3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.22-1
[9136]183- new upstream release.
184
[9000]185* Mon Oct  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.21-2
186- moved libtevent to System Environment/Libraries Group
187
[8910]188* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.21-1
189- new upstream release.
190
[8130]191* Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.20-1
192- new upstream release.
193
[7885]194* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.19-1
195- new upstream release.
196
[7254]197* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.17-1
198- new upstream release.
199- initial build for Vine Linux.
200
201* Fri May 21 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-8
202- Run make check during RPM build
203- Fix abi_check patch to guarantee script executability
204
205* Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7.1
206- Remove all references to ABI compatibility patch
207
208* Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7
209- Drop ABI compatibility patch (no longer needed)
210
211* Wed Sep 23 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-5
212- Add patch to fix a segfault case
213
214* Wed Sep 16 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-2
215- Fix abi compatibility with 0.9.3
216
[7885]217* Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
[7254]218- First independent release for tevent 0.9.8
Note: See TracBrowser for help on using the repository browser.