File project.diff of Package Serenity

--- serenity.spec.orig
+++ serenity.spec
@@ -1,3 +1,19 @@
+#
+# spec file for package serenity (Version 1.7.1)
+#
+# 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,17 +21,17 @@
 Name:		serenity
 Version:	1.7.1
 Release:	1OS102DSB
-Summary:	Serenity theme for KDE
+Summary:	Serenity Theme for KDE3
 Source:		%{name}-%{version}.tar.bz2
 URL:		http://www.kde-look.org/content/show.php?content=35954
-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 qt3-devel
+BuildRequires:	autoconf automake qt3-devel update-desktop-files
 BuildRequires: 	kdelibs3-devel kdebase3-devel
 BuildRequires: 	libstdc++-devel libpng-devel libjpeg-devel
-Requires: kdelibs3 libpng libjpeg qt3 kdebase3
+Requires: kdelibs3 qt3 kdebase3
 
 %description
 Serenity is a soft and quiet theme to ease your mind, 
@@ -23,7 +39,7 @@ with a lot of options to make the Sereni
 
 Please read WARNING file in /usr/share/doc/packages/%{name}.
 
-%if %suse_version >= 930
+%if !0%{?opensuse_bs} 
 %debug_package
 %endif
 %prep
@@ -39,20 +55,31 @@ Please read WARNING file in /usr/share/d
 %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 %{buildroot}%{_datadir}/apps/kwin/serenity.desktop
 
 %clean
 %__rm -rf "%{buildroot}"
 
-%files -f master.list
+%files
 %defattr(-,root,root)
 %doc AUTHORS COPYING README WARNING
+%{_libdir}/kde3/kstyle_serenity_config.*
+%{_libdir}/kde3/kwin3_serenity.*
+%{_libdir}/kde3/kwin_serenity_config.*
+%{_libdir}/kde3/plugins/styles/serenity.*
+%{_datadir}/apps/kdisplay/color-schemes/*.kcsrc
+%{_datadir}/apps/kstyle/themes/serenity.themerc
+%{_datadir}/apps/kwin/serenity.desktop
 
 %changelog
+* Fri Mar 13 2009 Buschmann <buschmann23@opensuse.org> 1.7.1
+- removing obsolete suse version checks
+- removing explicit lib dependency libpng libjpeg, rpm finds
+  the library dependencies by itself
+- using debug_package macro only outside the Build Service, which
+  has its own mechanism
+- checking desktop file with suse_update_desktop_file
+
 * Thu Feb 8 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 1.7.1
 - new upstream version
 
openSUSE Build Service is sponsored by