]> git.ipfire.org Git - ipfire-3.x.git/blob - compat-xz/compat-xz.nm
python-setuputils: Update to 40.4.3
[ipfire-3.x.git] / compat-xz / compat-xz.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-xz
7 version = 4.999.9beta
8 release = 1
9
10 thisapp = xz-%{version}
11
12 groups = Applications/Compression
13 url = http://tukaani.org/xz/
14 license = LGPLv2+
15 summary = LZMA Utils.
16
17 description
18 LZMA provides very high compression ratio and fast decompression. The
19 core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
20 LZMA encoder/decoder. LZMA utils add a few scripts which provide
21 gzip-like command line interface and a couple of other LZMA related
22 tools.
23 end
24
25 source_dl = http://tukaani.org/xz/
26 sources = %{thisapp}.tar.xz
27
28 build
29 configure_options += \
30 --disable-rpath
31
32 test
33 export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
34 make check
35 end
36
37 install
38 # Only install libraries.
39 mkdir -pv %{BUILDROOT}%{libdir}
40 cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}%{libdir}
41 end
42 end
43
44 packages
45 package %{name}
46 provides
47 xz = %{thisver}
48 end
49
50 obsoletes
51 xz-compat
52 end
53
54 conflicts
55 xz <= %{thisver}
56 end
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end