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

Revision 11959, 7.3 KB checked in by tomop, 6 years ago (diff)

samba-4.9.3-1 and requirements

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: libtdb
4Summary: The tdb library
5Summary(ja): TDB ライブラリ
6Version: 1.3.16
7Release: 1%{?_dist_release}
8
9Group: System Environment/Libraries
10License: LGPLv3+
11URL: http://tdb.samba.org/
12Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
13
14BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
15BuildRequires: autoconf
16BuildRequires: libxslt
17BuildRequires: docbook-style-xsl
18BuildRequires: python-devel python-rpm-macros
19BuildRequires: python3-devel python3-rpm-macros
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: tomop
24
25%description
26A library that implements a trivial database.
27
28%package devel
29Summary: Header files need to link the Tdb library
30Group: Development/Libraries
31Requires: libtdb = %{version}-%{release}
32Requires: pkgconfig
33
34%description devel
35Header files needed to develop programs that link against the Tdb library.
36
37%package -n tdb-tools
38Summary: Tools to manipulate tdb files
39Summary(ja): TDB ファイルを処理するためのツール集
40Group: Applications/System
41Requires: libtdb = %{version}-%{release}
42
43%description -n tdb-tools
44Tools to manage Tdb files
45
46%package -n python-tdb
47Summary: Python bindings for the Tdb library
48Summary(ja): TDB ライブラリの python バインディング
49Group: System Environment/Libraries
50Requires: libtdb = %{version}-%{release}
51
52%description -n python-tdb
53Python bindings for libtdb
54
55%package -n python3-tdb
56Summary: Python3 bindings for the Tdb library
57Requires: libtdb = %{version}-%{release}
58%{?python_provide:%python_provide python3-tdb}
59
60%description -n python3-tdb
61Python3 bindings for libtdb
62
63%if %{build_compat32}
64
65%package -n compat32-libtdb
66Summary: The TDB library
67Summary(ja): TDB ライブラリ
68Group: System Environment/Libraries
69Requires: libtdb = %{version}-%{release}
70
71%description -n compat32-libtdb
72A library that implements a trivial database.
73
74%endif
75
76%prep
77%setup -q -n tdb-%{version}
78
79%build
80#./autogen.sh
81%configure --disable-rpath \
82        --bundled-libraries=NONE \
83        --builtin-libraries=replace \
84        --extra-python=%{__python3}
85
86make %{?_smp_mflags} V=1
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
91make install DESTDIR=$RPM_BUILD_ROOT
92
93# Shared libraries need to be marked executable for
94# rpmbuild to strip them and include them in debuginfo
95find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
96
97rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
98
99%clean
100rm -rf $RPM_BUILD_ROOT
101
102%files
103%defattr(-,root,root,-)
104%{_libdir}/libtdb.so.*
105
106%files devel
107%defattr(-,root,root)
108%{_includedir}/tdb.h
109%{_libdir}/libtdb.so
110%{_libdir}/pkgconfig/tdb.pc
111
112%files -n tdb-tools
113%defattr(-,root,root,-)
114%{_bindir}/tdbbackup
115%{_bindir}/tdbdump
116%{_bindir}/tdbtool
117%{_bindir}/tdbrestore
118%{_mandir}/man8/tdbbackup.8*
119%{_mandir}/man8/tdbdump.8*
120%{_mandir}/man8/tdbtool.8*
121%{_mandir}/man8/tdbrestore.8*
122
123%files -n python-tdb
124%defattr(-,root,root,-)
125%{python_sitearch}/*
126
127%files -n python3-tdb
128%{python3_sitearch}/*
129
130%if %{build_compat32}
131
132%files -n compat32-libtdb
133%attr(755,root,root) %{_libdir}/libtdb.so.*
134
135%endif
136
137%post -p /sbin/ldconfig
138
139%postun -p /sbin/ldconfig
140
141%post -n python-tdb -p /sbin/ldconfig
142
143%postun -n python-tdb -p /sbin/ldconfig
144
145%post -n python3-tdb -p /sbin/ldconfig
146
147%postun -n python3-tdb -p /sbin/ldconfig
148
149%if %build_compat32
150
151%post -n compat32-libtdb -p /sbin/ldconfig
152%postun -n compat32-libtdb -p /sbin/ldconfig
153
154%endif
155
156%changelog
157* Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.16-1
158- new upstream release.
159
160* Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.15-1
161- new upstream release.
162- dropped Patch1.
163- enabled python3 modules.
164
165* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.14-1
166- new upstream release.
167
168* Mon May  1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.13-1
169- new upstream release.
170
171* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.12-1
172- new upstream release.
173
174* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-1
175- new upstream release.
176
177* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.8-1
178- new upstream release.
179
180* Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1
181- new upstream release.
182
183* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1
184- new upstream release.
185
186* Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-1
187- new upstream release.
188
189* Wed Dec  3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1
190- new upstream release.
191
192* Sat Oct  4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.0-2
193- moved python-tdb to System Environment/Libraries Group
194- moved tdb-tool to Applications/System Group
195
196* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
197- new upstream release.
198
199* Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-2
200- rebuilt with current environment.
201
202* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1
203- new upstream release.
204
205* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.11-1
206- new upstream release.
207
208* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.10-1
209- new upstream release.
210- updated Patch0001.
211
212* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.9-11
213- rebuild with python-2.7.2
214
215* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.9-10
216- initial build for Vine Linux.
217
218* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-9
219- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
220
221* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-8
222- Actually fix the verbosity
223
224* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-7
225- Let rpmbuild strip binaries, make build more verbose.
226- Original patch by Ville Skyttä <ville.skytta@iki.fi>
227
228* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-6
229- Install python bindings into the correct location
230
231* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-5
232- Run ldconfig on python-tdb
233
234* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-4
235- Do not delete a necessary file during %%install
236
237* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-3
238- Bump release to rebuild with the correct sources in place
239
240* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-2
241- Bump build to rebuild with sources in place
242
243* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-1
244- New upstream bugfix release
245- Adds a new tdbrestore utility
246- Convert to new WAF build-system
247- Add python bindings in new python-tdb subpackage
248
249* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-3
250- add missing build require
251
252* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-2
253- Fix spec file
254- Package manpages too
255
256* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-1
257- New upstream bugfix release
258
259* Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 1.2.0-1
260- New upstream release
261
262* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
263- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
264
265* Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-1
266- Original tarballs had a screw-up, rebuild with new fixed tarballs from
267  upstream.
268
269* Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-0
270- New upstream release
271
272* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
273- First public independent release from upstream
Note: See TracBrowser for help on using the repository browser.