-%include /usr/lib/rpm/macros.python
%define zope_subname CPSSkins
-%define sub_ver b7
+# %%define sub_ver rc5
Summary: Theme creation and management product for CMF, Plone, CPS3
Summary(pl): Kreator i zarz±dca "skórek" dla CMF, Plone, CPS3
Name: Zope-%{zope_subname}
-Version: 1.9
-Release: 1.%{sub_ver}.3
+Version: 2.2.1
+Release: 1
License: GPL
Group: Development/Tools
-Source0: http://www.medic.chalmers.se/~jmo/CPS/%{zope_subname}%{version}%{sub_ver}.tgz
-# Source0-md5: a80c8dec43acedc2d26632085eb4b3a0
+Source0: http://www.medic.chalmers.se/~jmo/CPS/%{zope_subname}%{version}.tgz
+# Source0-md5: 12f97776d4779ebbe009ff6ddedcbefc
URL: http://www.medic.chalmers.se/~jmo/CPS/
Requires(post,postun): /usr/sbin/installzopeproduct
%pyrequires_eq python-modules
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af Products/%{zope_subname}/{Extensions,Install,Misc,i18n,icons,skins,tests,zmi,*.py,*.gif,version.txt,refresh.txt} \
+cp -af Products/%{zope_subname}/{Extensions,Install,i18n,icons,skins,tests,zmi,*.py,*.gif,version.txt,refresh.txt} \
$RPM_BUILD_ROOT%{_datadir}/%{name}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
%files
%defattr(644,root,root,755)
-%doc Products/%{zope_subname}/{doc/*,AUTHORS.TXT,COPYRIGHT.TXT,CREDITS.TXT,INSTALL.TXT,README.TXT,TODO.TXT}
+%doc Products/%{zope_subname}/{doc/*,AUTHORS.TXT,CHANGES.TXT,COPYRIGHT.TXT,CREDITS.TXT,DEPEN*.TXT,INSTALL.TXT,README.TXT,UPGRADE.TXT}
%{_datadir}/%{name}