1 %define zope_subname CMFSin
2 Summary: A Zope product that is a simple syndication client for CMF
3 Summary(pl.UTF-8): Dodatek do Zope będący prostym klientem "korporacyjnym" dla CMF
4 Name: Zope-%{zope_subname}
8 Group: Development/Tools
9 Source0: http://dl.sourceforge.net/collective/%{zope_subname}.tar.gz
10 # Source0-md5: a50ab5b9c13526a6a52397d556b09e84
11 URL: http://sourceforge.net/projects/collective/
13 BuildRequires: rpmbuild(macros) >= 1.268
14 %pyrequires_eq python-modules
15 Requires(post,postun): /usr/sbin/installzopeproduct
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This is a simple syndication client for CMF. It uses rssparser and
24 shares many things in common with CMFNewsFeed but has a different
25 model for handling channels. It is designed to map _n_ channels or
26 feeds to sets of composite virtual channels which can then be called
27 in in a timely fashion.
29 %description -l pl.UTF-8
30 CMFSin jest prostym klientem "korporacyjnym" dla CMF. Umożliwia
31 parsowanie rss i posiada wiele możliwości jakie daje CMFNewsFeed, lecz
32 różni się innym modelem obsługi kanałów. Jest opracowany tak, by
33 odwzorowywać _n_ kanałów lub strumieni na zbiory połączonych
34 wirtualnych kanałów, które mogą być wywoływane o określonej porze.
37 %setup -q -n %{zope_subname}
39 find . -type d -name CVS | xargs rm -rf
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
45 cp -af {Extensions,skins,www,*.py,*.cfg,*.gif,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
47 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
48 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
50 # find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
53 rm -rf $RPM_BUILD_ROOT
56 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
57 %service -q zope restart
60 if [ "$1" = "0" ]; then
61 /usr/sbin/installzopeproduct -d %{zope_subname}
62 %service -q zope restart
66 %defattr(644,root,root,755)
67 %doc docs/* README.txt