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

Revision 11582, 7.1 KB checked in by tomop, 6 years ago (diff)

libtdb-1.3.15-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: libtdb
4Summary: The tdb library
5Summary(ja): TDB ライブラリ
6Version: 1.3.15
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%if %build_compat32
146
147%post -n compat32-libtdb -p /sbin/ldconfig
148%postun -n compat32-libtdb -p /sbin/ldconfig
149
150%endif
151
152%changelog
153* Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.15-1
154- new upstream release.
155- dropped Patch1.
156- enabled python3 modules.
157
158* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.14-1
159- new upstream release.
160
161* Mon May  1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.13-1
162- new upstream release.
163
164* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.12-1
165- new upstream release.
166
167* Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-1
168- new upstream release.
169
170* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.8-1
171- new upstream release.
172
173* Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1
174- new upstream release.
175
176* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1
177- new upstream release.
178
179* Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-1
180- new upstream release.
181
182* Wed Dec  3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1
183- new upstream release.
184
185* Sat Oct  4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.0-2
186- moved python-tdb to System Environment/Libraries Group
187- moved tdb-tool to Applications/System Group
188
189* Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
190- new upstream release.
191
192* Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-2
193- rebuilt with current environment.
194
195* Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1
196- new upstream release.
197
198* Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.11-1
199- new upstream release.
200
201* Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.10-1
202- new upstream release.
203- updated Patch0001.
204
205* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.9-11
206- rebuild with python-2.7.2
207
208* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.9-10
209- initial build for Vine Linux.
210
211* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-9
212- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
213
214* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-8
215- Actually fix the verbosity
216
217* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-7
218- Let rpmbuild strip binaries, make build more verbose.
219- Original patch by Ville Skyttä <ville.skytta@iki.fi>
220
221* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-6
222- Install python bindings into the correct location
223
224* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-5
225- Run ldconfig on python-tdb
226
227* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-4
228- Do not delete a necessary file during %%install
229
230* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-3
231- Bump release to rebuild with the correct sources in place
232
233* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-2
234- Bump build to rebuild with sources in place
235
236* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-1
237- New upstream bugfix release
238- Adds a new tdbrestore utility
239- Convert to new WAF build-system
240- Add python bindings in new python-tdb subpackage
241
242* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-3
243- add missing build require
244
245* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-2
246- Fix spec file
247- Package manpages too
248
249* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-1
250- New upstream bugfix release
251
252* Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 1.2.0-1
253- New upstream release
254
255* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
256- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
257
258* Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-1
259- Original tarballs had a screw-up, rebuild with new fixed tarballs from
260  upstream.
261
262* Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-0
263- New upstream release
264
265* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
266- First public independent release from upstream
Note: See TracBrowser for help on using the repository browser.