OBS User autobuild
2009-09-04 22:17:34 +00:00
committed by Git OBS Bridge
parent c12b7e35aa
commit 0492f972f9
5 changed files with 11 additions and 20 deletions

11
xz.spec
View File

@@ -19,12 +19,13 @@
Name: xz
Summary: A Program for Compressing Files
Version: 4.999.9beta
Version: 4.999.8git
Release: 1
Group: Productivity/Archiving/Compression
License: GPL v2 or later
Url: http://tukaani.org/lzma/
Source: %{name}-4.999.9beta.tar.bz2
Source: %{name}-4.999.8beta.tar.bz2
Patch0: xz-git.diff.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: lzma = %version
Obsoletes: lzma < %version
@@ -72,16 +73,14 @@ 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 -n %{name}-4.999.8beta
%patch0 -p1
%build
AUTOPOINT=true autoreconf -fi
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
make %{?jobs:-j%jobs}
%check
LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%{__mkdir_p} %{buildroot}%{_libdir}