diff options
-rw-r--r-- | drakconf.spec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drakconf.spec b/drakconf.spec index 556a382f..d1a519ae 100644 --- a/drakconf.spec +++ b/drakconf.spec @@ -9,7 +9,7 @@ Version: %version Release: 0.4mdk # get the source from our cvs repository (see # http://www.linuxmandrake.com/en/cvs.php3) -Source0: %{name}-%{version}.tar.bz2 +Source0: %name-%version.tar.bz2 Source1: drakconf16.png.bz2 Source2: drakconf32.png.bz2 Source3: drakconf48.png.bz2 @@ -24,7 +24,7 @@ Requires: perl-GTK, perl-GTK-GdkImlib, usermode Requires: popt >= 1.6.3-9mdk Requires: XFree86-100dpi-fonts Requires: rxvt -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +BuildRoot: %_tmppath/%name-%version-buildroot %description drakconf includes the Mandrake Control Center which is an interface to @@ -33,7 +33,7 @@ multiple utilities from DrakXtools. %package themes Summary: Mandrake Control Center Themes Release: %{release}plf -Requires: drakconf >= %{version} +Requires: drakconf >= %version Group: System/Configuration/Other %description themes @@ -49,7 +49,7 @@ Center : kde and gnome themes. %makeinstall_std #install lang -%{find_lang} %{name} +%find_lang %name #install menu mkdir -p %buildroot/%_menudir @@ -59,18 +59,18 @@ EOF #install menu icon mkdir -p %buildroot/{%_miconsdir,%_liconsdir} -bzcat %{SOURCE1} > %buildroot/%_miconsdir/drakconf.png -bzcat %{SOURCE2} > %buildroot/%_iconsdir/drakconf.png -bzcat %{SOURCE3} > %buildroot/%_liconsdir/drakconf.png +bzcat %SOURCE1 > %buildroot/%_miconsdir/drakconf.png +bzcat %SOURCE2 > %buildroot/%_iconsdir/drakconf.png +bzcat %SOURCE3 > %buildroot/%_liconsdir/drakconf.png #this allow user to use drakconf ln -sf %_bindir/drakconf %buildroot/%_sbindir/drakconf %post -%{update_menus} +%update_menus %postun -%{clean_menus} +%clean_menus %clean rm -rf $RPM_BUILD_ROOT |