summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-05 10:33:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-05 10:33:03 +0000
commitc42e185ea2c34a8845ea8ef90333af8ae6c3271e (patch)
treed89ae09d312411efc1d08cae762b85898b73fcd1
parenteb017f9df6873fe332979e652edb3d3a66f1dbb5 (diff)
downloadcontrol-center-c42e185ea2c34a8845ea8ef90333af8ae6c3271e.tar
control-center-c42e185ea2c34a8845ea8ef90333af8ae6c3271e.tar.gz
control-center-c42e185ea2c34a8845ea8ef90333af8ae6c3271e.tar.bz2
control-center-c42e185ea2c34a8845ea8ef90333af8ae6c3271e.tar.xz
control-center-c42e185ea2c34a8845ea8ef90333af8ae6c3271e.zip
macros cleanups
-rw-r--r--drakconf.spec18
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