]> git.pld-linux.org Git - packages/Zope-CMFBoard.git/blobdiff - Zope-CMFBoard.spec
- tabs in preamble
[packages/Zope-CMFBoard.git] / Zope-CMFBoard.spec
index dbba04480f22ffd1b71f6ac1d52d6ada5866bc41..3305bd0e5a03f29e0c480f99663f0ec12cca2a36 100644 (file)
@@ -1,34 +1,37 @@
 %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.1.2
+Version:       2.2.1
 Release:       1
 License:       GPL
 Group:         Development/Tools
 Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
-# Source0-md5: 148497265f04434b7aeaedddf7958051
+# 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-CMFMessage
+Requires:      Zope-CMFPlone >= 2.0
+Requires:      Zope-PlacelessTranslationService
 Requires:      Zope-PortalTransport
-Requires:      Zope-archetypes >= 1.2
+Requires:      Zope-archetypes >= 1.2.5
 Requires:      python-Imaging
 Requires:      python-PyXML
-BuildArch:     noarch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 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
@@ -43,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}
@@ -55,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.073248 seconds and 4 git commands to generate.