1 Summary: The talloc library
4 DIE FOR NOW (we use libtalloc from samba)
8 URL: http://talloc.samba.org/
9 Source0: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
10 # Source0-md5: c6e736540145ca58cb3dcb42f91cf57b
11 BuildRequires: autoconf
12 BuildRequires: docbook-style-xsl
13 BuildRequires: libxslt
16 A library that implements a hierarchical allocator with destructors.
19 Summary: Developer tools for the Talloc library
20 Group: Development/Libraries
21 Requires: libtalloc = %{version}-%{release}
24 Header files needed to develop programs that link against the Talloc
28 %setup -q -n talloc-%{version}
36 rm -rf $RPM_BUILD_ROOT
39 DESTDIR=$RPM_BUILD_ROOT
41 ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.2
42 ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
44 rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
45 rm -f $RPM_BUILD_ROOT%{_datadir}/swig/*/talloc.i
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_libdir}/libtalloc.so.*
56 %defattr(644,root,root,755)
57 %{_includedir}/talloc.h
58 %attr(755,root,root) %{_libdir}/libtalloc.so
59 %{_pkgconfigdir}/talloc.pc
60 %{_mandir}/man3/talloc.3*