1 %define zope_subname PortalContentFolder
2 Summary: Product allow a mix of both PortalContent and SkinnedFolder
3 Summary(pl): Produkt umo¿liwiaj±cy ³±czenie zawarto¶ci PortalContent i SkinnedFolder
4 Name: Zope-CMF%{zope_subname}
8 Group: Development/Tools
9 Source0: http://zope.org/Members/efge/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tgz
10 # Source0-md5: 5d0e180802af83c9c5334db93cd76325
11 URL: http://zope.org/Members/efge/PortalContentFolder/
12 Requires(post,postun): /usr/sbin/installzopeproduct
14 %pyrequires_eq python-modules
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 PortalContentFolder (for CMF) is a mix of both PortalContent and
26 PortalContentFolder (dla CMF) pozwala ³±czyæ zawarto¶æ PortalContent i
30 %setup -q -n %{zope_subname}
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
36 cp -af {*.py,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
38 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
39 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
41 # find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
44 rm -rf $RPM_BUILD_ROOT
47 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
48 if [ -f /var/lock/subsys/zope ]; then
49 /etc/rc.d/init.d/zope restart >&2
53 if [ "$1" = "0" ]; then
54 /usr/sbin/installzopeproduct -d %{zope_subname}
55 if [ -f /var/lock/subsys/zope ]; then
56 /etc/rc.d/init.d/zope restart >&2
61 %defattr(644,root,root,755)