]> git.pld-linux.org Git - packages/empy.git/blobdiff - empy.spec
- rel. 3 (rebuild with python 2.5)
[packages/empy.git] / empy.spec
index dc786b06bc59776fd2d869e825a6d7b5e201b787..3d98b8fc4211f4d6ab3da8e55aa82e7bf840281e 100644 (file)
--- a/empy.spec
+++ b/empy.spec
@@ -1,17 +1,13 @@
-
-%include       /usr/lib/rpm/macros.python
-
 Summary:       System for embedding Python expressions and statements in template text
 Summary(pl):   System wbudowywania wyra¿eñ jêzyka Python w pliki tekstowe
 Name:          empy
-Version:       3.0.2
-Release:       1
-License:       GPL
+Version:       3.3
+Release:       3
+License:       LGPL
 Group:         Applications/Text
-Source0:       http://www.alcyone.com/pyos/empy/%{name}-%{version}.tar.gz
-# Source0-md5: f1f8e84f2c1d076af983d0a57d96fb8b
-URL:           http://www.alcyone.com/pyos/empy/
-BuildRequires: rpm-pythonprov
+Source0:       http://www.alcyone.com/software/empy/%{name}-%{version}.tar.gz
+# Source0-md5: e7b518a6fc4fd28fef87726cdb003118
+URL:           http://www.alcyone.com/software/empy/
 %pyrequires_eq python-modules
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,6 +30,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
 
 python setup.py install \
+       --optimize=2 \
        --root=$RPM_BUILD_ROOT
 
 cat > $RPM_BUILD_ROOT%{_bindir}/em.py <<"EOF"
@@ -42,9 +39,6 @@ import em
 em.invoke(sys.argv[1:])
 EOF
 
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
 
 %clean
@@ -54,4 +48,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README *.em doc
 %attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/*.py[co]
+%{py_sitescriptdir}/*.py[co]
This page took 0.032111 seconds and 4 git commands to generate.