]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
libsolv: Remove some tools we don't need and put the rest into an extra package.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2012 13:22:14 +0000 (15:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2012 13:22:14 +0000 (15:22 +0200)
libsolv/libsolv.nm

index 5a2e048a60d69aebc82994f0a53f025d039c1512..5a9963b3eec501d95d0c632329b25aa39a180d6e 100644 (file)
@@ -6,7 +6,7 @@
 name       = libsolv
 version    = 0.0.0
 git_ver    = c02d759
-release    = 4.git%{git_ver}
+release    = 5.git%{git_ver}
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Libraries
@@ -43,19 +43,36 @@ build
                mkdir build
                cd build && cmake .. \
                        -DCMAKE_INSTALL_PREFIX=/usr \
-                       -DCMAKE_BUILD_TYPE=Release \
-                       -DCMAKE_SKIP_RPATH=1
+                       -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+                       -DENABLE_PERL=0 \
+                       -DENABLE_PYTHON=0 \
+                       -DENABLE_RUBY=0
                make %{PARALELLISMFLAGS}
        end
 
        install
                cd build && make install DESTDIR=%{BUILDROOT}
+               rm -vf %{BUILDROOT}%{bindir}/{,test}solv
        end
 end
 
 packages
        package %{name}
 
+       package %{name}-tools
+               summary = Tools to manipulate .solv files.
+
+               requires
+                       bzip2
+                       coreutils
+                       gzip
+               end
+
+               files
+                       %{bindir}
+               end
+       end
+
        package %{name}-devel
                template DEVEL
        end