]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
db4: Rework package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 25 Sep 2011 19:46:53 +0000 (21:46 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 29 Sep 2011 17:30:27 +0000 (19:30 +0200)
Fixes #228.

* Libraries are now in the correct package.
* Add descriptions for subpackages.
* Add source url.

db4/db4.nm

index 53946992bc09ba419d9f16034ae7896b9a4ab136..6839448047cd830db137f0b69d45bacadb8050ad 100644 (file)
@@ -19,11 +19,11 @@ license    = Proprietary
 summary    = Berkeley DB is a library that provides an embedded database.
 
 description
-       Berkeley DB (BDB) is a computer software library that provides \
+       Berkeley DB (BDB) is a computer software library that provides
        a high-performance embedded database.
 end
 
-source_dl  =
+source_dl  = http://download.oracle.com/berkeley-db/
 
 build
        requires
@@ -49,21 +49,31 @@ build
        end
 end
 
-# XXX insert descriptions
 packages
        package db4
-               files = /usr/lib*/libdb-%{version_major}.so
-       end
        
        package db4-devel
                template DEVEL
+
+               files += \
+                       !/usr/lib*/libdb-%{version_major}.so
        end
        
        package db4-utils
-               files = /usr/bin
+               summary = Command line tools for managing Berkeley DB (version 4) databases.
+               description = %{summary}
+
+               files
+                       /usr/bin
+               end
        end
        
        package db4-cxx
-               files = /usr/lib*/libdb_cxx-%{version_major}.so
+               summary = The Berkeley DB database library (version 4) for C++.
+               description = %{summary}
+
+               files
+                       /usr/lib*/libdb_cxx-%{version_major}.so
+               end
        end
 end