rpms/lzip/F-10 lzip.spec,NONE,1.1 sources,1.1,1.2

Till Maas till at fedoraproject.org
Tue Dec 2 17:49:05 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/lzip/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20154

Modified Files:
	sources 
Added Files:
	lzip.spec 
Log Message:
* Thu Nov 27 2008 Till Maas <opensource at till.name> - 1.1-2
- fix type in summary
- call testsuite in %check
- remove empty TODO file from %doc



--- NEW FILE lzip.spec ---
Name:           lzip
Version:        1.1
Release:        2%{?dist}
Summary:        LZMA compressor with integrity checking

Group:          Applications/File
License:        GPLv3+
URL:            http://www.nongnu.org/lzip/lzip.html
Source0:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post): info
Requires(preun): info

%description
Lzip compresses data using LZMA (Lempel-Ziv-Markov chain-Algorithm). It
supports integrity checking using CRC (Cyclic Redundancy Check). To archive
multiple files, tar can be used with lzip. Please note, that the lzip file
format (.lz) is not compatible with the lzma file format (.lzma).


%prep
%setup -q


%build
%configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install install-man DESTDIR=$RPM_BUILD_ROOT

# if install-info is present, this is created by upstream's makefile
rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


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


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


%files
%defattr(-,root,root,-)
# TODO is currently empty
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/lzip
%{_infodir}/lzip.info*
%{_mandir}/man1/lzip.1*


%changelog
* Thu Nov 27 2008 Till Maas <opensource at till.name> - 1.1-2
- fix type in summary
- call testsuite in %%check
- remove empty TODO file from %%doc

* Wed Nov 26 2008 Till Maas <opensource at till.name> - 1.1-1
- Initial spec for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lzip/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Dec 2008 21:43:32 -0000	1.1
+++ sources	2 Dec 2008 17:48:35 -0000	1.2
@@ -0,0 +1 @@
+f016e24a935aadd07e40fe08cfa176f5  lzip-1.1.tar.bz2




More information about the fedora-extras-commits mailing list