source: projects/specs/branches/6/l/lzip/lzip-vl.spec @ 3803

Revision 3803, 3.1 KB checked in by kudoh, 13 years ago (diff)
Line 
1Name:           lzip
2Version:        1.12
3Release:        1%{?_dist_release}
4Summary:        LZMA compressor with integrity checking
5
6Group:          Applications/Archiving
7License:        GPLv3+
8URL:            http://www.nongnu.org/lzip/lzip.html
9Source0:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz
10
11# 2009-02-15: sent to upstream bug report mailinglist lzip-bug@nongnu.org
12Patch0:         lzip-1.4-missing_cstdio.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15Requires(post): /sbin/install-info
16Requires(preun): /sbin/install-info
17
18%description
19Lzip compresses data using LZMA (Lempel-Ziv-Markov chain-Algorithm). It
20supports integrity checking using CRC (Cyclic Redundancy Check). To archive
21multiple files, tar can be used with lzip. Please note, that the lzip file
22format (.lz) is not compatible with the lzma file format (.lzma).
23
24
25%prep
26%setup -q
27%patch0 -p1 -b .missing_cstdio
28
29%build
30%configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
31make %{?_smp_mflags}
32
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make install install-man DESTDIR=$RPM_BUILD_ROOT
37
38# if install-info is present, this is created by upstream's makefile
39rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir
40
41
42%check
43make check
44
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49
50%post
51/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
52
53%preun
54if [ $1 = 0 ] ; then
55/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
56fi
57
58
59%files
60%defattr(-,root,root,-)
61# TODO is currently empty
62%doc AUTHORS ChangeLog COPYING NEWS README
63%{_bindir}/*
64%{_infodir}/lzip.info*
65%{_mandir}/man1/*
66
67
68%changelog
69* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.12-1
70- Update to new release
71
72* Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.11-1
73- Update to new release
74
75* Sun May 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10-1
76- Update to new release
77
78* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9-1
79- Update to new release
80
81* Sun Sep 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8-1
82- Update to new release
83
84* Thu Jul 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7-1
85- Update to new release
86
87* Wed Jun 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1
88- Update to new release
89- dropt Source1
90
91* Fri Apr 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1
92- Update to new release
93- spec in UTF-8
94
95* Thu Apr 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2
96- changed Group to Applications/Archiving
97
98* Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1vl5
99- initial build for VineSeed (import Fedora Package)
100
101* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
102- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
103
104* Sun Feb 15 2009 Till Maas <opensource@till.name> - 1.4-1
105- Update to new release
106- Add compile fixes for gcc 4.4 (missing #include <cstdio.h>)
107
108* Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.1-2
109- fix type in summary
110- call testsuite in %%check
111- remove empty TODO file from %%doc
112
113* Wed Nov 26 2008 Till Maas <opensource@till.name> - 1.1-1
114- Initial spec for Fedora
Note: See TracBrowser for help on using the repository browser.