packages: libtalloc/libtalloc.spec (NEW) - initial

arekm arekm at pld-linux.org
Thu Aug 19 20:42:49 CEST 2010


Author: arekm                        Date: Thu Aug 19 18:42:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/libtalloc:
   libtalloc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libtalloc/libtalloc.spec
diff -u /dev/null packages/libtalloc/libtalloc.spec:1.1
--- /dev/null	Thu Aug 19 20:42:49 2010
+++ packages/libtalloc/libtalloc.spec	Thu Aug 19 20:42:44 2010
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/19 18:42:44  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list