Name: libtar Version: 1.2.11 Release: alt1 Summary: Tar file manipulation API License: MIT Group: System/Libraries Url: http://www.feep.net/libtar/ Source: ftp://ftp.feep.net/pub/software/libtar/libtar-%version.tar.gz Patch0: http://ftp.debian.org/debian/pool/main/libt/libtar/libtar_1.2.11-4.diff.gz Patch1: libtar-1.2.11-missing-protos.patch Patch2: libtar-1.2.11-tar_header.patch Packager: Maks Re # Automatically added by buildreq on Tue Mar 02 2010 (-bi) BuildRequires: gcc-c++ gcc-fortran rpm-build-qt4 zlib-devel %description libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many of the commonly-used GNU extensions. %package devel Summary: Development files for %name Group: Development/Libraries Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files to develop applications that use %name. %prep %setup %patch0 -p1 -z .deb %patch1 -p1 %patch2 -p1 -z .tar_header # set correct version for .so build %define ltversion %(echo %version | tr '.' ':') sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %ltversion/' \ lib/Makefile.in %build %autoreconf %configure %{subst_enable static} # Don't use rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install %makeinstall_std rm %buildroot%_libdir/*.la %files %doc COPYRIGHT TODO README ChangeLog* %_bindir/%name %_libdir/lib*.so.* %files devel %_includedir/libtar.h %_includedir/libtar_listhash.h %_libdir/lib*.so %_man3dir/*.3* %changelog * Tue Mar 02 2010 Maks Re 1.2.11-alt1 - Initial build for Sisyphus * Tue Nov 24 2009 Huzaifa Sidhpurwala 1.2.11-13 - Version bump so that it builds * Mon Nov 23 2009 Huzaifa Sidhpurwala 1.2.11-12 - Fix buffer overflow bug RBZ #538770 * Thu Apr 3 2008 Hans de Goede 1.2.11-11 - Fix missing prototype compiler warnings * Tue Feb 19 2008 Fedora Release Engineering - 1.2.11-10 - Autorebuild for GCC 4.3 * Mon Aug 13 2007 Hans de Goede 1.2.11-9 - Update License tag for new Licensing Guidelines compliance * Mon Aug 28 2006 Hans de Goede 1.2.11-8 - FE6 Rebuild * Sun Jul 23 2006 Hans de Goede 1.2.11-7 - Taking over as maintainer since Anvil has other priorities - Add a bunch of patches from Debian, which build a .so instead of a .a and fix a bunch of memory leaks. - Reinstate a proper devel package as we now build a .so * Thu Mar 16 2006 Dams - 1.2.11-6.fc5 - Modified URL and added one in Source0 * Sun May 22 2005 Jeremy Katz - 1.2.11-5 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt - rebuilt * Sat Aug 16 2003 Dams 0:1.2.11-0.fdr.3 - Merged devel and main packages - Package provide now libtar-devel * Tue Jul 8 2003 Dams - Initial build.