On Sun, 17 Nov 2002 10:31:09 +0100 (CET)
Laurent MONTEL <[EMAIL PROTECTED]> wrote:
> [Contrib-RPM]
>
> --=-=-=
> Name : kgpg Relocations: (not
requires at least these two
BuildRequires: libqt3-devel kdelibs-devel
there may be others but those are the ones I needed, mainly because I
removed qt3-devel from my default install because of its dependencies.
And since Requires_kdebase has a version tag, you might want to put
version to the buildrequires too.
Group and menu Configuration/Other may be the correct place but I'd
suggest making gpg related packages consistent, ie at least move kgpg's
menu entry to "Applications/File tools"
rpm group menu
kgpg Configuration/Other Configuration/Other
gnupg File tools -
gpa File tools Applications/File tools
gpgp Archiving/Other Applications/File tools
seahorse Graphical desktop/GNOME Applications/File tools
Next, locale files are not getting installed here. But that might be a
generic kgpg bug.
- Mark
--- kgpg.spec.orig 2002-11-17 10:02:00.000000000 +0100
+++ kgpg.spec 2002-11-17 12:45:20.000000000 +0100
@@ -9,10 +9,11 @@
Source: %{name}-%{version}.tar.bz2
Patch0: kgpg-0.9.1-fix-libtool.patch.bz2
URL: http://devel-home.kde.org/~kgpg/
-Group: Configuration/Other
+Group: Graphical desktop/KDE
BuildRoot: %_tmppath/%name-buildroot
License: GPL
Requires: kdebase >= 3.0.2
+BuildRequires: libqt3-devel kdelibs-devel
%description
Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file
@@ -20,7 +21,6 @@
%prep
-rm -rf $RPM_BUILD_ROOT
%setup -q
%patch0 -p1
@@ -31,13 +31,12 @@
%make
%install
-rm -rf $RPM_BUILD_ROOT
%makeinstall
#Menu
install -d %buildroot/%_menudir/
-kdedesktop2mdkmenu.pl kgpg Configuration/Other
%buildroot/%_datadir/applnk/Applications/kgpg.desktop %buildroot/%_menudir/kgpg
+kdedesktop2mdkmenu.pl kgpg "Applications/File tools"
+%buildroot/%_datadir/applnk/Applications/kgpg.desktop %buildroot/%_menudir/kgpg
mv %buildroot/%_bindir/i586-mandrake-linux-gnu-kgpg %buildroot/%_bindir/kgpg