[521] | 1 | Summary: LZMA compression utilities |
---|
| 2 | Summary(ja): LZMA 圧縮ユーティリティ |
---|
| 3 | Name: xz |
---|
[7938] | 4 | Version: 5.0.5 |
---|
[2455] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: LGPLv2+ |
---|
[3453] | 7 | Group: Applications/Archiving |
---|
[7938] | 8 | Source0: http://tukaani.org/%{name}/%{name}-%{version}.tar.xz |
---|
[521] | 9 | URL: http://tukaani.org/%{name}/ |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 12 | |
---|
[3453] | 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | |
---|
[521] | 16 | %description |
---|
| 17 | XZ Utils are an attempt to make LZMA compression easy to use on free (as in |
---|
| 18 | freedom) operating systems. This is achieved by providing tools and libraries |
---|
| 19 | which are similar to use than the equivalents of the most popular existing |
---|
| 20 | compression algorithms. |
---|
| 21 | |
---|
| 22 | LZMA is a general purpose compression algorithm designed by Igor Pavlov as |
---|
| 23 | part of 7-Zip. It provides high compression ratio while keeping the |
---|
| 24 | decompression speed fast. |
---|
| 25 | |
---|
| 26 | %package libs |
---|
| 27 | Summary: Libraries for decoding LZMA compression |
---|
| 28 | Summary(ja): LZMA圧縮をデコードするためのライブラリ |
---|
| 29 | Group: System Environment/Libraries |
---|
| 30 | License: LGPLv2+ |
---|
| 31 | |
---|
| 32 | %description libs |
---|
| 33 | Libraries for decoding files compressed with LZMA or XZ utils. |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Devel libraries & headers for liblzma |
---|
| 37 | Summary(ja): liblzma の開発ライブラリとヘッダファイル |
---|
| 38 | Group: Development/Libraries |
---|
| 39 | License: LGPLv2+ |
---|
| 40 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 41 | Requires: pkgconfig |
---|
| 42 | |
---|
| 43 | %description devel |
---|
| 44 | Devel libraries and headers for liblzma. |
---|
| 45 | |
---|
| 46 | %package lzma-compat |
---|
| 47 | Summary: Older LZMA format compatibility binaries |
---|
| 48 | Summary(ja): 旧式のLZMAフォーマット互換バイナリ |
---|
| 49 | Group: Development/Libraries |
---|
| 50 | # lz{grep,diff,more} are GPLv2+. Other binaries are LGPLv2+ |
---|
| 51 | License: GPLv2+ and LGPLv2+ |
---|
| 52 | Requires: %{name} = %{version}-%{release} |
---|
| 53 | Obsoletes: lzma < 5 |
---|
| 54 | Provides: lzma = 5 |
---|
| 55 | |
---|
| 56 | %description lzma-compat |
---|
| 57 | The lzma-compat package contains compatibility links for older |
---|
| 58 | commands that deal with the older LZMA format. |
---|
| 59 | |
---|
| 60 | %prep |
---|
[2455] | 61 | %setup -q |
---|
[521] | 62 | |
---|
| 63 | %build |
---|
| 64 | CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
| 65 | CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
| 66 | %configure --disable-static |
---|
| 67 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 68 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 69 | |
---|
| 70 | make %{?_smp_mflags} |
---|
| 71 | |
---|
| 72 | %install |
---|
| 73 | rm -rf %{buildroot} |
---|
| 74 | make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" |
---|
| 75 | rm -f %{buildroot}/%{_libdir}/*.a |
---|
| 76 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
| 77 | rm -rf %{buildroot}/%{_docdir}/%{name} |
---|
| 78 | |
---|
| 79 | %check |
---|
| 80 | LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check |
---|
| 81 | |
---|
| 82 | %clean |
---|
| 83 | rm -rf %{buildroot} |
---|
| 84 | |
---|
| 85 | %post libs -p /sbin/ldconfig |
---|
| 86 | |
---|
| 87 | %postun libs -p /sbin/ldconfig |
---|
| 88 | |
---|
| 89 | %files |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | %doc AUTHORS README THANKS COPYING.* ChangeLog |
---|
| 92 | %{_bindir}/*xz* |
---|
| 93 | %{_mandir}/man1/*xz* |
---|
| 94 | |
---|
| 95 | %files libs |
---|
| 96 | %defattr(-,root,root,-) |
---|
| 97 | %doc COPYING.* |
---|
| 98 | %{_libdir}/lib*.so.* |
---|
| 99 | |
---|
| 100 | %files devel |
---|
| 101 | %defattr(-,root,root,-) |
---|
| 102 | %dir %{_includedir}/lzma |
---|
| 103 | %{_includedir}/lzma/*.h |
---|
| 104 | %{_includedir}/lzma.h |
---|
| 105 | %{_libdir}/*.so |
---|
| 106 | %{_libdir}/pkgconfig/liblzma.pc |
---|
| 107 | |
---|
| 108 | %files lzma-compat |
---|
| 109 | %defattr(-,root,root,-) |
---|
| 110 | %{_bindir}/*lz* |
---|
| 111 | %{_mandir}/man1/*lz* |
---|
| 112 | |
---|
| 113 | %changelog |
---|
[7938] | 114 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0.5-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[6953] | 117 | * Fri Oct 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.0.4-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[3453] | 120 | * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.0.2-1 |
---|
| 121 | - new upstream release |
---|
| 122 | - fix Group: <BTS:VineLinux:1119> |
---|
| 123 | - add Vendor and Distribution tags |
---|
| 124 | |
---|
[2455] | 125 | * Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[1901] | 128 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2 |
---|
| 129 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 130 | |
---|
[521] | 131 | * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1 |
---|
| 132 | - initial build for Vine Linux |
---|
| 133 | |
---|
| 134 | * Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta |
---|
| 135 | - move xz man pages to main package, leave lzma ones where they belong (#566484) |
---|
| 136 | |
---|
| 137 | * Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta |
---|
| 138 | - sync with upstream again |
---|
| 139 | |
---|
| 140 | * Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta |
---|
| 141 | - sync with upstream to generate the same archives on machines with different |
---|
| 142 | endianess |
---|
| 143 | |
---|
| 144 | * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta |
---|
| 145 | - update to 4.999.9beta |
---|
| 146 | |
---|
| 147 | * Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git |
---|
| 148 | - sync with upstream because of #517806 |
---|
| 149 | |
---|
| 150 | * Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git |
---|
| 151 | - update to the latest GIT snapshot |
---|
| 152 | |
---|
| 153 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta |
---|
| 154 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 155 | |
---|
| 156 | * Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta |
---|
| 157 | - tweak summary |
---|
| 158 | - add %%check section (<tibbs@math.uh.edu>) |
---|
| 159 | |
---|
| 160 | * Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta |
---|
| 161 | - fix release versioning to match guidelines |
---|
| 162 | - fix up lzma-compat summary/description |
---|
| 163 | - tweak licensing |
---|
| 164 | |
---|
| 165 | * Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5 |
---|
| 166 | - introduce lzma-compat subpackage |
---|
| 167 | |
---|
| 168 | * Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4 |
---|
| 169 | - try to not to conflict with lzma |
---|
| 170 | |
---|
| 171 | * Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3 |
---|
| 172 | - obsolete but don't provide lzma, they are largely incompatible |
---|
| 173 | - put beta to Release |
---|
| 174 | |
---|
| 175 | * Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2 |
---|
| 176 | - obsolete old lzma |
---|
| 177 | - add Requires: pkgconfig |
---|
| 178 | |
---|
| 179 | * Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1 |
---|
| 180 | - package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand |
---|