1 | Summary: Compatibility libraries for decoding LZMA compression |
---|
2 | Summary(ja): LZMA圧縮をデコードするための互換ライブラリ |
---|
3 | Name: liblzma0 |
---|
4 | Version: 4.999.9 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | License: LGPLv2+ |
---|
7 | Group: System Environment/Libraries |
---|
8 | Source0: http://tukaani.org/xz/xz-%{version}beta.tar.bz2 |
---|
9 | URL: http://tukaani.org/xz/ |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | Conflicts: xz-libs < %{version}-%{release} |
---|
12 | |
---|
13 | %description |
---|
14 | Compatibility libraries for decoding files compressed with LZMA or XZ utils. |
---|
15 | |
---|
16 | XZ Utils are an attempt to make LZMA compression easy to use on free (as in |
---|
17 | freedom) operating systems. This is achieved by providing tools and libraries |
---|
18 | which are similar to use than the equivalents of the most popular existing |
---|
19 | compression algorithms. |
---|
20 | |
---|
21 | %prep |
---|
22 | %setup -q -n xz-%{version}beta |
---|
23 | |
---|
24 | %build |
---|
25 | CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
26 | CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \ |
---|
27 | %configure --disable-static |
---|
28 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
29 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
30 | |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | %install |
---|
34 | rm -rf %{buildroot} |
---|
35 | mkdir -p %{buildroot}%{_libdir} |
---|
36 | cp -r src/liblzma/.libs/liblzma.so.0* %{buildroot}%{_libdir} |
---|
37 | |
---|
38 | %clean |
---|
39 | rm -rf %{buildroot} |
---|
40 | |
---|
41 | %post -p /sbin/ldconfig |
---|
42 | |
---|
43 | %postun -p /sbin/ldconfig |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc AUTHORS README THANKS COPYING.* ChangeLog |
---|
48 | %{_libdir}/lib*.so.* |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-3 |
---|
52 | - rename to liblzma0 to build as compatibility package. |
---|
53 | |
---|
54 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2 |
---|
55 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
56 | |
---|
57 | * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1 |
---|
58 | - initial build for Vine Linux |
---|
59 | |
---|
60 | * Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta |
---|
61 | - move xz man pages to main package, leave lzma ones where they belong (#566484) |
---|
62 | |
---|
63 | * Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta |
---|
64 | - sync with upstream again |
---|
65 | |
---|
66 | * Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta |
---|
67 | - sync with upstream to generate the same archives on machines with different |
---|
68 | endianess |
---|
69 | |
---|
70 | * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta |
---|
71 | - update to 4.999.9beta |
---|
72 | |
---|
73 | * Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git |
---|
74 | - sync with upstream because of #517806 |
---|
75 | |
---|
76 | * Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git |
---|
77 | - update to the latest GIT snapshot |
---|
78 | |
---|
79 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta |
---|
80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
81 | |
---|
82 | * Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta |
---|
83 | - tweak summary |
---|
84 | - add %%check section (<tibbs@math.uh.edu>) |
---|
85 | |
---|
86 | * Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta |
---|
87 | - fix release versioning to match guidelines |
---|
88 | - fix up lzma-compat summary/description |
---|
89 | - tweak licensing |
---|
90 | |
---|
91 | * Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5 |
---|
92 | - introduce lzma-compat subpackage |
---|
93 | |
---|
94 | * Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4 |
---|
95 | - try to not to conflict with lzma |
---|
96 | |
---|
97 | * Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3 |
---|
98 | - obsolete but don't provide lzma, they are largely incompatible |
---|
99 | - put beta to Release |
---|
100 | |
---|
101 | * Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2 |
---|
102 | - obsolete old lzma |
---|
103 | - add Requires: pkgconfig |
---|
104 | |
---|
105 | * Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1 |
---|
106 | - package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand |
---|