Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sleetdrop
libtar
libtar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtar.spec of Package libtar
Summary: Tar file manipulation API Name: libtar Version: 1.2.11 Release: 11 License: MIT Packager: Chris Frey <cdfrey@foursquare.net> Group: System Environment/Libraries URL: http://www.feep.net/libtar/ Source0: libtar_%{version}.orig.tar.gz Source1: %{name}-%{version}-rpmlintrc Patch0: http://ftp.debian.org/debian/pool/main/libt/libtar/libtar_1.2.11-5.diff.gz Patch1: libtar_1.2.11-cdf.diff.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: zlib-devel libtool %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 for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -z .deb %patch1 -p1 -z .deb # 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 %configure --disable-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 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Without this we get no debuginfo and stripping chmod +x $RPM_BUILD_ROOT%{_libdir}/libtar.so.%{version} rm $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYRIGHT TODO README ChangeLog* %{_bindir}/%{name} %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/libtar.h %{_includedir}/libtar_listhash.h %{_libdir}/lib*.so %{_mandir}/man3/*.3* %changelog * Sat Jan 31 2009 Chris Frey <cdfrey@foursquare.net> 1.2.11-11 - Hacked the Debian patch5 into submission, copying autoconf and libtool - files into the project until it was self contained. - Removed the external autoconf script copy * Mon Aug 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-9 - Update License tag for new Licensing Guidelines compliance * Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-8 - FE6 Rebuild * Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 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 <anvil[AT]livna.org> - 1.2.11-6.fc5 - Modified URL and added one in Source0 * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.2.11-5 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - rebuilt * Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:1.2.11-0.fdr.3 - Merged devel and main packages - Package provide now libtar-devel * Tue Jul 8 2003 Dams <anvil[AT]livna.org> - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor