File Cellophane.spec of Package Cellophane

# norootforbuild

%define _prefix `kde-config --prefix`
%define rversion 1.41
%define rrelease 1

Name:Cellophane
Version:%{rversion}
Release:%{rrelease}
Summary:SVG Win Deco based on Plastik
Source0:%{name}-%{version}.tar.bz2
Packager: Rick Paquette
Group:System/GUI/KDE
License:GPL
BuildRoot:%{_tmppath}/build-%{name}-%{version}

BuildRequires: autoconf automake
BuildRequires: qt3-devel update-desktop-files
BuildRequires: kdelibs3-devel kdebase3-devel perl
# Requires: kdebase3 kdelibs3 qt3

%description
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
%prep
%setup -q -n %{name}
%{?suse_update_config:%{suse_update_config -f}}

%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

%clean
%__rm -rf "%{buildroot}"

%files -f master.list
%defattr(-,root,root)
%doc

%changelog

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: