Made work with dual package
1 parent 506586c commit ce9f1a36eca93fdd86e3058f047c947ba34107cf
@Alex Tucker Alex Tucker authored on 1 Oct 2003
Showing 1 changed file
View
17
colorz.spec
%description
Automatically generate a color scheme for an entire website from only
one single color.
 
%package ColorzSkin
%package skins
Summary: A set of skins for Plone using Colorz.
Group: Development/Web Applications
Requires: Zope-webserver; Colorz
Requires: Colorz
 
%description ColorzSkin
%description skins
A set of Plone skins using the Colorz product to generate colors using color
theory.
 
%prep
%setup -n colorz_zp_package_1_1_0.zip
%setup -n colorz_zp_package_1_0_0
 
%build
 
%install
 
install -m0755 --directory $RPM_BUILD_ROOT/usr/share/zope/lib/python/Products/Colorz
install -m0755 --directory $RPM_BUILD_ROOT/usr/share/zope/lib/python/Products/ColorzSkin
 
cp -Rdp * $RPM_BUILD_ROOT/usr/share/zope/lib/python/Products/Colorz
cp -Rdp Colorz/* $RPM_BUILD_ROOT/usr/share/zope/lib/python/Products/Colorz
cp -Rdp ColorzSkin/* $RPM_BUILD_ROOT/usr/share/zope/lib/python/Products/ColorzSkin
 
 
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/share/zope/lib/python/Products/Colorz
 
%files skins
%defattr(-,root,root)
/usr/share/zope/lib/python/Products/ColorzSkin
 
 
%changelog
* Tue Jun 10 2003 Alex Tucker <alex@floop.org.uk>
- Initial build