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