File lzma-alpha-devel.spec of Package lzma-alpha-devel
#
# spec file for package lzma-alpha-devel (Version 4.42.3alpha)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: lzma-alpha-devel
Summary: A Program for Compressing Files
Version: 4.42.3alpha
Release: 13
Group: Development/Tools/Building
License: GPL v2 or later; GPL v3 or later; LGPL v2.1 or later
Url: http://tukaani.org/lzma/
Source: lzma-utils-20080429.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
lzma is a very powerful program for compressing files.
* 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.
%prep
%setup -q -n lzma-utils
%build
export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%configure --with-pic --disable-rpath --enable-werror --disable-shared
%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
#empty dependency_libs
rm -f %{buildroot}%{_libdir}/*.la
%find_lang lzma
%check
make check
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%exclude %{_bindir}/*
%exclude %{_mandir}/man?/*.gz
%exclude /usr/share/locale
%_includedir/lzma
%_includedir/lzma.h
%exclude %_libdir/pkgconfig/lzma.pc
%_libdir/liblzma.a
%changelog
* Fri May 02 2008 coolo@suse.de
- updated to latest GIT:
Prevent LZ encoder from hanging with known uncompressed
size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
with known uncompressed size, but since it currently seems
likely that support for encoding with known uncompressed
size will go away anyway, I'm not fixing this problem now.
- pregenerate build files for less version dependencies
* Sat Mar 15 2008 coolo@suse.de
- only package a static library with headers, the file format
is not yet finished, so it should be used with care
* Thu Mar 13 2008 schwab@suse.de
- Add unlzma as alias for lzmadec.
* Tue Mar 11 2008 coolo@suse.de
- update to latest git
- only minor cleanup
* Sat Jan 26 2008 coolo@suse.de
- update to latest git
- enable Werror
- reenable assembler
- run make check
* Tue Jan 15 2008 coolo@suse.de
- initial package of alpha snapshot