[3095] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Name: libtalloc |
---|
[11959] | 4 | Version: 2.1.14 |
---|
[8910] | 5 | Release: 1%{?_dist_release} |
---|
[3095] | 6 | Group: System Environment/Libraries |
---|
| 7 | Summary: The talloc library |
---|
| 8 | License: LGPLv3+ |
---|
| 9 | URL: http://talloc.samba.org/ |
---|
| 10 | Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz |
---|
| 11 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
---|
| 12 | |
---|
| 13 | BuildRequires: autoconf |
---|
| 14 | BuildRequires: libxslt |
---|
| 15 | BuildRequires: docbook-style-xsl |
---|
[11583] | 16 | BuildRequires: doxygen |
---|
| 17 | BuildRequires: python-devel python-rpm-macros |
---|
| 18 | BuildRequires: python3-devel python3-rpm-macros |
---|
[3095] | 19 | |
---|
[11583] | 20 | Provides: bundled(libreplace) |
---|
| 21 | |
---|
[3095] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | Packager: tomop |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | A library that implements a hierarchical allocator with destructors. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Summary: Developer tools for the Talloc library |
---|
| 32 | Requires: libtalloc = %{version}-%{release} |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | Header files needed to develop programs that link against the Talloc library. |
---|
| 36 | |
---|
[11583] | 37 | %package -n python-talloc |
---|
[3095] | 38 | Group: Development/Libraries |
---|
[11583] | 39 | Summary: Python bindings for the Talloc library |
---|
[3095] | 40 | Requires: libtalloc = %{version}-%{release} |
---|
[11583] | 41 | Obsoletes: pytalloc < 2.1.11 |
---|
| 42 | Provides: pytalloc = %{version} |
---|
[3095] | 43 | |
---|
[11583] | 44 | %description -n python-talloc |
---|
| 45 | Python libraries for creating bindings using talloc |
---|
[3095] | 46 | |
---|
[11583] | 47 | %package -n python-talloc-devel |
---|
[3095] | 48 | Group: Development/Libraries |
---|
[11583] | 49 | Summary: Development libraries for python-talloc |
---|
| 50 | Requires: python-talloc = %{version}-%{release} |
---|
| 51 | Obsoletes: pytalloc-devel < 2.1.11 |
---|
| 52 | Provides: pytalloc-devel = %{version} |
---|
[3095] | 53 | |
---|
[11583] | 54 | %description -n python-talloc-devel |
---|
| 55 | Development libraries for python-talloc |
---|
[3095] | 56 | |
---|
[11583] | 57 | %package -n python3-talloc |
---|
| 58 | Group: Development/Libraries |
---|
| 59 | Summary: Python3 bindings for the Talloc library |
---|
| 60 | Requires: libtalloc = %{version}-%{release} |
---|
[3095] | 61 | |
---|
[11583] | 62 | %description -n python3-talloc |
---|
| 63 | Python3 libraries for creating bindings using talloc |
---|
| 64 | |
---|
| 65 | %package -n python3-talloc-devel |
---|
| 66 | Group: Development/Libraries |
---|
| 67 | Summary: Development libraries for python3-talloc |
---|
| 68 | Requires: python3-talloc = %{version}-%{release} |
---|
| 69 | |
---|
| 70 | %description -n python3-talloc-devel |
---|
| 71 | Development libraries for python3-talloc |
---|
| 72 | |
---|
| 73 | %if %{build_compat32} |
---|
| 74 | |
---|
[3095] | 75 | %package -n compat32-libtalloc |
---|
| 76 | Summary: The talloc library |
---|
| 77 | Group: System Environment/Libraries |
---|
| 78 | |
---|
| 79 | %description -n compat32-libtalloc |
---|
| 80 | A library that implements a hierarchical allocator with destructors. |
---|
| 81 | |
---|
| 82 | %endif |
---|
| 83 | |
---|
| 84 | %prep |
---|
| 85 | %setup -q -n talloc-%{version} |
---|
| 86 | |
---|
| 87 | %build |
---|
[6101] | 88 | #./autogen.sh |
---|
[11583] | 89 | %configure --disable-rpath \ |
---|
| 90 | --disable-rpath-install \ |
---|
| 91 | --bundled-libraries=NONE \ |
---|
| 92 | --builtin-libraries=replace \ |
---|
| 93 | --disable-silent-rules \ |
---|
| 94 | --extra-python=%{__python3} |
---|
| 95 | |
---|
[3095] | 96 | make %{?_smp_mflags} V=1 |
---|
| 97 | |
---|
| 98 | %install |
---|
| 99 | rm -rf $RPM_BUILD_ROOT |
---|
| 100 | |
---|
| 101 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 102 | |
---|
| 103 | # Shared libraries need to be marked executable for |
---|
| 104 | # rpmbuild to strip them and include them in debuginfo |
---|
| 105 | find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \; |
---|
| 106 | |
---|
| 107 | rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a |
---|
| 108 | rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i |
---|
| 109 | |
---|
| 110 | %clean |
---|
| 111 | rm -rf $RPM_BUILD_ROOT |
---|
| 112 | |
---|
| 113 | %files |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %{_libdir}/libtalloc.so.* |
---|
| 116 | |
---|
| 117 | %files devel |
---|
| 118 | %defattr(-,root,root,-) |
---|
| 119 | %{_includedir}/talloc.h |
---|
| 120 | %{_libdir}/libtalloc.so |
---|
| 121 | %{_libdir}/pkgconfig/talloc.pc |
---|
| 122 | %{_mandir}/man3/talloc.3.gz |
---|
| 123 | |
---|
[11583] | 124 | %files -n python-talloc |
---|
[3095] | 125 | %defattr(-,root,root,-) |
---|
| 126 | %{_libdir}/libpytalloc-util.so.* |
---|
| 127 | %{python_sitearch}/talloc.so |
---|
| 128 | |
---|
[11583] | 129 | %files -n python-talloc-devel |
---|
[3095] | 130 | %defattr(-,root,root,-) |
---|
| 131 | %{_includedir}/pytalloc.h |
---|
| 132 | %{_libdir}/pkgconfig/pytalloc-util.pc |
---|
| 133 | %{_libdir}/libpytalloc-util.so |
---|
| 134 | |
---|
[11583] | 135 | %files -n python3-talloc |
---|
| 136 | %defattr(-,root,root,-) |
---|
| 137 | %{_libdir}/libpytalloc-util.cpython*.so.* |
---|
| 138 | %{python3_sitearch}/talloc.cpython*.so |
---|
[3095] | 139 | |
---|
[11583] | 140 | %files -n python3-talloc-devel |
---|
| 141 | %defattr(-,root,root,-) |
---|
| 142 | %{_includedir}/pytalloc.h |
---|
| 143 | %{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc |
---|
| 144 | %{_libdir}/libpytalloc-util.cpython*.so |
---|
| 145 | |
---|
| 146 | %if %{build_compat32} |
---|
| 147 | |
---|
[3095] | 148 | %files -n compat32-libtalloc |
---|
| 149 | %attr(755,root,root) %{_libdir}/libtalloc.so.* |
---|
| 150 | |
---|
| 151 | %endif |
---|
| 152 | |
---|
| 153 | %post -p /sbin/ldconfig |
---|
| 154 | |
---|
| 155 | %postun -p /sbin/ldconfig |
---|
| 156 | |
---|
[11583] | 157 | %post -n python-talloc -p /sbin/ldconfig |
---|
| 158 | %postun -n python-talloc -p /sbin/ldconfig |
---|
[3095] | 159 | |
---|
[11583] | 160 | %post -n python3-talloc -p /sbin/ldconfig |
---|
| 161 | %postun -n python3-talloc -p /sbin/ldconfig |
---|
[3095] | 162 | |
---|
[11583] | 163 | %if %{build_compat32} |
---|
| 164 | |
---|
[3095] | 165 | %post -n compat32-libtalloc -p /sbin/ldconfig |
---|
| 166 | %postun -n compat32-libtalloc -p /sbin/ldconfig |
---|
| 167 | |
---|
| 168 | %endif |
---|
| 169 | |
---|
| 170 | %changelog |
---|
[11959] | 171 | * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.14-1 |
---|
| 172 | - new upstream release. |
---|
| 173 | |
---|
[11583] | 174 | * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.11-1 |
---|
[10930] | 175 | - new upstream release. |
---|
[11583] | 176 | - enabled python3 modules. |
---|
| 177 | - renamed python packages. |
---|
[10930] | 178 | |
---|
[10840] | 179 | * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1 |
---|
| 180 | - new upstream release. |
---|
| 181 | |
---|
[10363] | 182 | * Wed Jun 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.7-1 |
---|
| 183 | - new upstream release. |
---|
| 184 | |
---|
[10060] | 185 | * Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.6-1 |
---|
| 186 | - new upstream release. |
---|
| 187 | |
---|
[9845] | 188 | * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.5-1 |
---|
| 189 | - new upstream release. |
---|
| 190 | |
---|
[9786] | 191 | * Tue Nov 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1 |
---|
| 192 | - new upstream release. |
---|
| 193 | |
---|
[9673] | 194 | * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1 |
---|
| 195 | - new upstream release. |
---|
| 196 | |
---|
[9517] | 197 | * Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1 |
---|
| 198 | - new upstream release. |
---|
| 199 | |
---|
[8910] | 200 | * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1 |
---|
| 201 | - new upstream release. |
---|
| 202 | |
---|
[8130] | 203 | * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-2 |
---|
| 204 | - rebuilt with current environment. |
---|
| 205 | |
---|
[7885] | 206 | * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1 |
---|
| 207 | - new upstream release. |
---|
| 208 | |
---|
[7254] | 209 | * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-1 |
---|
| 210 | - new upstream release. |
---|
| 211 | |
---|
[6101] | 212 | * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-1 |
---|
| 213 | - new upstream release. |
---|
| 214 | - updated Patch0001. |
---|
| 215 | |
---|
[5787] | 216 | * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.5-10 |
---|
| 217 | - rebuild with python-2.7.2 |
---|
| 218 | |
---|
[3095] | 219 | * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-9 |
---|
| 220 | - initial build for Vine Linux. |
---|
| 221 | |
---|
| 222 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8 |
---|
| 223 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 224 | |
---|
[7885] | 225 | * Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7 |
---|
[3095] | 226 | - Let rpmbuild strip binaries, make build more verbose. |
---|
| 227 | - Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped, |
---|
| 228 | - empty -debuginfo |
---|
| 229 | - Original patch by Ville Skyttä <ville.skytta@iki.fi> |
---|
| 230 | |
---|
| 231 | * Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-6 |
---|
| 232 | - Install python bindings in the correct location |
---|
| 233 | |
---|
| 234 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-5 |
---|
| 235 | - Run ldconfig on pytalloc |
---|
| 236 | |
---|
| 237 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-4 |
---|
| 238 | - Fix build failure on 32-bit platforms |
---|
| 239 | |
---|
| 240 | * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3 |
---|
| 241 | - New version from upstream |
---|
| 242 | - Add support for pytalloc |
---|
| 243 | - Convert to new WAF build-system |
---|
| 244 | |
---|
| 245 | * Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 2.0.1-1 |
---|
| 246 | - New version from upstream |
---|
| 247 | - Also stop building the compat lib, it is not necessary anymore |
---|
| 248 | |
---|
| 249 | * Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 2.0.0-0 |
---|
| 250 | - New version from upstream. |
---|
| 251 | - Build also sover 1 compat library to ease packages migration |
---|
| 252 | |
---|
| 253 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2 |
---|
| 254 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 255 | |
---|
| 256 | * Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-1 |
---|
| 257 | - Original tarballs had a screw-up, rebuild with new fixed tarballs from |
---|
| 258 | upstream. |
---|
| 259 | |
---|
| 260 | * Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-0 |
---|
| 261 | - New Upstream release. |
---|
| 262 | |
---|
| 263 | * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0 |
---|
| 264 | - First public independent release from upstream |
---|