]> git.pld-linux.org Git - packages/talloc.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 19 Aug 2010 18:42:44 +0000 (18:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    talloc.spec -> 1.1

talloc.spec [new file with mode: 0644]

diff --git a/talloc.spec b/talloc.spec
new file mode 100644 (file)
index 0000000..c55d997
--- /dev/null
@@ -0,0 +1,65 @@
+Summary:       The talloc library
+Name:          libtalloc
+Version:       2.0.1
+Release:       1
+License:       LGPL v3+
+Group:         Daemons
+URL:           http://talloc.samba.org/
+Source0:       http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
+# Source0-md5: c6e736540145ca58cb3dcb42f91cf57b
+BuildRequires: autoconf
+BuildRequires: docbook-style-xsl
+BuildRequires: libxslt
+
+%description
+A library that implements a hierarchical allocator with destructors.
+
+%package devel
+Summary:       Developer tools for the Talloc library
+Group:         Development/Libraries
+Requires:      libtalloc = %{version}-%{release}
+
+%description devel
+Header files needed to develop programs that link against the Talloc
+library.
+
+%prep
+%setup -q -n talloc-%{version}
+
+%build
+./autogen.sh
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.2
+ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
+rm -f $RPM_BUILD_ROOT%{_datadir}/swig/*/talloc.i
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtalloc.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/talloc.h
+%attr(755,root,root) %{_libdir}/libtalloc.so
+%{_pkgconfigdir}/talloc.pc
+%{_mandir}/man3/talloc.3*
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
This page took 0.415274 seconds and 4 git commands to generate.