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

Revision 10178, 6.4 KB checked in by tomop, 8 years ago (diff)

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