diff --git a/README.md b/README.md index b4b9cbd..e460ce1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # xz +Utilities for the .xz and .lzma formats. +lzma is a file compression utility with a high compression ratio. +Features: + * Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2. + * Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2. + * In fast mode, compresses faster than bzip2 with a comparable compression ratio. + * Achieving the best compression ratios takes four to even twelve times longer than with bzip2. However. this doesn't affect decompressing speed. + * Very similar command line interface than what gzip and bzip2 have. + * The patch for GNU tar integrates LZMA compression with the tar command in the same way as with gzip and bzip2. + * Free software licensed under the GNU GPL (actually most parts are under the GNU LGPL). + diff --git a/xz.spec b/xz.spec new file mode 100644 index 0000000..dc7e7d3 --- /dev/null +++ b/xz.spec @@ -0,0 +1,135 @@ +Name: xz +Version: 5.0.5 +Release: 1mamba +Summary: Utilities for the .xz and .lzma formats +Group: Applications/Archiving +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://tukaani.org/xz +Source: http://tukaani.org/xz/xz-%{version}.tar.gz +License: GPL +Provides: lzma +Obsoletes: lzma +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +Requires: liblzma = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Utilities for the .xz and .lzma formats. +lzma is a file compression utility with a high compression ratio. +Features: + * Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2. + * Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2. + * In fast mode, compresses faster than bzip2 with a comparable compression ratio. + * Achieving the best compression ratios takes four to even twelve times longer than with bzip2. However. this doesn't affect decompressing speed. + * Very similar command line interface than what gzip and bzip2 have. + * The patch for GNU tar integrates LZMA compression with the tar command in the same way as with gzip and bzip2. + * Free software licensed under the GNU GPL (actually most parts are under the GNU LGPL). + +%package -n liblzma +Summary: A library implementing the LZMA compression algorythm +Group: System/Libraries + +%description -n liblzma +lzma is a file compression utility with a high compression ratio. +Features: + * Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2. + * Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2. + * In fast mode, compresses faster than bzip2 with a comparable compression ratio. + * Achieving the best compression ratios takes four to even twelve times longer than with bzip2. However. this doesn't affect decompressing speed. + * Very similar command line interface than what gzip and bzip2 have. + * The patch for GNU tar integrates LZMA compression with the tar command in the same way as with gzip and bzip2. + * Free software licensed under the GNU GPL (actually most parts are under the GNU LGPL). +This package contains the libzmla dynamic library. + +%package -n liblzma-devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n liblzma-devel +Utilities for the .xz and .lzma formats. +lzma is a file compression utility with a high compression ratio. +Features: + * Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2. + * Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2. + * In fast mode, compresses faster than bzip2 with a comparable compression ratio. + * Achieving the best compression ratios takes four to even twelve times longer than with bzip2. However. this doesn't affect decompressing speed. + * Very similar command line interface than what gzip and bzip2 have. + * The patch for GNU tar integrates LZMA compression with the tar command in the same way as with gzip and bzip2. + * Free software licensed under the GNU GPL (actually most parts are under the GNU LGPL). +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +%find_lang %{name} + +%post -n liblzma -p /sbin/ldconfig +%postun -n liblzma -p /sbin/ldconfig + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/lz* +%{_bindir}/unlzma +%{_bindir}/unxz +%{_bindir}/xz* +%{_mandir}/man1/lz*.1.gz +%{_mandir}/man1/unlzma.1.gz +%{_mandir}/man1/unxz.1.gz +%{_mandir}/man1/xz*.1.gz +%doc AUTHORS ChangeLog README THANKS + +%files -n liblzma +%defattr(-,root,root) +%{_libdir}/liblzma.so.* +%doc COPYING + +%files -n liblzma-devel +%defattr(-,root,root) +%{_includedir}/*.h +%dir %{_includedir}/lzma +%{_includedir}/lzma/*.h +%{_libdir}/liblzma.a +%{_libdir}/liblzma.la +%{_libdir}/liblzma.so +%{_docdir}/xz/* +%{_libdir}/pkgconfig/*.pc + +%changelog +* Mon Jul 01 2013 Automatic Build System 5.0.5-1mamba +- automatic version update by autodist + +* Sat Jun 23 2012 Automatic Build System 5.0.4-1mamba +- automatic version update by autodist + +* Sat Jul 02 2011 Automatic Build System 5.0.3-1mamba +- automatic update by autodist + +* Sat May 21 2011 Silvan Calarco 5.0.2-1mamba +- update to 5.0.2 + +* Wed Feb 02 2011 Automatic Build System 5.0.1-1mamba +- automatic update by autodist + +* Tue Nov 02 2010 Automatic Build System 5.0.0-1mamba +- automatic update by autodist + +* Mon Oct 26 2009 Automatic Build System 4.999.9beta-1mamba +- automatic update by autodist + +* Fri Aug 14 2009 Silvan Calarco 4.999.8beta-1mamba +- package created by autospec