]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - xz/xz.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / xz / xz.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af
MT
6name = xz
7version = 5.0.3
a6ed23c7 8release = 6
0497e11d
MT
9
10compat_version = 4.999.9beta
166a6c21 11
ebaa4f76 12groups = Applications/Compression
802ea3af 13url = http://tukaani.org/xz/
ebaa4f76 14license = LGPLv2+
802ea3af 15summary = LZMA Utils.
166a6c21 16
802ea3af 17description
166a6c21
MT
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.
802ea3af
MT
23end
24
ae24b962 25source_dl = http://tukaani.org/xz/
0497e11d
MT
26sources = %{thisapp}.tar.xz %{name}-%{compat_version}.tar.xz
27
28build
29 build_cmds
30 # Build compat version of library.
31 cd %{DIR_SRC}/%{name}-%{compat_version}
32 ./configure %{configure_options}
33 make %{PARALLELISMFLAGS}
34 end
35
a6ed23c7
MT
36 test
37 export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
38 make check
39 end
40
0497e11d
MT
41 install_cmds
42 # Install comapt version of library.
43 cd %{DIR_SRC}/%{name}-%{compat_version}
44 cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}/usr/lib
45 end
46end
802ea3af
MT
47
48packages
49 package %{name}
ebaa4f76
MT
50 groups += Build
51 end
802ea3af 52
802ea3af
MT
53 package %{name}-libs
54 template LIBS
55 end
8b6ec1e2
MT
56
57 package %{name}-devel
58 template DEVEL
59 end
ebaa4f76
MT
60
61 package xz-lzma-compat
62 summary = Older LZMA format compatibility binaries.
63 description
64 The xz-lzma-compat package contains compatibility
65 links for older commands that deal with the older
66 LZMA format.
67 end
68 license = GPLv2+ and LGPLv2+
a6988ba2 69 groups += Build
ebaa4f76
MT
70
71 requires = %{name}=%{thisver}
a6988ba2 72 provides = lzma
ebaa4f76
MT
73
74 files
75 /usr/bin/*lz*
76 /usr/share/man/man1/*lz*
77 end
78 end
0497e11d
MT
79
80 package xz-compat-libs
81 summary = Compatibility version of %{name} (%{compat_version}).
82
83 files
84 /usr/lib/lib*.so.0*
85 end
86 end
1f9bc2f0
MT
87
88 package %{name}-debuginfo
89 template DEBUGINFO
90 end
802ea3af 91end