]> git.pld-linux.org Git - packages/Zope-CMFSin.git/blame - Zope-CMFSin.spec
- tabs in preamble
[packages/Zope-CMFSin.git] / Zope-CMFSin.spec
CommitLineData
0a36fed9 1%define zope_subname CMFSin
c180ed68 2Summary: A Zope product that is a simple syndication client for CMF
045b50be 3Summary(pl.UTF-8): Dodatek do Zope będący prostym klientem "korporacyjnym" dla CMF
0a36fed9 4Name: Zope-%{zope_subname}
5Version: 0.6.1
4a08d38b 6Release: 8
c47ee72b 7License: GPL
0a36fed9 8Group: Development/Tools
860ec581 9Source0: http://dl.sourceforge.net/collective/%{zope_subname}.tar.gz
0a36fed9 10# Source0-md5: a50ab5b9c13526a6a52397d556b09e84
860ec581 11URL: http://sourceforge.net/projects/collective/
f108c38d 12BuildRequires: python
72d2c5ec 13BuildRequires: rpmbuild(macros) >= 1.268
0a36fed9 14%pyrequires_eq python-modules
8a757b5d 15Requires(post,postun): /usr/sbin/installzopeproduct
72d2c5ec
ER
16Requires: Zope
17Requires: Zope-CMF
18Conflicts: CMF
0a36fed9 19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
0a36fed9 22%description
23This is a simple syndication client for CMF. It uses rssparser and
24shares many things in common with CMFNewsFeed but has a different
25model for handling channels. It is designed to map _n_ channels or
26feeds to sets of composite virtual channels which can then be called
27in in a timely fashion.
28
0e80e1e2
JR
29%description -l pl.UTF-8
30CMFSin jest prostym klientem "korporacyjnym" dla CMF. Umożliwia
31parsowanie rss i posiada wiele możliwości jakie daje CMFNewsFeed, lecz
32różni się innym modelem obsługi kanałów. Jest opracowany tak, by
33odwzorowywać _n_ kanałów lub strumieni na zbiory połączonych
34wirtualnych kanałów, które mogą być wywoływane o określonej porze.
0a36fed9 35
36%prep
c47ee72b 37%setup -q -n %{zope_subname}
0a36fed9 38
c47ee72b 39find . -type d -name CVS | xargs rm -rf
0a36fed9 40
41%install
42rm -rf $RPM_BUILD_ROOT
c180ed68 43install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
860ec581 44
974d9d3c 45cp -af {Extensions,skins,www,*.py,*.cfg,*.gif,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
0a36fed9 46
c180ed68 47%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
48%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
0a36fed9 49
a0385d1a 50# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
0a36fed9 51
0a36fed9 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
c180ed68 56/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
72d2c5ec 57%service -q zope restart
0a36fed9 58
0a36fed9 59%postun
c180ed68 60if [ "$1" = "0" ]; then
8a757b5d 61 /usr/sbin/installzopeproduct -d %{zope_subname}
72d2c5ec 62 %service -q zope restart
0a36fed9 63fi
64
65%files
66%defattr(644,root,root,755)
d524d8d9 67%doc docs/* README.txt
c180ed68 68%{_datadir}/%{name}
This page took 0.079975 seconds and 4 git commands to generate.