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

Revision 9846, 6.3 KB checked in by tomop, 8 years ago (diff)

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