]> git.pld-linux.org Git - packages/Zope-Localizer.git/blobdiff - Zope-Localizer.spec
- prepare rel. for rebuild with python 2.4
[packages/Zope-Localizer.git] / Zope-Localizer.spec
index 583dfda7a80117a56f0696f39d5c761b6dc01b84..a79bc662391a51abc14e3f438f09bb54c2cacecc 100644 (file)
@@ -1,22 +1,20 @@
-%include       /usr/lib/rpm/macros.python
 %define                zope_subname    Localizer
 Summary:       A Zope product to develop multilingual web application
 Summary(pl):   Dodatek do Zope umo¿liwiaj±cy tworzenie wielojêzycznych aplikacji WWW
 Name:          Zope-%{zope_subname}
-%define                sub_ver a2
+%define                sub_ver b2
 Version:       1.1.0
-Release:       4.%{sub_ver}
+Release:       4.%{sub_ver}.2
 License:       GPL v2+
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}%{sub_ver}.tgz
-# Source0-md5: 7d2f33fe81c1c9dd554ed3fcfa5dbb4d
+Source0:       http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}%{sub_ver}.tar.gz
+# Source0-md5: d59bc976d6be8d227dc6e2a4ad16148d
 URL:           http://www.localizer.org/
-BuildRequires: python >= 2.1
 %pyrequires_eq python-modules
 Requires:      Zope >= 2.6
-Requires:      python-itools
-Requires:      Zope-iHotfix
-Requires(post,postun):  /usr/sbin/installzopeproduct
+Requires:      python-itools >= 0.5
+Requires:      Zope-iHotfix >= 0.5
+Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,14 +26,13 @@ Localizer jest dodatkiem do Zope umo
 wielojêzycznych aplikacji WWW.
 
 %prep
-%setup -q -n %{zope_subname}
+%setup -q -n %{zope_subname}-%{version}%{sub_ver}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-# should tests be included or not?
-cp -af {help,img,locale,tests,ui,*.py,*.gif,*.jpg,charsets.txt} \
+cp -af {help,img,locale,tests,ui,*.py,*.gif,*.jpg,charsets.txt,version.txt} \
        $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -54,15 +51,15 @@ fi
 
 %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}
+       if [ -f /var/lock/subsys/zope ]; then
+               /etc/rc.d/init.d/zope restart >&2
+       fi
 fi
 
 %files
 %defattr(644,root,root,755)
-%doc BUGS.txt README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt
+%doc Changelog README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt
 %lang(es) %doc RELEASE*.txt.es
 %lang(fr) %doc RELEASE*.txt.fr
 %{_datadir}/%{name}
This page took 0.060983 seconds and 4 git commands to generate.