File project.diff of Package desktoptext-config
--- desktoptext-config.spec.orig
+++ desktoptext-config.spec
@@ -1,3 +1,19 @@
+#
+# spec file for package desktoptext-config (Version 0.3)
+#
+# Copyright 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com>
+# Copyright 2009 Buschmann <buschmann23@opensuse.org>
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+
# norootforbuild
%define _prefix /opt/kde3
@@ -5,16 +21,15 @@
Name: desktoptext-config
Version: 0.3
Release: 2OS102DSB
-Summary: A KDE control center module
+Summary: KDE Control Center Module
Source: 53118-%{name}-%{version}.tar.bz2
URL: http://www.kde-apps.org/content/show.php?content=53118
-Patch1: %{name}-%{version}-hidden-visibility.diff
-Packager: Donnie S Bhayangkara - http://donnie.110mb.com
+#Packager: Donnie S Bhayangkara - http://donnie.110mb.com
Group: System/GUI/KDE
-License: GPL
+License: GPLv2
BuildRoot: %{_tmppath}/build-%{name}-%{version}
-BuildRequires: autoconf automake xorg-x11-devel
-BuildRequires: kdelibs3-devel qt3-devel kdebase3 kdebase3-devel
+BuildRequires: autoconf automake xorg-x11-devel update-desktop-files
+BuildRequires: kdelibs3-devel qt3-devel kdebase3-devel
BuildRequires: libstdc++-devel libpng-devel libjpeg-devel
Requires: kdelibs3 libpng libjpeg kdebase3
@@ -24,14 +39,11 @@ settings for the desktop icons texts: Fo
(It extends and is meant to replace "TextShadowEdit".)
-%if %suse_version >= 930
+%if !0%{?opensuse_bs}
%debug_package
%endif
%prep
%setup -q
-%if 0%{?suse_version} == 1000
-%patch1
-%endif
%{?suse_update_config:%{suse_update_config -f}}
%build
@@ -43,20 +55,23 @@ settings for the desktop icons texts: Fo
%install
%makeinstall
-find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list
-
-%if %suse_version < 930
-%__strip "%{buildroot}%{_bindir}"/*
-%endif
+%suse_update_desktop_file desktoptext -G"Desktop texts configuration"
%clean
%__rm -rf "%{buildroot}"
-%files -f master.list
+%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README
%changelog
+* Sat Mar 07 2009 Buschmann <buschmann23@opensuse.org> 0.3
+- use debug_package only outside of the build service,
+ which has its own mechamisms
+- removing desktoptext-config-0.3-hidden-visibility.diff patch,
+ because SUSE Linux 10.0 is no longer supported
+- adding GenericName to desktop file
+
* Thu Feb 15 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.3
- added Patch1: %{name}-%{version}-hidden-visibility.diff to fix build error on
suse 10.0 (thanks Johannes Schriewer)