source: projects/specs/trunk/l/lzip/lzip-vl.spec @ 1948

Revision 1948, 3.0 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           lzip
2Version:        1.11
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* Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.11-1
70- Update to new release
71
72* Sun May 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10-1
73- Update to new release
74
75* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9-1
76- Update to new release
77
78* Sun Sep 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8-1
79- Update to new release
80
81* Thu Jul 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7-1
82- Update to new release
83
84* Wed Jun 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1
85- Update to new release
86- dropt Source1
87
88* Fri Apr 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1
89- Update to new release
90- spec in UTF-8
91
92* Thu Apr 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2
93- changed Group to Applications/Archiving
94
95* Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1vl5
96- initial build for VineSeed (import Fedora Package)
97
98* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
99- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
100
101* Sun Feb 15 2009 Till Maas <opensource@till.name> - 1.4-1
102- Update to new release
103- Add compile fixes for gcc 4.4 (missing #include <cstdio.h>)
104
105* Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.1-2
106- fix type in summary
107- call testsuite in %%check
108- remove empty TODO file from %%doc
109
110* Wed Nov 26 2008 Till Maas <opensource@till.name> - 1.1-1
111- Initial spec for Fedora
Note: See TracBrowser for help on using the repository browser.