Группа :: Архивирование/Сжатие
Пакет: lzma-utils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
Name: lzma-utils
%define origname lzma
Version: 4.32.5
%define origversion %version
Release: alt1
Summary: Tools for creating LZMA-compressed files
License: GPL
Group: Archiving/Compression
URL: http://tukaani.org/lzma/
Packager: Damir Shayhutdinov <damir at altlinux.ru>
Source: http://tukaani.org/lzma/%origname-%origversion.tar.gz
BuildRequires: gcc-c++
%description
Set of programs for compressing, and decompressing single file or stream
with LZMA compression.
They has very similar command line interface than what gzip and bzip2 have.
Includes following utilities:
* lzcat
* lzcmp
* lzdiff
* lzgrep
* lzless/lzmore
* lzma/unlzma
* lzmadec
* lzmainfo
%package -n liblzmadec
Summary: Library for decoding LZMA-compressed files and streams.
Group: System/Libraries
%description -n liblzmadec
Library for decoding LZMA-compressed files and streams.
%package -n liblzmadec-devel
Summary: Headers for liblzmadec
Group: Development/C
Requires: liblzmadec = %version-%release
%description -n liblzmadec-devel
Headers for building software that uses liblzmadec
%if_enabled static
%package -n liblzmadec-devel-static
Summary: Static libraries for liblzmadec
Group: Development/C
Requires: liblzmadec-devel = %version-%release
%description
Static liblzmadec library
%endif
%prep
%setup -q -n %origname-%origversion
sed -i s at AC_CHECK_DECLS_ONCE at AC_CHECK_DECLS at g m4/getopt.m4
%build
autoreconf -fisv -I m4
%add_optflags -Wno-non-virtual-dtor
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -n liblzmadec -p %post_ldconfig
%postun -n liblzmadec -p %postun_ldconfig
%files
%exclude %_libdir/*.a
%doc AUTHORS README NEWS
%_bindir/*
%_man1dir/*
%files -n liblzmadec
%_libdir/*.so.*
%files -n liblzmadec-devel
%_libdir/*.so
%_includedir/*.h
%if_enabled static
%files -n liblzmadec-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: lzma-utils
%define origname lzma
Version: 4.32.5
%define origversion %version
Release: alt1
Summary: Tools for creating LZMA-compressed files
License: GPL
Group: Archiving/Compression
URL: http://tukaani.org/lzma/
Packager: Damir Shayhutdinov <damir at altlinux.ru>
Source: http://tukaani.org/lzma/%origname-%origversion.tar.gz
BuildRequires: gcc-c++
%description
Set of programs for compressing, and decompressing single file or stream
with LZMA compression.
They has very similar command line interface than what gzip and bzip2 have.
Includes following utilities:
* lzcat
* lzcmp
* lzdiff
* lzgrep
* lzless/lzmore
* lzma/unlzma
* lzmadec
* lzmainfo
%package -n liblzmadec
Summary: Library for decoding LZMA-compressed files and streams.
Group: System/Libraries
%description -n liblzmadec
Library for decoding LZMA-compressed files and streams.
%package -n liblzmadec-devel
Summary: Headers for liblzmadec
Group: Development/C
Requires: liblzmadec = %version-%release
%description -n liblzmadec-devel
Headers for building software that uses liblzmadec
%if_enabled static
%package -n liblzmadec-devel-static
Summary: Static libraries for liblzmadec
Group: Development/C
Requires: liblzmadec-devel = %version-%release
%description
Static liblzmadec library
%endif
%prep
%setup -q -n %origname-%origversion
sed -i s at AC_CHECK_DECLS_ONCE at AC_CHECK_DECLS at g m4/getopt.m4
%build
autoreconf -fisv -I m4
%add_optflags -Wno-non-virtual-dtor
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -n liblzmadec -p %post_ldconfig
%postun -n liblzmadec -p %postun_ldconfig
%files
%exclude %_libdir/*.a
%doc AUTHORS README NEWS
%_bindir/*
%_man1dir/*
%files -n liblzmadec
%_libdir/*.so.*
%files -n liblzmadec-devel
%_libdir/*.so
%_includedir/*.h
%if_enabled static
%files -n liblzmadec-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь