]> git.pld-linux.org Git - packages/talloc.git/commitdiff
- pl
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 25 Oct 2010 18:47:59 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- package static library
- dropped bogus Provides (autogenerated)
- don't hide autoconf calls behind autogen.sh

Changed files:
    talloc.spec -> 1.11

talloc.spec

index df50936d085714e110efb5eaebe2663e8854ebd3..4a6b5bb37a1438d0cc72869bf1673d2c1cee1204 100644 (file)
@@ -1,38 +1,59 @@
-# TODO
-# - static package
-Summary:       The talloc library
+Summary:       The talloc library - a hierarchical pool based memory system
+Summary(pl.UTF-8):     Biblioteka talloc - system przydzielania pamięci oparty na hierarchicznej puli
 Name:          libtalloc
 Version:       2.0.1
 Release:       5
 Epoch:         2
 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
+URL:           http://talloc.samba.org/
+BuildRequires: autoconf >= 2.50
 BuildRequires: docbook-style-xsl
-BuildRequires: libxslt
+BuildRequires: libxslt-progs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A library that implements a hierarchical allocator with destructors.
+The talloc library implements a hierarchical allocator with
+destructors.
+
+%description -l pl.UTF-8
+Biblioteka talloc jest implementacją systemu zarządzania pamięcią
+opartego na hierarchicznej puli wraz z destruktorami.
 
 %package devel
-Summary:       Developer tools for the Talloc library
+Summary:       Development files for the talloc library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki talloc
 Group:         Development/Libraries
-Requires:      libtalloc = %{epoch}:%{version}-%{release}
-Provides:      pkgconfig(talloc)
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description devel
-Header files needed to develop programs that link against the Talloc
-library.
+Development files needed to create programs that link against the
+talloc library.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne potrzebne do tworzenia programów używających
+biblioteki talloc.
+
+%package static
+Summary:       Static talloc library
+Summary(pl.UTF-8):     Statyczna biblioteka talloc
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static talloc library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka talloc.
 
 %prep
 %setup -q -n talloc-%{version}
 
 %build
-./autogen.sh
+%{__autoconf} -I libreplace
+%{__autoheader} -I libreplace
 %configure
 %{__make}
 
@@ -42,11 +63,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
-ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.2
+ln -sf libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
+ln -sf libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.2
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
-rm -f $RPM_BUILD_ROOT%{_datadir}/swig/*/talloc.i
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/swig/*/talloc.i
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,7 +85,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/talloc.h
 %attr(755,root,root) %{_libdir}/libtalloc.so
+%{_includedir}/talloc.h
 %{_pkgconfigdir}/talloc.pc
 %{_mandir}/man3/talloc.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libtalloc.a
This page took 0.030899 seconds and 4 git commands to generate.