diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-13 05:43:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-13 05:43:39 +0000 |
commit | 19ae07d0d443ff8b777f46bcbe97119483356bfd (patch) | |
tree | dae169167c23ba7c61814101995de21d6abac2e8 /package/mandrake | |
download | tde-guidance-19ae07d0d443ff8b777f46bcbe97119483356bfd.tar.gz tde-guidance-19ae07d0d443ff8b777f46bcbe97119483356bfd.zip |
Added KDE3 version of KDE Guidance utilities
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-guidance@1102646 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'package/mandrake')
-rw-r--r-- | package/mandrake/guidance-kcmdisplayconfig | 1 | ||||
-rw-r--r-- | package/mandrake/guidance-kcmmountconfig | 1 | ||||
-rw-r--r-- | package/mandrake/guidance-kcmserviceconfig | 1 | ||||
-rw-r--r-- | package/mandrake/guidance-kcmuserconfig | 1 | ||||
-rw-r--r-- | package/mandrake/guidance.spec | 79 |
5 files changed, 83 insertions, 0 deletions
diff --git a/package/mandrake/guidance-kcmdisplayconfig b/package/mandrake/guidance-kcmdisplayconfig new file mode 100644 index 0000000..ea49619 --- /dev/null +++ b/package/mandrake/guidance-kcmdisplayconfig @@ -0,0 +1 @@ +?package(guidance): needs="kde" kde_filename="displayconfig" section="System/Configuration/KDE/Peripherals" title="Display & Monitor" icon="displayconfig.png" command="/usr/bin/displayconfig" kde_command="kcmshell displayconfig" longtitle="Display and monitor settings" kde_opt="\\nEncoding=UTF-8\\nX-KDE-ModuleType=Library\\nX-KDE-Library=displayconfig\\nX-KDE-FactoryName=displayconfig\\nX-KDE-ParentApp=kcontrol\\nX-KDE-RootOnly=true\\nX-KDE-SubstituteUID=true\\nKeywords=resolution;display;monitor;video;X11;xorg;gfx\\n" diff --git a/package/mandrake/guidance-kcmmountconfig b/package/mandrake/guidance-kcmmountconfig new file mode 100644 index 0000000..1473fee --- /dev/null +++ b/package/mandrake/guidance-kcmmountconfig @@ -0,0 +1 @@ +?package(guidance): needs="kde" kde_filename="mountconfig" section="System/Configuration/KDE/System" title="Disk & Filesystems" icon="disksfilesystems.png" command="/usr/bin/mountconfig" kde_command="kcmshell mountconfig" longtitle="Manage disks and filesystems" kde_opt="\\nEncoding=UTF-8\\nX-KDE-ModuleType=Library\\nX-KDE-Library=mountconfig\\nX-KDE-FactoryName=mountconfig\\nX-KDE-ParentApp=kcontrol\\nX-KDE-RootOnly=true\\nX-KDE-SubstituteUID=true\\nKeywords=disk;filesystem;mount\\n" diff --git a/package/mandrake/guidance-kcmserviceconfig b/package/mandrake/guidance-kcmserviceconfig new file mode 100644 index 0000000..5374240 --- /dev/null +++ b/package/mandrake/guidance-kcmserviceconfig @@ -0,0 +1 @@ +?package(guidance): needs="kde" kde_filename="serviceconfig" section="System/Configuration/KDE/System" title="Services" icon="daemons.png" command="/usr/bin/serviceconfig" kde_command="kcmshell serviceconfig" longtitle="Manage running services" kde_opt="\\nEncoding=UTF-8\\nX-KDE-ModuleType=Library\\nX-KDE-Library=serviceconfig\\nX-KDE-FactoryName=serviceconfig\\nX-KDE-ParentApp=kcontrol\\nX-KDE-RootOnly=true\\nX-KDE-SubstituteUID=true\\nKeywords=init.d;service;boot;daemon;demon\\n" diff --git a/package/mandrake/guidance-kcmuserconfig b/package/mandrake/guidance-kcmuserconfig new file mode 100644 index 0000000..ee045e9 --- /dev/null +++ b/package/mandrake/guidance-kcmuserconfig @@ -0,0 +1 @@ +?package(guidance): needs="kde" kde_filename="userconfig" section="System/Configuration/KDE/System" title="Users and Groups" icon="userconfig.png" command="/usr/bin/userconfig" kde_command="kcmshell userconfig" longtitle="Manage user accounts and groups" kde_opt="\\nEncoding=UTF-8\\nX-KDE-ModuleType=Library\\nX-KDE-Library=userconfig\\nX-KDE-FactoryName=userconfig\\nX-KDE-ParentApp=kcontrol\\nX-KDE-RootOnly=true\\nX-KDE-SubstituteUID=true\\nKeywords=user;account;group;password\\n" diff --git a/package/mandrake/guidance.spec b/package/mandrake/guidance.spec new file mode 100644 index 0000000..96ca9c7 --- /dev/null +++ b/package/mandrake/guidance.spec @@ -0,0 +1,79 @@ +%define name guidance +%define version 0.3.0 +%define release 1mdk + +Summary: Configuration Utilities +Name: %{name} +Version: %{version} +Release: %{release} +Packager: Simon Edwards <simon@simonzone.com> +Source: %{name}-%{version}.tar.bz2 +License: GPL +Group: System/Configuration +URL: http://www.simonzone.com/software/guidance/ +Requires: python +Requires: libpythonize0 +BuildRequires: python-devel +BuildRequires: libpythonize0-devel +Requires: PyKDE +Buildroot: %_tmppath/%name-buildroot + +%description +Guidance. + +Development version. + +%prep +rm -rf $RPM_BUILD_ROOT + +%setup -q + +%build +%install +./setup.py install --root=$RPM_BUILD_ROOT build_kcm +install -D --mode=a=r,u+w package/mandrake/guidance-kcmuserconfig $RPM_BUILD_ROOT/%{_menudir}/guidance-kcmuserconfig +install -D --mode=a=r,u+w package/mandrake/guidance-kcmmountconfig $RPM_BUILD_ROOT/%{_menudir}/guidance-kcmmountconfig +install -D --mode=a=r,u+w package/mandrake/guidance-kcmserviceconfig $RPM_BUILD_ROOT/%{_menudir}/guidance-kcmserviceconfig +install -D --mode=a=r,u+w package/mandrake/guidance-kcmdisplayconfig $RPM_BUILD_ROOT/%{_menudir}/guidance-kcmdisplayconfig + +install -D kde/serviceconfig/pics/16x16/daemons.png $RPM_BUILD_ROOT/%{_iconsdir}/daemons.png +install -D kde/mountconfig/pics/16x16/disksfilesystems.png $RPM_BUILD_ROOT/%{_iconsdir}/disksfilesystems.png +install -D kde/userconfig/pics/16x16/userconfig.png $RPM_BUILD_ROOT/%{_iconsdir}/userconfig.png +install -D kde/displayconfig/pics/16x16/displayconfig.png $RPM_BUILD_ROOT/%{_iconsdir}/displayconfig.png + +rm $RPM_BUILD_ROOT/usr/share/applnk/Settings/Peripherals/displayconfig.desktop +rm $RPM_BUILD_ROOT/usr/share/applnk/Settings/System/mountconfig.desktop +rm $RPM_BUILD_ROOT/usr/share/applnk/Settings/System/serviceconfig.desktop +rm $RPM_BUILD_ROOT/usr/share/applnk/Settings/System/userconfig.desktop +rm $RPM_BUILD_ROOT/usr/share/icons/crystalsvg/16x16/apps/daemons.png +rm $RPM_BUILD_ROOT/usr/share/icons/crystalsvg/16x16/apps/disksfilesystems.png +rm $RPM_BUILD_ROOT/usr/share/icons/crystalsvg/16x16/apps/displayconfig.png +rm $RPM_BUILD_ROOT/usr/share/icons/crystalsvg/16x16/apps/userconfig.png + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README TODO COPYING ChangeLog +%_bindir/* +%_datadir/apps/guidance/* +%_libdir/kde3/* +%_libdir/python2.3/* +%{_menudir}/* +%{_iconsdir}/daemons.png +%{_iconsdir}/disksfilesystems.png +%{_iconsdir}/userconfig.png +%{_iconsdir}/displayconfig.png + +%post +%{update_menus} +%postun +%{clean_menus} + +%changelog +* Sun Mar 20 2005 Simon Edwards <simon@simonzone.com> 0.3.0-1mdk +- 0.3.0. + +* Thu Dec 9 2004 Simon Edwards <simon@simonzone.com> 0.2.0-1mdk +- Initial rpm. |