libtar/libtar.spec

Name: libtar
Summary: C library for manipulating POSIX tar files.
Version: 1.2.11
Release: 2.2
License: BSD
Group: System Environment/Libraries
URL: http://www.feep.net/libtar/
Description: libtar is a C library for manipulating POSIX tar files. It handles adding and extracting files to/from a tar archive.

CentOS 7 x86_64

The build could not start because the following file is missing: libtar-1.2.11.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libtar-1.2.11.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Mark D. Roth <roth$feep,net>

### EL6 ships with libtar-1.2.11-16.el6
# ExclusiveDist: el2 el3 el4 el5

Summary: C library for manipulating POSIX tar files.
Name: libtar
Version: 1.2.11
Release: 2.2%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.feep.net/libtar/

Source: ftp://ftp.feep.net/pub/software/libtar/libtar-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: zlib-devel

%description
libtar is a C library for manipulating POSIX tar files. It handles adding
and extracting files to/from a tar archive.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%{expand: %%define optflags %{optflags} -fPIC}

%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog INSTALL README TODO
%doc %{_mandir}/man?/*
%{_bindir}/libtar

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libtar.h
%{_includedir}/libtar_listhash.h
%{_libdir}/libtar.a

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.2.11-2.2
- Rebuild for Fedora Core 5.

* Sat Mar 05 2005 Dag Wieers <dag@wieers.com> - 1.2.11-2
- Compiled with -fPIC for x86_64.

* Sat Jan 01 2005 Dries Verachtert <dries@ulyssis.org> - 1.2.11-1
- Initial package.