]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - xz/xz.nm
python3-cairo: Rebuild against Python 3.4
[people/amarx/ipfire-3.x.git] / xz / xz.nm
index d43805250280c46ed8ca817cb5e0112f843376b8..d27da325600e86bc22b2710620b1d7f71ec59e56 100644 (file)
--- a/xz/xz.nm
+++ b/xz/xz.nm
@@ -4,10 +4,8 @@
 ###############################################################################
 
 name       = xz
-version    = 5.0.3
-release    = 5
-
-compat_version = 4.999.9beta
+version    = 5.2.1
+release    = 1
 
 groups     = Applications/Compression
 url        = http://tukaani.org/xz/
@@ -15,28 +13,23 @@ license    = LGPLv2+
 summary    = LZMA Utils.
 
 description
-       LZMA provides very high compression ratio and fast decompression. The \
-       core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual \
-       LZMA encoder/decoder. LZMA utils add a few scripts which provide \
-       gzip-like command line interface and a couple of other LZMA related \
+       LZMA provides very high compression ratio and fast decompression. The
+       core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
+       LZMA encoder/decoder. LZMA utils add a few scripts which provide
+       gzip-like command line interface and a couple of other LZMA related
        tools.
 end
 
 source_dl  = http://tukaani.org/xz/
-sources    = %{thisapp}.tar.xz %{name}-%{compat_version}.tar.xz
+sources    = %{thisapp}.tar.xz
 
 build
-       build_cmds
-               # Build compat version of library.
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               ./configure %{configure_options}
-               make %{PARALLELISMFLAGS}
-       end
+       configure_options += \
+               --disable-rpath
 
-       install_cmds
-               # Install comapt version of library.
-               cd %{DIR_SRC}/%{name}-%{compat_version}
-               cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}/usr/lib
+       test
+               export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
+               make check
        end
 end
 
@@ -72,11 +65,7 @@ packages
                end
        end
 
-       package xz-compat-libs
-               summary = Compatibility version of %{name} (%{compat_version}).
-
-               files
-                       /usr/lib/lib*.so.0*
-               end
+       package %{name}-debuginfo
+               template DEBUGINFO
        end
 end