]> git.pld-linux.org Git - packages/Zope-iHotfix.git/blobdiff - Zope-iHotfix.spec
- converted to UTF-8
[packages/Zope-iHotfix.git] / Zope-iHotfix.spec
index f189100c95daa879dc46bee6cb5e08903577d511..657dcb31c0a349a8498896b4a9ca1f31e69aa88b 100644 (file)
@@ -1,37 +1,39 @@
 
 %define                zope_subname    iHotfix
 Summary:       Dynamically applying several patches to Zope
-Summary(pl):   Dodatek aplikuj±cy wiele poprawek dla Zope
+Summary(pl.UTF-8):   Dodatek aplikujący wiele poprawek dla Zope
 Name:          Zope-%{zope_subname}
-Version:       0.4.0
+Version:       0.7.0
 Release:       1
 License:       GPL
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}.tgz
-# Source0-md5: 773ba7f4202c9230019622fbb67dbd1d
-URL:           http://sourceforge.net/projects/lleu/
-BuildRequires: python >= 2.2
+Source0:       http://download.ikaaro.org/ihotfix/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 07a438b14e550e6e37271f34e098bbd6
+URL:           http://www.ikaaro.org/
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,postun): /usr/sbin/installzopeproduct
-%pyrequires_eq python-modules
 Requires:      Zope >= 2.6
+Requires:      python-itools >= 0.9.0
+%pyrequires_eq python-modules
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 It dynamically applies several patches to Zope.
 
-%description -l pl
-Dodatek aplikuj±cy wiele poprawek dla Zope.
+%description -l pl.UTF-8
+Dodatek aplikujący wiele poprawek dla Zope.
 
 %prep
-%setup -q -n %{zope_subname}
+%setup -q -n %{zope_subname}-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 # should tests be included or not?
-cp -af *.py $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af *.py version.txt $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -43,19 +45,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 TODO.txt
+%doc CHANGES.txt README.txt Changelog
 %{_datadir}/%{name}
This page took 0.230002 seconds and 4 git commands to generate.