|
@@ -0,0 +1,106 @@
|
|
|
|
+Summary: Compatibility libraries for decoding LZMA compression
|
|
|
|
+Summary(ja): LZMA圧縮をデコードするための互換ライブラリ
|
|
|
|
+Name: liblzma0
|
|
|
|
+Version: 4.999.9
|
|
|
|
+Release: 3%{?_dist_release}
|
|
|
|
+License: LGPLv2+
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Source0: http://tukaani.org/xz/xz-%{version}beta.tar.bz2
|
|
|
|
+URL: http://tukaani.org/xz/
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
+Conflicts: xz-libs < %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description
|
|
|
|
+Compatibility libraries for decoding files compressed with LZMA or XZ utils.
|
|
|
|
+
|
|
|
|
+XZ Utils are an attempt to make LZMA compression easy to use on free (as in
|
|
|
|
+freedom) operating systems. This is achieved by providing tools and libraries
|
|
|
|
+which are similar to use than the equivalents of the most popular existing
|
|
|
|
+compression algorithms.
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%setup -q -n xz-%{version}beta
|
|
|
|
+
|
|
|
|
+%build
|
|
|
|
+CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
|
|
|
|
+CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
|
|
|
|
+%configure --disable-static
|
|
|
|
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
+
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
+
|
|
|
|
+%install
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+mkdir -p %{buildroot}%{_libdir}
|
|
|
|
+cp -r src/liblzma/.libs/liblzma.so.0* %{buildroot}%{_libdir}
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%files
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%doc AUTHORS README THANKS COPYING.* ChangeLog
|
|
|
|
+%{_libdir}/lib*.so.*
|
|
|
|
+
|
|
|
|
+%changelog
|
|
|
|
+* Fri Jan 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-3
|
|
|
|
+- rename to liblzma0 to build as compatibility package.
|
|
|
|
+
|
|
|
|
+* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.999.9-2
|
|
|
|
+- rebuild with rpm-4.8.1 for pkg-config file
|
|
|
|
+
|
|
|
|
+* Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.999.9-1
|
|
|
|
+- initial build for Vine Linux
|
|
|
|
+
|
|
|
|
+* Thu Feb 18 2010 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.2.20091007.beta
|
|
|
|
+- move xz man pages to main package, leave lzma ones where they belong (#566484)
|
|
|
|
+
|
|
|
|
+* Wed Oct 07 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091007.beta
|
|
|
|
+- sync with upstream again
|
|
|
|
+
|
|
|
|
+* Fri Oct 02 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.20091002.beta
|
|
|
|
+- sync with upstream to generate the same archives on machines with different
|
|
|
|
+ endianess
|
|
|
|
+
|
|
|
|
+* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 4.999.9-0.1.beta
|
|
|
|
+- update to 4.999.9beta
|
|
|
|
+
|
|
|
|
+* Mon Aug 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.10.beta.20090817git
|
|
|
|
+- sync with upstream because of #517806
|
|
|
|
+
|
|
|
|
+* Tue Aug 04 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8-0.9.beta.20090804git
|
|
|
|
+- update to the latest GIT snapshot
|
|
|
|
+
|
|
|
|
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.999.8-0.8.beta
|
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
+
|
|
|
|
+* Fri Jul 17 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.7.beta
|
|
|
|
+- tweak summary
|
|
|
|
+- add %%check section (<tibbs@math.uh.edu>)
|
|
|
|
+
|
|
|
|
+* Thu Jul 09 2009 Bill Nottingham <notting@redhat.com> 4.999.8-0.6.beta
|
|
|
|
+- fix release versioning to match guidelines
|
|
|
|
+- fix up lzma-compat summary/description
|
|
|
|
+- tweak licensing
|
|
|
|
+
|
|
|
|
+* Mon Jun 22 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.5
|
|
|
|
+- introduce lzma-compat subpackage
|
|
|
|
+
|
|
|
|
+* Fri Jun 19 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.4
|
|
|
|
+- try to not to conflict with lzma
|
|
|
|
+
|
|
|
|
+* Thu Jun 18 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.3
|
|
|
|
+- obsolete but don't provide lzma, they are largely incompatible
|
|
|
|
+- put beta to Release
|
|
|
|
+
|
|
|
|
+* Wed Jun 17 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.2
|
|
|
|
+- obsolete old lzma
|
|
|
|
+- add Requires: pkgconfig
|
|
|
|
+
|
|
|
|
+* Tue Jun 16 2009 Jindrich Novy <jnovy@redhat.com> 4.999.8beta-0.1
|
|
|
|
+- package XZ Utils, based on LZMA Utils packaged by Per Patrice Bouchand
|