]> git.pld-linux.org Git - packages/talloc.git/blob - talloc.spec
- block for now
[packages/talloc.git] / talloc.spec
1 Summary:        The talloc library
2 Name:           libtalloc
3 Version:        2.0.1
4 DIE FOR NOW (we use libtalloc from samba)
5 Release:        0.1
6 License:        LGPL v3+
7 Group:          Daemons
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
14
15 %description
16 A library that implements a hierarchical allocator with destructors.
17
18 %package devel
19 Summary:        Developer tools for the Talloc library
20 Group:          Development/Libraries
21 Requires:       libtalloc = %{version}-%{release}
22
23 %description devel
24 Header files needed to develop programs that link against the Talloc
25 library.
26
27 %prep
28 %setup -q -n talloc-%{version}
29
30 %build
31 ./autogen.sh
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
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
43
44 rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
45 rm -f $RPM_BUILD_ROOT%{_datadir}/swig/*/talloc.i
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_libdir}/libtalloc.so.*
54
55 %files devel
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*
61
62 %post
63 /sbin/ldconfig
64
65 %postun
66 /sbin/ldconfig
This page took 0.038566 seconds and 4 git commands to generate.