1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: libtdb |
---|
4 | Summary: The tdb library |
---|
5 | Summary(ja): TDB ライブラリ |
---|
6 | Version: 1.3.12 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: LGPLv3+ |
---|
11 | URL: http://tdb.samba.org/ |
---|
12 | Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
---|
15 | BuildRequires: autoconf |
---|
16 | BuildRequires: libxslt |
---|
17 | BuildRequires: docbook-style-xsl |
---|
18 | BuildRequires: python-devel |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: tomop |
---|
23 | |
---|
24 | # Patches |
---|
25 | Patch0001: 0001-Install-python-bindings-in-the-arch-specific-location.patch |
---|
26 | |
---|
27 | %description |
---|
28 | A library that implements a trivial database. |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Header files need to link the Tdb library |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: libtdb = %{version}-%{release} |
---|
34 | Requires: pkgconfig |
---|
35 | |
---|
36 | %description devel |
---|
37 | Header files needed to develop programs that link against the Tdb library. |
---|
38 | |
---|
39 | %package -n tdb-tools |
---|
40 | Summary: Tools to manipulate tdb files |
---|
41 | Summary(ja): TDB ファイルを処理するためのツール集 |
---|
42 | Group: Applications/System |
---|
43 | Requires: libtdb = %{version}-%{release} |
---|
44 | |
---|
45 | %description -n tdb-tools |
---|
46 | Tools to manage Tdb files |
---|
47 | |
---|
48 | %package -n python-tdb |
---|
49 | Summary: Python bindings for the Tdb library |
---|
50 | Summary(ja): TDB ライブラリの python バインディング |
---|
51 | Group: System Environment/Libraries |
---|
52 | Requires: libtdb = %{version}-%{release} |
---|
53 | |
---|
54 | %description -n python-tdb |
---|
55 | Python bindings for libtdb |
---|
56 | |
---|
57 | %if %build_compat32 |
---|
58 | |
---|
59 | %package -n compat32-libtdb |
---|
60 | Summary: The TDB library |
---|
61 | Summary(ja): TDB ライブラリ |
---|
62 | Group: System Environment/Libraries |
---|
63 | Requires: libtdb = %{version}-%{release} |
---|
64 | |
---|
65 | %description -n compat32-libtdb |
---|
66 | A 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 |
---|
77 | make %{?_smp_mflags} V=1 |
---|
78 | |
---|
79 | %install |
---|
80 | rm -rf $RPM_BUILD_ROOT |
---|
81 | |
---|
82 | make 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 |
---|
86 | find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \; |
---|
87 | |
---|
88 | rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a |
---|
89 | |
---|
90 | %clean |
---|
91 | rm -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 | * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.12-1 |
---|
142 | - new upstream release. |
---|
143 | |
---|
144 | * Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-1 |
---|
145 | - new upstream release. |
---|
146 | |
---|
147 | * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.8-1 |
---|
148 | - new upstream release. |
---|
149 | |
---|
150 | * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1 |
---|
151 | - new upstream release. |
---|
152 | |
---|
153 | * Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1 |
---|
154 | - new upstream release. |
---|
155 | |
---|
156 | * Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-1 |
---|
157 | - new upstream release. |
---|
158 | |
---|
159 | * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1 |
---|
160 | - new upstream release. |
---|
161 | |
---|
162 | * Sat Oct 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.0-2 |
---|
163 | - moved python-tdb to System Environment/Libraries Group |
---|
164 | - moved tdb-tool to Applications/System Group |
---|
165 | |
---|
166 | * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1 |
---|
167 | - new upstream release. |
---|
168 | |
---|
169 | * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-2 |
---|
170 | - rebuilt with current environment. |
---|
171 | |
---|
172 | * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1 |
---|
173 | - new upstream release. |
---|
174 | |
---|
175 | * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.11-1 |
---|
176 | - new upstream release. |
---|
177 | |
---|
178 | * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.10-1 |
---|
179 | - new upstream release. |
---|
180 | - updated Patch0001. |
---|
181 | |
---|
182 | * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.9-11 |
---|
183 | - rebuild with python-2.7.2 |
---|
184 | |
---|
185 | * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.9-10 |
---|
186 | - initial build for Vine Linux. |
---|
187 | |
---|
188 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-9 |
---|
189 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
190 | |
---|
191 | * Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-8 |
---|
192 | - Actually fix the verbosity |
---|
193 | |
---|
194 | * Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-7 |
---|
195 | - Let rpmbuild strip binaries, make build more verbose. |
---|
196 | - Original patch by Ville Skyttä <ville.skytta@iki.fi> |
---|
197 | |
---|
198 | * Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-6 |
---|
199 | - Install python bindings into the correct location |
---|
200 | |
---|
201 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-5 |
---|
202 | - Run ldconfig on python-tdb |
---|
203 | |
---|
204 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-4 |
---|
205 | - Do not delete a necessary file during %%install |
---|
206 | |
---|
207 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-3 |
---|
208 | - Bump release to rebuild with the correct sources in place |
---|
209 | |
---|
210 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-2 |
---|
211 | - Bump build to rebuild with sources in place |
---|
212 | |
---|
213 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-1 |
---|
214 | - New upstream bugfix release |
---|
215 | - Adds a new tdbrestore utility |
---|
216 | - Convert to new WAF build-system |
---|
217 | - Add python bindings in new python-tdb subpackage |
---|
218 | |
---|
219 | * Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-3 |
---|
220 | - add missing build require |
---|
221 | |
---|
222 | * Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-2 |
---|
223 | - Fix spec file |
---|
224 | - Package manpages too |
---|
225 | |
---|
226 | * Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-1 |
---|
227 | - New upstream bugfix release |
---|
228 | |
---|
229 | * Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 1.2.0-1 |
---|
230 | - New upstream release |
---|
231 | |
---|
232 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2 |
---|
233 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
234 | |
---|
235 | * Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-1 |
---|
236 | - Original tarballs had a screw-up, rebuild with new fixed tarballs from |
---|
237 | upstream. |
---|
238 | |
---|
239 | * Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-0 |
---|
240 | - New upstream release |
---|
241 | |
---|
242 | * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15 |
---|
243 | - First public independent release from upstream |
---|