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