mirror of
https://abf.rosa.ru/djam/lzma.git
synced 2025-02-23 17:52:49 +00:00
Spec cleanup
This commit is contained in:
parent
f5ac37b4d7
commit
fbbd7a9476
1 changed files with 17 additions and 18 deletions
27
lzmadec.spec
27
lzmadec.spec
|
@ -2,15 +2,15 @@
|
|||
%define oldlzmaver 4.32.7
|
||||
%define major 0
|
||||
%define libname %mklibname lzmadec %{major}
|
||||
%define libdev %mklibname -d lzmadec
|
||||
%define devname %mklibname lzmadec -d
|
||||
|
||||
Summary: LZMA utils
|
||||
Name: lzmadec
|
||||
Version: 4.43
|
||||
Release: 33
|
||||
License: GPL
|
||||
Release: 35
|
||||
License: GPLv2+
|
||||
Group: Archiving/Compression
|
||||
URL: http://tukaani.org/lzma/
|
||||
Url: http://tukaani.org/lzma/
|
||||
Source0: http://tukaani.org/lzma/lzma-%{oldlzmaver}.tar.lzma
|
||||
Source1: http://ovh.dl.sourceforge.net/sourceforge/sevenzip/lzma443.tar.bz2
|
||||
Source3: sqlzma.h
|
||||
|
@ -28,10 +28,10 @@ Patch9: lzma-4.32.4-text-tune.patch
|
|||
# 4.32.2 has changes to sdk that we replace with newer, we apply these to the new
|
||||
Patch12: lzma-4.32.2-sdk-changes.patch
|
||||
Patch16: lzma-4.32.7-format_not_a_string_literal_and_no_format_arguments.diff
|
||||
BuildRequires: diffutils
|
||||
BuildRequires: dos2unix
|
||||
# for squashfs-lzma library
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: diffutils
|
||||
|
||||
%description
|
||||
LZMA provides very high compression ratio and fast decompression. The
|
||||
|
@ -59,8 +59,8 @@ tools. Also provides:
|
|||
|
||||
%package -n %{libname}
|
||||
Summary: Libraries for decoding LZMA compression
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
License: LGPL
|
||||
Provides: %{_lib}%{oname}%{major} = %{EVRD}
|
||||
|
||||
%description -n %{libname}
|
||||
|
@ -71,18 +71,18 @@ Libraries for decoding LZMA compression.
|
|||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libdev}
|
||||
%package -n %{devname}
|
||||
Summary: Devel libraries & headers for liblzmadec
|
||||
License: LGPLv2.1+
|
||||
Group: Development/C
|
||||
License: LGPL
|
||||
Provides: liblzmadec-devel = %{EVRD}
|
||||
Provides: %{oname}-devel = %{EVRD}
|
||||
Requires: %{libname} = %{EVRD}
|
||||
|
||||
%description -n %{libdev}
|
||||
%description -n %{devname}
|
||||
Devel libraries & headers for liblzmadec.
|
||||
|
||||
%files -n %{libdev}
|
||||
%files -n %{devname}
|
||||
%doc *.txt
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
|
@ -92,10 +92,9 @@ Devel libraries & headers for liblzmadec.
|
|||
|
||||
%package -n dkms-%{oname}
|
||||
Summary: Kernel modules for decoding LZMA compression
|
||||
License: GPLv2+
|
||||
Group: System/Kernel and hardware
|
||||
License: GPL
|
||||
Requires(post): dkms
|
||||
Requires(preun): dkms
|
||||
Requires(post,preun): dkms
|
||||
|
||||
%description -n dkms-%{oname}
|
||||
Kernel modules for decoding LZMA compression.
|
||||
|
|
Loading…
Add table
Reference in a new issue