[3095] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Name: libtdb |
---|
[8998] | 4 | Summary: The tdb library |
---|
| 5 | Summary(ja): TDB ライブラリ |
---|
[10178] | 6 | Version: 1.3.9 |
---|
[9136] | 7 | Release: 1%{?_dist_release} |
---|
[8998] | 8 | |
---|
[3095] | 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 |
---|
[8998] | 13 | |
---|
[3095] | 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 |
---|
[6101] | 25 | Patch0001: 0001-Install-python-bindings-in-the-arch-specific-location.patch |
---|
[3095] | 26 | |
---|
| 27 | %description |
---|
| 28 | A library that implements a trivial database. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
[8998] | 31 | Summary: Header files need to link the Tdb library |
---|
[3095] | 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 |
---|
[8998] | 40 | Summary: Tools to manipulate tdb files |
---|
| 41 | Summary(ja): TDB ファイルを処理するためのツール集 |
---|
| 42 | Group: Applications/System |
---|
[3095] | 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 |
---|
[8998] | 50 | Summary(ja): TDB ライブラリの python バインディング |
---|
| 51 | Group: System Environment/Libraries |
---|
[3095] | 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 |
---|
[8998] | 61 | Summary(ja): TDB ライブラリ |
---|
[3095] | 62 | Group: System Environment/Libraries |
---|
[8998] | 63 | Requires: libtdb = %{version}-%{release} |
---|
[3095] | 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 |
---|
[6101] | 75 | #./autogen.sh |
---|
[3095] | 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,-) |
---|
[9673] | 116 | %{python_sitearch}/* |
---|
[3095] | 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 |
---|
[10178] | 141 | * Wed Apr 13 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-1 |
---|
| 142 | - new upstream release. |
---|
| 143 | |
---|
[9846] | 144 | * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.8-1 |
---|
| 145 | - new upstream release. |
---|
| 146 | |
---|
[9673] | 147 | * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7-1 |
---|
| 148 | - new upstream release. |
---|
| 149 | |
---|
[9599] | 150 | * Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6-1 |
---|
| 151 | - new upstream release. |
---|
| 152 | |
---|
[9254] | 153 | * Mon Jan 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-1 |
---|
| 154 | - new upstream release. |
---|
| 155 | |
---|
[9599] | 156 | * Wed Dec 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1 |
---|
[9136] | 157 | - new upstream release. |
---|
| 158 | |
---|
[8998] | 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 | |
---|
[8910] | 163 | * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1 |
---|
| 164 | - new upstream release. |
---|
| 165 | |
---|
[8130] | 166 | * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-2 |
---|
| 167 | - rebuilt with current environment. |
---|
| 168 | |
---|
[7885] | 169 | * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1 |
---|
| 170 | - new upstream release. |
---|
| 171 | |
---|
[7254] | 172 | * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.11-1 |
---|
| 173 | - new upstream release. |
---|
| 174 | |
---|
[6101] | 175 | * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.10-1 |
---|
| 176 | - new upstream release. |
---|
| 177 | - updated Patch0001. |
---|
| 178 | |
---|
[5701] | 179 | * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.9-11 |
---|
| 180 | - rebuild with python-2.7.2 |
---|
| 181 | |
---|
[3095] | 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 |
---|