1 | Name: lzip |
---|
2 | Version: 1.13 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: LZMA compressor with integrity checking |
---|
5 | |
---|
6 | Group: Applications/Archiving |
---|
7 | License: GPLv3+ |
---|
8 | URL: http://www.nongnu.org/lzip/lzip.html |
---|
9 | Source0: 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 |
---|
12 | #Patch0: lzip-1.4-missing_cstdio.patch |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | Requires(post): /sbin/install-info |
---|
16 | Requires(preun): /sbin/install-info |
---|
17 | |
---|
18 | %description |
---|
19 | Lzip compresses data using LZMA (Lempel-Ziv-Markov chain-Algorithm). It |
---|
20 | supports integrity checking using CRC (Cyclic Redundancy Check). To archive |
---|
21 | multiple files, tar can be used with lzip. Please note, that the lzip file |
---|
22 | format (.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" |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf $RPM_BUILD_ROOT |
---|
36 | make install install-man DESTDIR=$RPM_BUILD_ROOT |
---|
37 | |
---|
38 | # if install-info is present, this is created by upstream's makefile |
---|
39 | rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir |
---|
40 | |
---|
41 | |
---|
42 | %check |
---|
43 | make check |
---|
44 | |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | |
---|
50 | %post |
---|
51 | /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
52 | |
---|
53 | %preun |
---|
54 | if [ $1 = 0 ] ; then |
---|
55 | /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
56 | fi |
---|
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 Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.13-1 |
---|
70 | - Update to new release |
---|
71 | - dropt patch0 |
---|
72 | |
---|
73 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.12-1 |
---|
74 | - Update to new release |
---|
75 | |
---|
76 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.11-1 |
---|
77 | - Update to new release |
---|
78 | |
---|
79 | * Sun May 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10-1 |
---|
80 | - Update to new release |
---|
81 | |
---|
82 | * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9-1 |
---|
83 | - Update to new release |
---|
84 | |
---|
85 | * Sun Sep 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8-1 |
---|
86 | - Update to new release |
---|
87 | |
---|
88 | * Thu Jul 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7-1 |
---|
89 | - Update to new release |
---|
90 | |
---|
91 | * Wed Jun 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1 |
---|
92 | - Update to new release |
---|
93 | - dropt Source1 |
---|
94 | |
---|
95 | * Fri Apr 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1 |
---|
96 | - Update to new release |
---|
97 | - spec in UTF-8 |
---|
98 | |
---|
99 | * Thu Apr 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2 |
---|
100 | - changed Group to Applications/Archiving |
---|
101 | |
---|
102 | * Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1vl5 |
---|
103 | - initial build for VineSeed (import Fedora Package) |
---|
104 | |
---|
105 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2 |
---|
106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
107 | |
---|
108 | * Sun Feb 15 2009 Till Maas <opensource@till.name> - 1.4-1 |
---|
109 | - Update to new release |
---|
110 | - Add compile fixes for gcc 4.4 (missing #include <cstdio.h>) |
---|
111 | |
---|
112 | * Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.1-2 |
---|
113 | - fix type in summary |
---|
114 | - call testsuite in %%check |
---|
115 | - remove empty TODO file from %%doc |
---|
116 | |
---|
117 | * Wed Nov 26 2008 Till Maas <opensource@till.name> - 1.1-1 |
---|
118 | - Initial spec for Fedora |
---|