-%include /usr/lib/rpm/macros.python
%define zope_subname COREBlog
Summary: Blog / Weblog / Web Nikki system on Zope
Summary(pl): System bloga/webloga oparty na Zope
Name: Zope-%{zope_subname}
-Version: 0.7b
+Version: 1.20
Release: 1
License: GPL
Group: Development/Tools
-Source0: http://coreblog.org/junk/%{zope_subname}07b.tgz
-# Source0-md5: 13a809337a091bfa93517217998eeac1
+Source0: http://coreblog.org/junk/%{zope_subname}12.tgz
+# Source0-md5: c955c885b726883cf65abf580a3b9f61
URL: http://coreblog.org/
+BuildRequires: python
%pyrequires_eq python-modules
Requires: Zope >= 2.6.1
-Requires(post,postun): /usr/sbin/installzopeproduct
+Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q -n %{zope_subname}
find . -type d -name CVS | xargs rm -rf
+find . -type f -name .DS_Store | xargs rm -rf
%build
mkdir docs docs/stripogram
%postun
if [ "$1" = "0" ]; then
- /usr/sbin/installzopeproduct -d %{zope_subname}
- if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
- fi
+ /usr/sbin/installzopeproduct -d %{zope_subname}
+ if [ -f /var/lock/subsys/zope ]; then
+ /etc/rc.d/init.d/zope restart >&2
+ fi
fi
%files