lzip/lzip.spec

Name: lzip
Summary: Lossless LZMA-based data compression
Version: 1.14
Release: 1
License: GPL
Group: Applications/File
URL: http://www.nongnu.org/lzip/lzip.html
Description: Lzip is a lossless data compressor based on the LZMA algorithm, with very safe integrity checking and a user interface almost identical to the one of bzip2. Lzip is only a data compressor, not an archiver. It has no facilities for multiple files, encryption, or archive-splitting, but, in the Unix tradition, relies instead on separate external utilities such as GNU Tar for these tasks.

CentOS 7 x86_64

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

Build Status

CentOS 6 x86_64

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

Build Status

Contents

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

# $Id$
# Authority: dag

Summary: Lossless LZMA-based data compression
Name: lzip
Version: 1.14
Release: 1%{?dist}
License: GPL
Group: Applications/File
URL: http://www.nongnu.org/lzip/lzip.html

Source: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%{_arch}-root

BuildRequires: gcc-c++
Requires: /sbin/install-info

%description
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
integrity checking and a user interface almost identical to the one of
bzip2. Lzip is only a data compressor, not an archiver. It has no facilities
for multiple files, encryption, or archive-splitting, but, in the Unix
tradition, relies instead on separate external utilities such as GNU Tar for
these tasks.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__install} -Dp -m0644 doc/lzip.1 %{buildroot}%{_mandir}/man1/lzip.1

### Clean up buildroot
%{__rm} -rf %{buildroot}%{_infodir}/dir

%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 -eq 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi

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

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%doc %{_infodir}/lzip.info*
%doc %{_mandir}/man1/lzip.1*
%{_bindir}/lzip

%changelog
* Wed Mar 20 2013 Dag Wieers <dag@wieers.com> - 1.14-1
- Updated to release 1.14.

* Fri May 13 2011 Dag Wieers <dag@wieers.com> - 1.12-1
- Updated to release 1.12.

* Mon Sep 27 2010 Dag Wieers <dag@wieers.com> - 1.11-1
- Updated to release 1.11.

* Mon Apr 19 2010 Dag Wieers <dag@wieers.com> - 1.10-1
- Updated to release 1.10.

* Wed Jan 20 2010 Dag Wieers <dag@wieers.com> - 1.9-1
- Updated to release 1.9.

* Thu Sep 10 2009 Dag Wieers <dag@wieers.com> - 1.8-1
- Updated to release 1.8.

* Thu Jun 25 2009 Dag Wieers <dag@wieers.com> - 1.7-1
- Updated to release 1.7.

* Wed Jun 24 2009 Dag Wieers <dag@wieers.com> - 1.6-1
- Updated to release 1.6.

* Thu Apr 16 2009 Dag Wieers <dag@wieers.com> - 1.5-1
- Updated to release 1.5.

* Mon Jan 26 2009 Dag Wieers <dag@wieers.com> - 1.4-1
- Updated to release 1.4.

* Mon Dec 22 2008 Dag Wieers <dag@wieers.com> - 1.3-1
- Updated to release 1.3.

* Tue Nov 18 2008 Dag Wieers <dag@wieers.com> - 1.1-1
- Updated to release 1.1.

* Tue Oct 14 2008 Dag Wieers <dag@wieers.com> - 1.0-1
- Updated to release 1.0.

* Tue Sep 23 2008 Dag Wieers <dag@wieers.com> - 0.4-1
- Updated to release 0.4.

* Sat Sep 20 2008 Dag Wieers <dag@wieers.com> - 0.3-1
- Initial package. (using DAR)