[521] | 1 | Name: lzip |
---|
[10569] | 2 | Version: 1.18 |
---|
[10764] | 3 | Release: 2%{?_dist_release} |
---|
[521] | 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 |
---|
[5901] | 12 | #Patch0: lzip-1.4-missing_cstdio.patch |
---|
[521] | 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 |
---|
[5901] | 27 | #%patch0 -p1 -b .missing_cstdio |
---|
[521] | 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 |
---|
[10764] | 69 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.18-2 |
---|
| 70 | - rebuild with gcc-5.4.0 |
---|
| 71 | |
---|
[10569] | 72 | * Sat Jul 09 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.18-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[10190] | 75 | * Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.17-1 |
---|
| 76 | - new upstream release |
---|
| 77 | |
---|
[9348] | 78 | * Wed Feb 11 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.16-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[7892] | 81 | * Sat Oct 12 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.15-1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
[7557] | 84 | * Sat Mar 16 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.14-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[5901] | 87 | * Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.13-1 |
---|
| 88 | - Update to new release |
---|
| 89 | - dropt patch0 |
---|
| 90 | |
---|
[3803] | 91 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.12-1 |
---|
| 92 | - Update to new release |
---|
| 93 | |
---|
[1948] | 94 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.11-1 |
---|
| 95 | - Update to new release |
---|
| 96 | |
---|
[1095] | 97 | * Sun May 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10-1 |
---|
| 98 | - Update to new release |
---|
| 99 | |
---|
[521] | 100 | * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9-1 |
---|
| 101 | - Update to new release |
---|
| 102 | |
---|
| 103 | * Sun Sep 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.8-1 |
---|
| 104 | - Update to new release |
---|
| 105 | |
---|
| 106 | * Thu Jul 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7-1 |
---|
| 107 | - Update to new release |
---|
| 108 | |
---|
| 109 | * Wed Jun 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6-1 |
---|
| 110 | - Update to new release |
---|
| 111 | - dropt Source1 |
---|
| 112 | |
---|
| 113 | * Fri Apr 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1 |
---|
| 114 | - Update to new release |
---|
| 115 | - spec in UTF-8 |
---|
| 116 | |
---|
| 117 | * Thu Apr 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2 |
---|
| 118 | - changed Group to Applications/Archiving |
---|
| 119 | |
---|
| 120 | * Sat Apr 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1vl5 |
---|
| 121 | - initial build for VineSeed (import Fedora Package) |
---|
| 122 | |
---|
| 123 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Sun Feb 15 2009 Till Maas <opensource@till.name> - 1.4-1 |
---|
| 127 | - Update to new release |
---|
| 128 | - Add compile fixes for gcc 4.4 (missing #include <cstdio.h>) |
---|
| 129 | |
---|
| 130 | * Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.1-2 |
---|
| 131 | - fix type in summary |
---|
| 132 | - call testsuite in %%check |
---|
| 133 | - remove empty TODO file from %%doc |
---|
| 134 | |
---|
| 135 | * Wed Nov 26 2008 Till Maas <opensource@till.name> - 1.1-1 |
---|
| 136 | - Initial spec for Fedora |
---|