SPECS: libtar.spec (NEW) - new

megabajt megabajt at pld-linux.org
Tue Aug 19 11:42:56 CEST 2008

Author: megabajt                     Date: Tue Aug 19 09:42:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
   libtar.spec (NONE -> 1.1)  (NEW)

---- Diffs:

Index: SPECS/libtar.spec
diff -u /dev/null SPECS/libtar.spec:1.1
--- /dev/null	Tue Aug 19 11:42:56 2008
+++ SPECS/libtar.spec	Tue Aug 19 11:42:51 2008
@@ -0,0 +1,103 @@
+# $Revision$, $Date$
+Summary:	C library for manipulating POSIX tar files
+Summary(pl.UTF-8):	Biblioteka C do manipulacji plikami tar zgodnymi z POSIX
+Name:		libtar
+Version:	1.2.11
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	ftp://ftp.feep.net/pub/software/libtar/%{name}-%{version}.tar.gz
+# Source0-md5:	604238e8734ce6e25347a58c4f1a1d7e
+Patch0:		%{name}-shared.patch
+URL:		http://www.feep.net/libtar/
+BuildRequires:	autoconf
+BuildRequires:	libtool
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+C library for manipulating POSIX tar files. It handles adding and
+extracting files from a tar archive.
+%description -l pl.UTF-8
+Biblioteka C do manipulacji plikami tar zgodnymi z POSIX. Umożliwia
+dodawanie oraz odzyskiwanie plików z archiwum tar.
+%package devel
+Summary:	Header files for libtar library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libtar
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+%description devel
+Header files for libtar library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libtar.
+%package static
+Summary:	Static libtar library
+Summary(pl.UTF-8):	Statyczna biblioteka libtar
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static libtar library.
+%description static -l pl.UTF-8
+Statyczna biblioteka libtar.
+%setup -q
+%patch0 -p1
+# ugly, but working solution
+cat %{_aclocaldir}/libtool.m4 >> autoconf/aclocal.m4
+cat %{_aclocaldir}/ltoptions.m4 >> autoconf/aclocal.m4
+cat %{_aclocaldir}/ltversion.m4 >> autoconf/aclocal.m4
+cat %{_aclocaldir}/ltsugar.m4 >> autoconf/aclocal.m4
+cp %{_datadir}/libtool/config/config.{sub,guess} autoconf
+%{__autoconf} -I autoconf
+%{__make} install \
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%doc COPYRIGHT ChangeLog ChangeLog-1.0.x README TODO
+%attr(755,root,root) %{_bindir}/libtar
+%attr(755,root,root) %{_libdir}/libtar.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libtar.so.0
+%files devel
+%attr(755,root,root) %{_libdir}/libtar.so
+%files static
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+Revision 1.1  2008/08/19 09:42:51  megabajt
+- new

More information about the pld-cvs-commit mailing list