]> git.pld-linux.org Git - packages/Zope-LocalFS.git/blobdiff - Zope-LocalFS.spec
- converted to UTF-8
[packages/Zope-LocalFS.git] / Zope-LocalFS.spec
index 124535120c12503dd659f50e6635f60957f08ece..85ebf314b85b8a42ba1ea03643382d4641b30eab 100644 (file)
@@ -1,21 +1,20 @@
-#
-# WARNING: this product not work propertly on Zope 2.7* !
-#
-%include       /usr/lib/rpm/macros.python
+
 %define                zope_subname    LocalFS
 Summary:       This product allows you to store Zope objects as human-readable files
-Summary(pl):   Dodatek umo¿liwiaj±cy praktyczniejsze przetrzymywanie obiektów Zope
+Summary(pl.UTF-8):   Dodatek umożliwiający praktyczniejsze przetrzymywanie obiektów Zope
 Name:          Zope-%{zope_subname}
-Version:       1.3
+Version:       1.6
 Release:       1
 License:       Distributable
 Group:         Development/Tools
 Source0:       http://www.easyleading.org/Downloads/%{zope_subname}-%{version}-andreas.tar.gz
-# Source0-md5: 0fe97ac8a24e1e706df8d5d4d9543858
-URL:           http://www.easyleading.org/Members/Eddy/LocalFS_1_3/
+# Source0-md5: 0196bdc5df0797cd33f5297b5a52c2f8
+URL:           http://www.easyleading.org/Members/Eddy/LocalFS-1.6-andreas/
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
-Requires:      Zope
 Requires(post,postun): /usr/sbin/installzopeproduct
+Requires:      Zope
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,9 +22,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This product allows you to store Zope objects as human-readable files
 in the local file system.
 
-%description -l pl
-Dodatek dla Zope umo¿liwiaj±cy przetrzymywanie obiektów Zope w
-lokalnym systemie plików.
+%description -l pl.UTF-8
+Dodatek dla Zope umożliwiający przetrzymywanie obiektów Zope w
+lokalnym systemie plików.
 
 %prep
 %setup -q -n %{zope_subname}
@@ -46,16 +45,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.058144 seconds and 4 git commands to generate.