]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - xz/xz.nm
ez-ipupdate: Remove package
[people/ms/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.6
8 release = 1
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 configure_options += --disable-rpath
30
31 build_cmds
32 # Build compat version of library.
33 cd %{DIR_SRC}/%{name}-%{compat_version}
34 ./configure %{configure_options}
35 %{MACRO_FIX_LIBTOOL}
36 make %{PARALLELISMFLAGS}
37 end
38
39 test
40 export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
41 make check
42 end
43
44 install_cmds
45 # Install comapt version of library.
46 cd %{DIR_SRC}/%{name}-%{compat_version}
47 cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}%{libdir}
48 end
49 end
50
51 packages
52 package %{name}
53 groups += Build
54 end
55
56 package %{name}-libs
57 template LIBS
58 end
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package xz-lzma-compat
65 summary = Older LZMA format compatibility binaries.
66 description
67 The xz-lzma-compat package contains compatibility
68 links for older commands that deal with the older
69 LZMA format.
70 end
71 license = GPLv2+ and LGPLv2+
72 groups += Build
73
74 requires = %{name}=%{thisver}
75 provides = lzma
76
77 files
78 /usr/bin/*lz*
79 /usr/share/man/man1/*lz*
80 end
81 end
82
83 package xz-compat-libs
84 summary = Compatibility version of %{name} (%{compat_version}).
85
86 files
87 %{libdir}/lib*.so.0*
88 end
89 end
90
91 package %{name}-debuginfo
92 template DEBUGINFO
93 end
94 end