]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - xz/xz.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / xz / xz.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xz
7 version = 5.0.3
8 release = 6
9
10 compat_version = 4.999.9beta
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 %{name}-%{compat_version}.tar.xz
27
28 build
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
36 test
37 export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
38 make check
39 end
40
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
46 end
47
48 packages
49 package %{name}
50 groups += Build
51 end
52
53 package %{name}-libs
54 template LIBS
55 end
56
57 package %{name}-devel
58 template DEVEL
59 end
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+
69 groups += Build
70
71 requires = %{name}=%{thisver}
72 provides = lzma
73
74 files
75 /usr/bin/*lz*
76 /usr/share/man/man1/*lz*
77 end
78 end
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
87
88 package %{name}-debuginfo
89 template DEBUGINFO
90 end
91 end