File project.diff of Package CellophaneSkins

--- CellophaneSkins.spec.orig
+++ CellophaneSkins.spec
@@ -1,3 +1,19 @@
+#
+# spec file for package CellophaneSkins (Version 0.1)
+#
+# Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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 `kde-config --prefix`
@@ -7,57 +23,59 @@
 Name:CellophaneSkins
 Version:%{rversion}
 Release:%{rrelease}
-Summary:SVG files for Cellophane Win Deco based on Plastik
+Summary:SVG Files for Cellophane Win Deco
 Source0:%{name}-%{version}.tar.bz2
-Packager: Rick Paquette
+#Packager: Rick Paquette
+URL:http://www.digilanti.org/cellophane/
 Group:System/GUI/KDE
-License:GPL
+License:GPLv2
 BuildRoot:%{_tmppath}/build-%{name}-%{version}
-
-BuildRequires: autoconf automake
-BuildRequires: update-desktop-files
-BuildRequires: kdelibs3-devel kdebase3-devel perl
-Requires: kdebase3 kdelibs3 qt3
+BuildArch:noarch
 
 %description
 SVG files for Cellophane Win Deco based on Plastik
 
-Cellophane uses the same pixmap caching scheme that Plastik uses but instead initializes the pixmap cache with KSVGIconEngine from user or default files.
-If you have button svg files in the same dir as buttonTile.svg they will be used as overlays.
-If not then button icons are Plastik.
-
-%if %suse_version >= 930
-%debug_package
-%endif
+Cellophane uses the same pixmap caching scheme that Plastik
+uses but instead initializes the pixmap cache with KSVGIconEngine 
+from user or default files.
+If you have button svg files in the same dir as buttonTile.svg
+they will be used as overlays. If not then button icons are Plastik.
+
 %prep
-%setup -q -n %{name}
-%{?suse_update_config:%{suse_update_config -f}}
+%setup -n %{name}
 
 %build
-# rebuild .m4 and configure files
-%__make -f Makefile.cvs
-
-%configure
-
-%__make %{?jobs:-j%{jobs}}
 
 %install
-%makeinstall
-
-find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list
 
-%if %suse_version < 930
-%__strip "%{buildroot}%{_bindir}"/*
-%endif
+mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/kdisplay/color-schemes/
+cp $RPM_BUILD_DIR/CellophaneSkins/skins/*/*.kcsrc \
+   $RPM_BUILD_ROOT/opt/kde3/share/apps/kdisplay/color-schemes/
+
+for DIR in aquamarine chrome darklayer krimson noico saphire ; do
+    mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/kwin/cellophane/$DIR ;
+    cp $RPM_BUILD_DIR/CellophaneSkins/skins/$DIR/*.svg \
+       $RPM_BUILD_ROOT/opt/kde3/share/apps/kwin/cellophane/$DIR/
+done
 
 %clean
 %__rm -rf "%{buildroot}"
 
-%files -f master.list
+%files
 %defattr(-,root,root)
-%doc
+%doc AUTHORS COPYING
+/opt/kde3/share/apps/kdisplay/color-schemes/aquamarine.kcsrc
+/opt/kde3/share/apps/kdisplay/color-schemes/chrome.kcsrc    
+/opt/kde3/share/apps/kdisplay/color-schemes/noico.kcsrc     
+/opt/kde3/share/apps/kdisplay/color-schemes/saphire.kcsrc
+/opt/kde3/share/apps/kwin/cellophane
 
 %changelog
+* Fri Mar 06 2009 Buschmann <buschmann23@opensuse.org> 0.1
+- building package only for noarch
+- adding URL
+- removing debug_package
+- fixing file list, directories not owned by package
 
 # Local Variables:
 # mode: rpm-spec