Summary: Framework designed to facilitate the building of applications for Plone and CMF
Summary(pl): ¦rodowsko u³atwiaj±ce budowanie aplikacji dla Plone i CMF
Name: Zope-%{zope_subname}
-Version: 1.3.3
+Version: 1.3.7
+#%%define part_name 1-3-7
#%%define sub_ver rc3
Release: 1
License: GPL
Group: Development/Tools
-Source0: http://dl.sourceforge.net/archetypes/Archetypes-%{version}-final-Bundle.tar.gz
-# Source0-md5: cf7197d3c6fe44df3281d4e16bd5d273
-URL: http://dreamcatcher.homeunix.org/
+Source0: http://plone.org/products/archetypes/releases/%{version}-final/archetypes-%{version}-final-bundle.tar.gz
+# Source0-md5: cb169796a54cfe2c063a037604701337
+URL: http://plone.org/products/archetypes/
BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
%pyrequires_eq python-modules
+Requires(post,postun): /usr/sbin/installzopeproduct
Requires: Zope
-Requires: Zope-CMFPlone
Requires: Zope-CMF
+Requires: Zope-CMFPlone
Requires: rtf-converter
-Requires(post,postun): /usr/sbin/installzopeproduct
Obsoletes: Zope-PortalTransforms
Conflicts: CMF
Conflicts: Plone
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Archetypes (formerly known as CMFTypes) is a framework designed
-to facilitate the building of applications for Plone and CMF.
-Its main purpose is to provide a common method for building
-content objects, based on schema definitions.
+Archetypes (formerly known as CMFTypes) is a framework designed to
+facilitate the building of applications for Plone and CMF. Its main
+purpose is to provide a common method for building content objects,
+based on schema definitions.
%description -l pl
Archetypes (poprzednio znany jako CMFTypes) jest ¶rodowiskiem
-u³atwiaj±cym budowanie aplikacji dla Plone i CMF.
-G³ównym zadaniem jest dostarczenie podstawowych metod
-do zbudowania obiektów typu content opartych na zdefiniowanych
-schematach.
+u³atwiaj±cym budowanie aplikacji dla Plone i CMF. G³ównym zadaniem
+jest dostarczenie podstawowych metod do zbudowania obiektów typu
+content opartych na zdefiniowanych schematach.
%prep
%setup -q -c
for p in Archetypes MimetypesRegistry generator validation PortalTransforms; do
/usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
done
-if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
-fi
+%service -q zope restart
%postun
if [ "$1" = "0" ]; then
for p in Archetypes MimetypesRegistry generator validation PortalTransforms; do
/usr/sbin/installzopeproduct -d $p
done
-fi
-if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
+ %service -q zope restart
fi
%files
%defattr(644,root,root,755)
-%doc docs/*
+%doc docs/*
%{_datadir}/%{name}