SHA256
3
0
forked from pool/xz

Accepting request 51559 from Base:System

Accepted submit request 51559 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=14
This commit is contained in:
Ruediger Oertel 2010-10-28 10:20:38 +00:00 committed by Git OBS Bridge
commit 326f4f9ec7
6 changed files with 50 additions and 15 deletions

13
_service Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">tukaani.org</param>
<param name="path">/xz/xz-5.0.0.tar.bz2</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:xz-5.0.0.tar.bz2</param>
<param name="verifier">sha256</param>
<param name="checksum">47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8
size 1003920

View File

@ -1 +1 @@
liblzma0 liblzma5

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c
size 849062

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Oct 28 09:18:47 UTC 2010 - coolo@novell.com
- adapt baselibs.conf
-------------------------------------------------------------------
Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org
- Update to 5.0.0 final
* The major soname has been bumped to 5.0.0. liblzma API and ABI
are now stable.
* The memory usage limit is now disabled by default
* Added support for XZ_DEFAULTS environment variable
* The compression settings associated with the preset levels
have been changed,they are now less likely to make compression worse.
* Support for "xz --list" was added
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com

27
xz.spec
View File

@ -19,12 +19,12 @@
Name: xz Name: xz
Summary: A Program for Compressing Files Summary: A Program for Compressing Files
Version: 4.999.9beta Version: 5.0.0
Release: 3 Release: 3
Group: Productivity/Archiving/Compression Group: Productivity/Archiving/Compression
License: LGPLv2.1+ License: LGPLv2.1+
Url: http://tukaani.org/lzma/ Url: http://tukaani.org/lzma/
Source: %{name}-4.999.9beta.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config BuildRequires: pkg-config
@ -51,19 +51,21 @@ The xz command is a very powerful program for compressing files.
* Very similar command line interface to what gzip and bzip2 have. * Very similar command line interface to what gzip and bzip2 have.
%package -n liblzma0 %lang_package
%package -n liblzma5
License: LGPLv2.1+ License: LGPLv2.1+
Summary: LZMA library Summary: LZMA library
Group: System/Libraries Group: System/Libraries
%description -n liblzma0 %description -n liblzma5
Library for encoding/decoding LZMA files. Library for encoding/decoding LZMA files.
%package devel %package devel
License: LGPLv2.1+ License: LGPLv2.1+
Summary: Development package for the LZMA library Summary: Development package for the LZMA library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: liblzma0 = %{version} Requires: liblzma5 = %{version}
Provides: lzma-devel = %version Provides: lzma-devel = %version
Obsoletes: lzma-devel < %version Obsoletes: lzma-devel < %version
Provides: lzma-alpha-devel = %version Provides: lzma-alpha-devel = %version
@ -74,10 +76,10 @@ This package contains the header files and libraries needed for
compiling programs using the LZMA library. compiling programs using the LZMA library.
%prep %prep
%setup -q -n %{name}-4.999.9beta %setup -q
%build %build
AUTOPOINT=true autoreconf -fi AUTOPOINT=true autoreconf -fiv
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
@ -90,13 +92,14 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so
%{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} %{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
%{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} %{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la}
%find_lang %{name}
%clean %clean
rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT
%post -n liblzma0 -p /sbin/ldconfig %post -n liblzma5 -p /sbin/ldconfig
%postun -n liblzma0 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig
%files %files
%defattr(-, root, root) %defattr(-, root, root)
@ -104,9 +107,11 @@ rm -fr $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%{_mandir}/man?/* %{_mandir}/man?/*
%files -n liblzma0 %files lang -f %{name}.lang
%files -n liblzma5
%defattr(-, root, root) %defattr(-, root, root)
/%{_lib}/lib*.so.0* /%{_lib}/lib*.so.5*
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)