Accepting request 84931 from devel:tools:building
- build on SLE_10 OBS-URL: https://build.opensuse.org/request/show/84931 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=36
This commit is contained in:
parent
fb37366cd4
commit
a7bc0d922d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 26 15:59:51 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- build on SLE_10
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com
|
Sat Sep 17 15:19:50 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
25
xz.spec
25
xz.spec
@ -27,10 +27,19 @@ Url: http://tukaani.org/lzma/
|
|||||||
Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2
|
Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
Provides: lzma = %version
|
Provides: lzma = %version
|
||||||
Obsoletes: lzma < %version
|
Obsoletes: lzma < %version
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1400
|
||||||
|
%define do_factory 1
|
||||||
|
%else
|
||||||
|
%define do_profiling 0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?do_factory} > 1
|
||||||
Recommends: %name-lang
|
Recommends: %name-lang
|
||||||
|
%endif
|
||||||
# avoid bootstrapping problem
|
# avoid bootstrapping problem
|
||||||
%define _binary_payload w9.bzdio
|
%define _binary_payload w9.bzdio
|
||||||
|
|
||||||
@ -52,8 +61,10 @@ 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.
|
||||||
|
|
||||||
|
%if 0%{?do_factory} > 1
|
||||||
%lang_package
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n liblzma5
|
%package -n liblzma5
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: LZMA library
|
Summary: LZMA library
|
||||||
@ -80,7 +91,6 @@ compiling programs using the LZMA library.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
AUTOPOINT=true autoreconf -fiv
|
|
||||||
%if %{do_profiling}
|
%if %{do_profiling}
|
||||||
profiledir=$(mktemp -d)
|
profiledir=$(mktemp -d)
|
||||||
trap "rm -rf $profiledir" EXIT
|
trap "rm -rf $profiledir" EXIT
|
||||||
@ -111,13 +121,22 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%postun -n liblzma5 -p /sbin/ldconfig
|
%postun -n liblzma5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?do_factory} > 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%else
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%endif
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_docdir/%name
|
%_docdir/%name
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
|
%if 0%{?do_factory} > 0
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n liblzma5
|
%files -n liblzma5
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user