]> git.pld-linux.org Git - packages/Zope-Epoz.git/blobdiff - Zope-Epoz.spec
- up to 2.0.2
[packages/Zope-Epoz.git] / Zope-Epoz.spec
index 72c55bfda0e8d53b1b805e15bea1b81ec4ecf07a..e1aab60ed1738185e99e39dda97d64184fa6f036 100644 (file)
@@ -1,39 +1,38 @@
-%include       /usr/lib/rpm/macros.python
 %define        zope_subname    Epoz
-Summary:       epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor (primary ver.)
-Summary(pl):   Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w trybie WYSIWYG
+Summary:       epoz allows you to edit Zope or Plone-objects with a WYSIWYG-editor (primary ver.)
+Summary(pl.UTF-8):     Dodatek do Zope lub Plone umożliwiający manipulacje na obiektach w trybie WYSIWYG
 Name:          Zope-%{zope_subname}
-Version:       0.8.2
+Version:       2.0.2
 Release:       1
 License:       ZPL 2.0
 Group:         Development/Tools
-Source0:       http://mjablonski.zope.de/Epoz/releases/%{zope_subname}-%{version}.tar.gz
-# Source0-md5: 230d63393b1bdef89c49ab8a7b3fc8d8
-URL:           http://mjablonski.zope.de/Epoz/
+Source0:       http://iungo.org/products/Epoz/releases/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: b5e15ee8450715832475968a02886e8c
+URL:           http://iungo.org/products/Epoz/
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
-Requires:      Zope
 Requires(post,postun): /usr/sbin/installzopeproduct
+Requires:      Zope
 Obsoletes:     Zope-epoz
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor.
+epoz allows you to edit Zope or Plone-objects with a WYSIWYG-editor.
 (primary version)
 
-%description -l pl
-Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w
+%description -l pl.UTF-8
+Dodatek do Zope lub Plone umożliwiający manipulacje na obiektach w
 trybie WYSIWYG - (wersja pierwotna).
 
 %prep
 %setup -q -c
 
-%build
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af %{zope_subname}/{Extensions,skins,*.py,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af %{zope_subname}/{Extensions,epoz,*.py,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -45,19 +44,15 @@ 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
+       %service -q zope restart
 fi
 
 %files
 %defattr(644,root,root,755)
-%doc %{zope_subname}/{CHANGES.txt,HISTORY.txt,README.txt,TODO.txt}
+%doc %{zope_subname}/{CHANGES.txt,HISTORY.txt,README.txt,TODO.txt,FAQ.txt,mx*.txt}
 %{_datadir}/%{name}
This page took 0.079424 seconds and 4 git commands to generate.