# $Id$
# Authority: matthias
%define real_name Plone
%define real_version 2.0.4
%define zope_minver 2.6.4
%define zope_home %{_prefix}/lib/zope
%define software_home %{zope_home}/lib/python
Summary: Content management system built over Zope's framework
Name: plone
Version: 2.0.4
Release: 0.1%{?dist}
License: GPL
Group: System Environment/Daemons
Source: http://dl.sf.net/plone/%{real_name}-%{real_version}.tar.gz
URL: http://plone.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: zope >= %{zope_minver}
BuildRequires: python
%description
The Zope Content Management Framework provides a set of services and content
objects useful for building highly dynamic, content-oriented portal sites. As
packaged, the CMF generates a site much like the Zope.org site. The CMF is
intended to be easily customizable, in terms of both the types of content
used and the policies and services it provides.
%prep
%setup -n %{real_name}-%{real_version}
%build
# Not much, eh? :-)
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/%{software_home}/Products
%{__cp} -ap * %{buildroot}%{software_home}/Products/
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{software_home}/Products/*
# There's an annoying /usr/local/bin/python in there
%exclude %{software_home}/Products/GroupUserFolder/doc
%changelog
* Wed Oct 20 2004 Matthias Saou 2.0.4-0.1
- Update to 2.0.4.
* Fri May 14 2004 Matthias Saou 2.0.2-0.1
- Update to 2.0.2.
- No longer require zope-cmf, it seems provided now.
* Wed Mar 24 2004 Matthias Saou 2.0-0.3
- Update to 2.0 final.
* Thu Mar 4 2004 Matthias Saou 2.0-0.2.rc6
- Update to 2.0-rc6.
* Thu Feb 19 2004 Matthias Saou 2.0-0.2.rc5
- Initial RPM release.