Remove unnecessary files

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 5 months ago
parent 9953222e79
commit c3235821bc
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -0,0 +1,4 @@
Simon Edwards <simon@simonzone.com>
Sebastian Kügler <sebas@kde.nl>
Yuriy Kozlov <yuriy.kozlov@gmail.com>
Martin Böhm <martin.bohm@kubuntu.org>

@ -1,10 +0,0 @@
recursive-include kde *.png *.svg
recursive-include doc *.docbook *.png
graft package
prune package/.svn
graft package/mandrake
graft debian
prune package/mandrake/.svn
include README COPYING ChangeLog MANIFEST.in TODO
global-include *.desktop *.py *.pot *.po *.ui
global-exclude *~ .svn

@ -1,48 +0,0 @@
Intro
~~~~~
In this file I want to try to explain some practical things about Guidance
the "project" and some basic (and hopefully not too heavy) policies about how
things work organisationally.
-- 11 Feb 2007, Simon Edwards <simon@simonzone.com>
Developers
~~~~~~~~~~
The list of developers as of 11 Feb 2007:
Simon Edwards <simon@simonzone.com>, SVN username: sedwards, IRC: sime (unregistered)
Sebastian Kügler <sebas@kde.nl>, SVN username: sebas, IRC: sebas
Yuriy Kozlov <yuriy.kozlov@gmail.com>, SVN username: ykozlov, IRC: yuriy
Martin Böhm <martin.bohm@kubuntu.org>, SVN username: martinbohm, IRC: ???
"Lure" on #kubuntu-devel will join this list whether he likes it or not if he keeps
on committing stuff to powermanager. ;-)
Subversion
~~~~~~~~~~
Main development occurs in KDE's subversion repository in
/trunk/kdereview/guidance. Branches of the stable releases can be found
in svn under /kde/branches/guidance/. 0.6 was used in the Kubuntu Dapper, 0.7
was in Edgy.
Python source code
~~~~~~~~~~~~~~~~~~
Use 4 spaces for indentation, for the simple reason that it is very common
and mixing indentation styles is a PITA.
I (Simon) use Qt/KDE style naming conventions for methods. For variable
names I'm a bit inconsistent but it is usually lower case of lower case
with underscores. All I ask is that variable names be descriptive and
understandable.
TIP: When dealing with translated strings, use uncide() and not str(),
otherwise things will break on translated desktops.
Release procedure
~~~~~~~~~~~~~~~~~
[TODO: explain how a release tarball is created.]

@ -1 +0,0 @@
?package(guidance): needs="kde" kde_filename="mountconfig" section="System/Configuration/KDE/System" title="Disk & Filesystems" icon="disksfilesystems.png" command="/usr/bin/mountconfig" kde_command="tdecmshell mountconfig" longtitle="Manage disks and filesystems" kde_opt="\\nEncoding=UTF-8\\nX-TDE-ModuleType=Library\\nX-TDE-Library=mountconfig\\nX-TDE-FactoryName=mountconfig\\nX-TDE-ParentApp=kcontrol\\nX-TDE-RootOnly=true\\nX-TDE-SubstituteUID=true\\nKeywords=disk;filesystem;mount\\n"

@ -1 +0,0 @@
?package(guidance): needs="kde" kde_filename="serviceconfig" section="System/Configuration/KDE/System" title="Services" icon="daemons.png" command="/usr/bin/serviceconfig" kde_command="tdecmshell serviceconfig" longtitle="Manage running services" kde_opt="\\nEncoding=UTF-8\\nX-TDE-ModuleType=Library\\nX-TDE-Library=serviceconfig\\nX-TDE-FactoryName=serviceconfig\\nX-TDE-ParentApp=kcontrol\\nX-TDE-RootOnly=true\\nX-TDE-SubstituteUID=true\\nKeywords=init.d;service;boot;daemon;demon\\n"

@ -1 +0,0 @@
?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="tdecmshell userconfig" longtitle="Manage user accounts and groups" kde_opt="\\nEncoding=UTF-8\\nX-TDE-ModuleType=Library\\nX-TDE-Library=userconfig\\nX-TDE-FactoryName=userconfig\\nX-TDE-ParentApp=kcontrol\\nX-TDE-RootOnly=true\\nX-TDE-SubstituteUID=true\\nKeywords=user;account;group;password\\n"

@ -1,74 +0,0 @@
%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 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
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/userconfig.png
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README TODO COPYING ChangeLog
%_bindir/*
%_datadir/apps/guidance/*
%_libdir/trinity/*
%_libdir/python2.3/*
%{_menudir}/*
%{_iconsdir}/daemons.png
%{_iconsdir}/disksfilesystems.png
%{_iconsdir}/userconfig.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.

Binary file not shown.

@ -1,5 +0,0 @@
import os
fhandle = open("install_log.txt","r")
for line in fhandle.readlines():
print("deleting ", line[:-1])
os.system("rm -f "+line[:-1])
Loading…
Cancel
Save