summaryrefslogtreecommitdiffstats
path: root/drakwizard.spec
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-06-01 12:32:55 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-06-01 12:32:55 +0000
commit65d7ec244458a01bdc86949768043d5e188951f0 (patch)
tree3996cb866934f7d515958e72d11f1bf1271dbb03 /drakwizard.spec
parent66c174f92ee21a4688608819749a72cf0c5b0603 (diff)
downloaddrakwizard-65d7ec244458a01bdc86949768043d5e188951f0.tar
drakwizard-65d7ec244458a01bdc86949768043d5e188951f0.tar.gz
drakwizard-65d7ec244458a01bdc86949768043d5e188951f0.tar.bz2
drakwizard-65d7ec244458a01bdc86949768043d5e188951f0.tar.xz
drakwizard-65d7ec244458a01bdc86949768043d5e188951f0.zip
fix some rpmlint error
Diffstat (limited to 'drakwizard.spec')
-rw-r--r--drakwizard.spec25
1 files changed, 15 insertions, 10 deletions
diff --git a/drakwizard.spec b/drakwizard.spec
index 5f357daa..f988e437 100644
--- a/drakwizard.spec
+++ b/drakwizard.spec
@@ -1,6 +1,6 @@
%define name drakwizard
%define version 3.0
-%define release 4mdk
+%define release 5mdk
Name: %{name}
Version: %{version}
@@ -10,10 +10,11 @@ Source1: %name.png
License: GPL
Group: System/Configuration/Other
Requires: perl-base, usermode, perl-Locale-gettext, drakxtools >= 9.1-0.4mdk, perl-Libconf >= 0.39.16-3mdk
-BuildRequires: gettext-base, ImageMagick
+BuildRequires: gettext-base, ImageMagick, perl-base
Buildroot: %{_tmppath}/%{name}
BuildArch: noarch
Prefix: %{_prefix}
+Packager: Antoine Giniès <aginies@mandriva.com>
Obsoletes: wizards_lib-dhcp wizards_lib-ftp wizards_lib-web wizards_lib wizard wizards_lib-time wizards_lib-global wizards_lib-dns wizards_lib-server wizards_lib-proxy wizards_lib-db wizards_lib-news wizards_lib-firewall wizards_lib-client wizards_lib-common wizards_lib-postfix
@@ -44,31 +45,31 @@ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-samba
-?package(%{name}): command="%{_sbindir}/%{name} samba" icon="%_iconsdir/%{name}.png" needs="x11" title="Samba Wizard" longtitle="Samba Wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} samba" icon="%{name}.png" needs="x11" title="Samba Wizard" longtitle="Samba Wizard" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-sambashare
-?package(%{name}): command="%{_sbindir}/%{name} sambashare" icon="%_iconsdir/%{name}.png" needs="x11" title="Samba share management" longtitle="Samba share management" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} sambashare" icon="%{name}.png" needs="x11" title="Samba share management" longtitle="Samba share management" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-ftp
-?package(%{name}): command="%{_sbindir}/%{name} proftpd" icon="%_iconsdir/%{name}.png" needs="x11" title="Proftpd wizard" longtitle="Proftpd wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} proftpd" icon="%{name}.png" needs="x11" title="Proftpd wizard" longtitle="Proftpd wizard" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-dhcp
-?package(%{name}): command="%{_sbindir}/%{name} dhcp" icon="%_iconsdir/%{name}.png" needs="x11" title="Dhcp wizard" longtitle="Dhcp wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} dhcp" icon="%{name}.png" needs="x11" title="Dhcp wizard" longtitle="Dhcp wizard" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-bind
-?package(%{name}): command="%{_sbindir}/%{name} bind" icon="%_iconsdir/%{name}.png" needs="x11" title="Bind wizard" longtitle="Bind wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} bind" icon="%{name}.png" needs="x11" title="Bind wizard" longtitle="Bind wizard" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-nis
-?package(%{name}): command="%{_sbindir}/%{name} nisautofs" icon="%_iconsdir/%{name}.png" needs="x11" title="NIS autofs wizard" longtitle="NIS autofs wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} nisautofs" icon="%{name}.png" needs="x11" title="NIS autofs wizard" longtitle="NIS autofs wizard" section="Configuration/Wizard/"
EOF
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}-nfs
-?package(%{name}): command="%{_sbindir}/%{name} nfs" icon="%_iconsdir/%{name}.png" needs="x11" title="NFS wizard" longtitle="NFS wizard" section="Configuration/Wizard/"
+?package(%{name}): command="%{_sbindir}/%{name} nfs" icon="%{name}.png" needs="x11" title="NFS wizard" longtitle="NFS wizard" section="Configuration/Wizard/"
EOF
(mkdir -p %{buildroot}/%{_menudir}
cat > %{buildroot}/%{_menudir}/%{name} <<EOF
?package(%name): \
-command="%{_sbindir}/%{name}" needs="X11" icon="%_iconsdir/%name.png" section="Configuration/Wizard/" title="Drakwizard" longtitle="Drakwizard"
+command="%{_sbindir}/%{name}" needs="X11" icon="%name.png" section="Configuration/Wizard/" title="Drakwizard" longtitle="Drakwizard"
EOF
)
@@ -94,6 +95,7 @@ rm -rf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME
%files -f %{name}.lang
%defattr(-,root,root)
+%doc TODO README.adding_wizard
%config(noreplace) %_sysconfdir/gnome-vfs-2.0/vfolders/*
%_sbindir/drakwizard
%{_datadir}/pixmaps/%name.png
@@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME
%{perl_vendorlib}/MDK/
%changelog
+* Wed Jun 1 2005 Antoine Ginies <aginies@n1.mandrakesoft.com> 3.0-5mdk
+- fix some rpmlint error
+
* Wed Jun 1 2005 Antoine Ginies <aginies@n1.mandrakesoft.com> 3.0-4mdk
- add Wizard to Manage Samba share
- various fix and improvement in Samba wizard