]> git.pld-linux.org Git - packages/Zope-CMFBoard.git/blobdiff - Zope-CMFBoard.spec
- converted to UTF-8
[packages/Zope-CMFBoard.git] / Zope-CMFBoard.spec
index f3bf8219a471a33ba8d7ea6f2d36958d5da08be7..280d8a05ca312e900a43b24be32aabb106c8dcf7 100644 (file)
@@ -1,33 +1,37 @@
-%include       /usr/lib/rpm/macros.python
 %define                zope_subname    CMFBoard
 Summary:       Portal discussion for Plone
-Summary(pl):   Portal dyskusyjny dla Plone
+Summary(pl.UTF-8):   Portal dyskusyjny dla Plone
 Name:          Zope-%{zope_subname}
-Version:       2.0
+Version:       2.2.1
 Release:       1
 License:       GPL
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}final.tar.gz
-# Source0-md5: 0b604d3b14b22e273e7a41973c702b46
+Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: c9e758f81525e49a89871ba79af61588
 URL:           http://www.cmfboard.org/
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,postun): /usr/sbin/installzopeproduct
 %pyrequires_eq python-modules
 Requires:      Zope
+Requires:      Zope-BTreeFolder2
 Requires:      Zope-CMF
-Requires:      Zope-CMFPlone >= 2.0
-Requires:      Zope-archetypes >= 1.2
-Requires:      Zope-CMFMPoll
 Requires:      Zope-CMFMessage
+Requires:      Zope-CMFPlone >= 2.0
+Requires:      Zope-PlacelessTranslationService
+Requires:      Zope-PortalTransport
+Requires:      Zope-archetypes >= 1.2.5
 Requires:      python-Imaging
-BuildArch:     noarch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires:      python-PyXML
 Conflicts:     CMF
 Conflicts:     Plone
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Portal discussion for Plone.
 
-%description -l pl
+%description -l pl.UTF-8
 Portal dyskusyjny dla Plone.
 
 %prep
@@ -42,7 +46,7 @@ rm -rf i18n/{build.bat,*.exe}
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-cp -af {Extensions,i18n,skins,uihelpers,zpt,*.py,*.gif,VERSION.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {Extensions,i18n,mailtemplates,skins,uihelpers,zpt,*.py,*.gif,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -54,16 +58,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
-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
-        /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}
+       %service -q zope restart
 fi
 
 %files
This page took 0.051309 seconds and 4 git commands to generate.