summaryrefslogtreecommitdiffstats
path: root/DrakConf.spec
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-02-08 14:35:20 +0000
committerdamien <damien@mandriva.com>2001-02-08 14:35:20 +0000
commit3046ac1206698d014a5dd2b1dbda7045acbb98c6 (patch)
tree5153928d2b2f36b7fb2cec13ca469e01b8c3ce56 /DrakConf.spec
parentc56fc59bba121fd2aa6e3227a16a8e2476e89176 (diff)
downloadcontrol-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar
control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.gz
control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.bz2
control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.tar.xz
control-center-3046ac1206698d014a5dd2b1dbda7045acbb98c6.zip
built package, ...
Diffstat (limited to 'DrakConf.spec')
-rw-r--r--DrakConf.spec91
1 files changed, 91 insertions, 0 deletions
diff --git a/DrakConf.spec b/DrakConf.spec
new file mode 100644
index 00000000..021f8903
--- /dev/null
+++ b/DrakConf.spec
@@ -0,0 +1,91 @@
+# Changed by Makefile of cvs.
+%define version 0.60
+%define name DrakConf
+
+Summary: The Mandrake Control Center
+Name: %{name}
+Version: %{version}
+Release: 1mdk
+# get the source from our cvs repository (see
+# http://www.linuxmandrake.com/en/cvs.php3)
+Source0: %{name}-%{version}.tar.bz2
+Source1: drakconf16.xpm.bz2
+Source2: drakconf32.xpm.bz2
+Source3: drakconf48.xpm.bz2
+Copyright: GPL
+Group: System/Configuration/Other
+Requires: drakxtools, gtk+mdk, perl, usermode, drakfloppy, harddrake, DrakeLogo, drakfont
+BuildRoot: %{_tmppath}/%{name}-buildroot
+
+%description
+DrakFont is an interface to multiple utilities from DrakXtools. It
+allows you to launch :
+
+ * KeyboardDrake: configures your keyboard.
+ * MouseDrake: configures and autodetects your mouse
+ * PrinterDrake: detects and configures your printer
+ * Diskdrake: partitions your hard disk.
+ * XfDrake: configure your graphic card easily and change
+ the resolution.
+
+and many other tools in an embedded way .
+
+%prep
+%setup -q
+
+%build
+
+%install
+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
+ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/DrakConf
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,security/console.apps}
+cp pam.drakconf $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/DrakConf
+cp apps.DrakConf $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/DrakConf
+
+
+#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="DrakConf" longtitle="System configuration tool" command="/usr/X11R6/bin/DrakConf"
+EOF
+
+#install menu icon
+mkdir -p $RPM_BUILD_ROOT%{_miconsdir}
+mkdir -p $RPM_BUILD_ROOT%{_liconsdir}
+bzcat %{SOURCE1} > $RPM_BUILD_ROOT%{_miconsdir}/drakconf.xpm
+bzcat %{SOURCE2} > $RPM_BUILD_ROOT%{_iconsdir}/drakconf.xpm
+bzcat %{SOURCE3} > $RPM_BUILD_ROOT%{_liconsdir}/drakconf.xpm
+
+%post
+%{update_menus}
+
+%postun
+%{clean_menus}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root)
+#%doc ChangeLog README.CVS TRANSLATORS
+#%config(noreplace) /etc/mdkcc/*
+%{_prefix}/X11R6/bin/*
+%{_menudir}/DrakConf
+%{_miconsdir}/*.xpm
+%{_iconsdir}/*.xpm
+%{_liconsdir}/*.xpm
+%config(noreplace) %{_sysconfdir}/pam.d/DrakConf
+%config(noreplace) %{_sysconfdir}/security/console.apps/DrakConf
+
+%changelog
+* Thu Feb 8 2001 dam's <damien@mandrakesoft.com> 0.60-1mdk
+- new version. Should crash.