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:
commit
326f4f9ec7
13
_service
Normal file
13
_service
Normal 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>
|
3
_service:download_url:xz-5.0.0.tar.bz2
Normal file
3
_service:download_url:xz-5.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8
|
||||
size 1003920
|
@ -1 +1 @@
|
||||
liblzma0
|
||||
liblzma5
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c
|
||||
size 849062
|
17
xz.changes
17
xz.changes
@ -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
|
||||
|
||||
|
27
xz.spec
27
xz.spec
@ -19,12 +19,12 @@
|
||||
|
||||
Name: xz
|
||||
Summary: A Program for Compressing Files
|
||||
Version: 4.999.9beta
|
||||
Version: 5.0.0
|
||||
Release: 3
|
||||
Group: Productivity/Archiving/Compression
|
||||
License: LGPLv2.1+
|
||||
Url: http://tukaani.org/lzma/
|
||||
Source: %{name}-4.999.9beta.tar.bz2
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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.
|
||||
|
||||
%package -n liblzma0
|
||||
%lang_package
|
||||
|
||||
%package -n liblzma5
|
||||
License: LGPLv2.1+
|
||||
Summary: LZMA library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n liblzma0
|
||||
%description -n liblzma5
|
||||
Library for encoding/decoding LZMA files.
|
||||
|
||||
%package devel
|
||||
License: LGPLv2.1+
|
||||
Summary: Development package for the LZMA library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: liblzma0 = %{version}
|
||||
Requires: liblzma5 = %{version}
|
||||
Provides: lzma-devel = %version
|
||||
Obsoletes: lzma-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.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-4.999.9beta
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
AUTOPOINT=true autoreconf -fiv
|
||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
|
||||
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
|
||||
%{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
||||
%{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la}
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
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
|
||||
%defattr(-, root, root)
|
||||
@ -104,9 +107,11 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%files -n liblzma0
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files -n liblzma5
|
||||
%defattr(-, root, root)
|
||||
/%{_lib}/lib*.so.0*
|
||||
/%{_lib}/lib*.so.5*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user