summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drakconf.spec (renamed from DrakConf.spec)33
1 files changed, 18 insertions, 15 deletions
diff --git a/DrakConf.spec b/drakconf.spec
index f3e96914..194c2ca0 100644
--- a/DrakConf.spec
+++ b/drakconf.spec
@@ -1,7 +1,7 @@
# Changed by Makefile of cvs.
-%define name DrakConf
+%define name drakconf
%define version 0.70
-%define release 1mdk
+%define release 2mdk
Summary: The Mandrake Control Center
Name: %{name}
@@ -43,28 +43,26 @@ and many other tools in an embedded way
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT install
-#mkdir -p $RPM_BUILD_ROOT%{_bindir}
-#ln -sf consolehelper ${RPM_BUILD_ROOT}%{_bindir}/DrakConf
-mv ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/DrakConf \
- ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/DrakConf.real
+mv ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/drakconf \
+ ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/drakconf.real
+ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/drakconf
ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/DrakConf
ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/mcc
-ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/setup
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,security/console.apps}
cp pam.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/drakconf
cp pam.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/mcc
cp pam.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/setup
-cp apps.DrakConf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/DrakConf
-cp apps.DrakConf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/mcc
-cp apps.DrakConf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/setup
+cp apps.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/drakconf
+cp apps.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/mcc
+
#install lang
%{find_lang} %{name}
#install menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
-cat > $RPM_BUILD_ROOT%{_menudir}/DrakConf << EOF
-?package(DrakConf): needs="x11" icon="drakconf.xpm" section="Configuration/Other" title="Mandrake Control Center" longtitle="System configuration tool" command="/usr/X11R6/bin/DrakConf"
+cat > $RPM_BUILD_ROOT%{_menudir}/drakconf << EOF
+?package(%{name}): needs="x11" icon="drakconf.xpm" section="Configuration/Other" title="Mandrake Control Center" longtitle="System configuration tool" command="/usr/X11R6/bin/DrakConf"
EOF
#install menu icon
@@ -87,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc COPYING
%{_prefix}/X11R6/bin/*
-%{_menudir}/DrakConf
+%{_menudir}/drakconf
%{_miconsdir}/*.xpm
%{_iconsdir}/*.xpm
%{_iconsdir}/*.png
@@ -99,10 +97,15 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/security/console.apps/DrakConf
%config(noreplace) %{_sysconfdir}/pam.d/mcc
%config(noreplace) %{_sysconfdir}/security/console.apps/mcc
-%config(noreplace) %{_sysconfdir}/pam.d/setup
-%config(noreplace) %{_sysconfdir}/security/console.apps/setup
+%config(noreplace) %{_sysconfdir}/security/console.apps/drakconf
%changelog
+* Mon Aug 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.70-2mdk
+- renamed to drakconf
+- new logdrake
+- added in MandrakeControlCenter : drakautoinst
+- fixed many bugs (kde crash, menu)
+
* Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.70-1mdk
- snapshot for Mandrake Linux 8.1
- new icons, a console is now embedded, added logdrake