]> git.pld-linux.org Git - packages/Zope-CMFPlone.git/commitdiff
- renamed spec
authorciesiel <ciesiel@pld-linux.org>
Sat, 15 Nov 2003 14:17:40 +0000 (14:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CMFPlone.spec -> 1.2

Zope-CMFPlone.spec [new file with mode: 0644]

diff --git a/Zope-CMFPlone.spec b/Zope-CMFPlone.spec
new file mode 100644 (file)
index 0000000..6f5045a
--- /dev/null
@@ -0,0 +1,88 @@
+%include       /usr/lib/rpm/macros.python
+Summary:       Plone - a free, open source Content Management System based on Zope and CMF
+Summary:       Plone - darmowy, otwarty system zarz±dzania tre¶ci± oparty na Zope i CMF
+Name:          Plone
+Version:       2.0
+%define                sub_ver beta3
+Release:       2.%{sub_ver}
+License:       Zope Public License (ZPL), GPL
+Group:         Networking/Daemons
+Source0:       http://dl.sourceforge.net/plone/CMF%{name}%{version}-%{sub_ver}.tar.gz
+# Source0-md5: ae47b12f56eb6e4f86ec7b0650e35552
+URL:           http://www.plone.org/
+%pyrequires_eq python-modules
+Requires:      CMF >= 1.4
+Requires:      Zope >= 2.6.2
+Requires:      Zope-BTreeFolder2
+Requires:      Zope-CMFQuickInstallerTool
+Requires:      Zope-ExternalEditor
+Requires:      Zope-Formulator
+Requires:      Zope-GroupUserFolder
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                product_dir     /usr/lib/zope/Products
+
+%description
+Plone is a free, open source Content Management System. The focus of
+Plone is to provide value at every level of an organization. It comes
+with a workflow engine, pre-configured security and roles, a set of
+content types and multi-lingual support. There are many developers,
+writers and testers from all over the world, contributing to Plone
+everyday. Plone is based on the Content Management Framework.
+
+%description -l pl
+Plone jest darmowym systemem zarz±dzania informacj± z otwartym kodem
+¼ród³owym. G³ównym celem Plone jest mo¿liwo¶æ dzielenia siê informacj±
+na ka¿dym poziomie dostêpu. Jest to "silnik" serwisu umo¿liwiaj±cy
+pracê z wieloma jêzykami, z wstêpn± konfiguracj± uwzglêdniaj±c±
+zabezpieczenia serwisu. Plone dzia³a w zestawie z CMF, Zope i
+Pythonem.
+
+%prep
+%setup -q -n CMF%{name}-%{version}-%{sub_ver}
+
+%build
+# remove dirs - additional packages!
+rm -rf {BTreeFolder2,CMFQuickInstallerTool,ExternalEditor,GroupUserFolder,Formulator}
+
+mkdir docs docs/CMFPlone docs/CMFFormController docs/i18n
+rm -rf `find . type f -name .cvsignore`
+mv -f CMFPlone/{CREDITS.txt,ChangeLog,HISTORY.txt,INSTALL.txt,README.txt} docs/CMFPlone
+mv -f CMFPlone/docs/* docs/CMFPlone
+mv -f CMFPlone/i18n/ChangeLog docs/i18n
+rm -rf CMFPlone/i18n/{build.bat,msgfmt.exe}
+mv -f CMFFormController/{AUTHORS,ChangeLog,README.txt} docs/CMFFormController
+rm -rf CMFPlone/docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{product_dir}
+cp -af * $RPM_BUILD_ROOT%{product_dir}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}
+
+rm -rf $RPM_BUILD_ROOT%{product_dir}/docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+echo "From /manage interface there should be a 'Select Type to Add' and says Plone Site" >&2
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%{product_dir}/CMFPlone
+%{product_dir}/CMFActionIcons
+%{product_dir}/CMFFormController
+# %%{product_dir}/i18n
This page took 0.042325 seconds and 4 git commands to generate.