From fb3d7ded6e4021603f55dbf8f091875e99358c60 Mon Sep 17 00:00:00 2001 From: kloczek Date: Fri, 20 Oct 2000 20:01:29 +0000 Subject: [PATCH] - use new rpm automation and few cosmetics. Changed files: db3.spec -> 1.15 --- db3.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/db3.spec b/db3.spec index 4c3f04b..eb43a4e 100644 --- a/db3.spec +++ b/db3.spec @@ -3,6 +3,7 @@ Name: db3 Version: 3.1.17 Release: 2 Group: Libraries +Group(de): Libraries Group(fr): Librairies Group(pl): Biblioteki License: GPL @@ -42,6 +43,7 @@ databases. %package tcl Summary: Berkeley database library for TCL Group: Development/Languages/Tcl +Group(de): Entwicklung/Sprachen/Tcl Group(pl): Programowanie/Jêzyki/Tcl Requires: %{name} = %{version} @@ -51,6 +53,7 @@ Berkeley database library for TCL. %package devel Summary: Development libraries and header files for Berkeley database library Group: Development/Libraries +Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} @@ -69,6 +72,7 @@ for building programs which use Berkeley DB. %package static Summary: Static libraries for Berkeley database library Group: Development/Libraries +Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} @@ -94,9 +98,7 @@ cp -a build_unix build_unix.static cd build_unix.static -LDFLAGS="-s" \ -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates" \ +CXXFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -fno-rtti -fno-implicit-templates" ../dist/configure \ --prefix=%{_prefix} \ --enable-compat185 \ @@ -110,9 +112,6 @@ CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates" \ cd ../build_unix -LDFLAGS="-s" \ -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates" \ ../dist/configure \ --prefix=%{_prefix} \ --enable-compat185 \ @@ -163,10 +162,10 @@ gzip -9nf ../LICENSE ../README %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post tcl -p /sbin/ldconfig +%post tcl -p /sbin/ldconfig %postun tcl -p /sbin/ldconfig %files -- 2.43.0