]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
xz: Create a compat package for LZMA commands.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Oct 2011 12:45:56 +0000 (14:45 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Oct 2011 12:45:56 +0000 (14:45 +0200)
xz/xz.nm

index a44f47278afb557c80fd4719a0c7d672091dd344..829cba6203e7dec81c41794ff7283a314ca3aaa1 100644 (file)
--- a/xz/xz.nm
+++ b/xz/xz.nm
@@ -5,11 +5,11 @@
 
 name       = xz
 version    = 5.0.3
-release    = 2
+release    = 3
 
-groups     = Build Applications/Compression
+groups     = Applications/Compression
 url        = http://tukaani.org/xz/
-license    = GPLv2+
+license    = LGPLv2+
 summary    = LZMA Utils.
 
 description
@@ -25,6 +25,8 @@ sources    = %{thisapp}.tar.xz
 
 packages
        package %{name}
+               groups += Build
+       end
 
        package %{name}-libs
                template LIBS
@@ -33,4 +35,21 @@ packages
        package %{name}-devel
                template DEVEL
        end
+
+       package xz-lzma-compat
+               summary = Older LZMA format compatibility binaries.
+               description
+                       The xz-lzma-compat package contains compatibility
+                       links for older commands that deal with the older
+                       LZMA format.
+               end
+               license = GPLv2+ and LGPLv2+
+
+               requires = %{name}=%{thisver}
+
+               files
+                       /usr/bin/*lz*
+                       /usr/share/man/man1/*lz*
+               end
+       end
 end