SPECS: python-subway.spec - use new setuptools way; missing R; upd...
arekm
arekm at pld-linux.org
Tue Dec 20 00:21:06 CET 2005
Author: arekm Date: Mon Dec 19 23:21:06 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use new setuptools way; missing R; updated
---- Files affected:
SPECS:
python-subway.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/python-subway.spec
diff -u SPECS/python-subway.spec:1.2 SPECS/python-subway.spec:1.3
--- SPECS/python-subway.spec:1.2 Thu Sep 22 22:37:24 2005
+++ SPECS/python-subway.spec Tue Dec 20 00:21:00 2005
@@ -1,19 +1,24 @@
# $Revision$, $Date$
%define module subway
-%define snap 20050913
+%define snap 20051219
Summary: A pythonic, object-oriented web development stack
Summary(pl): Pythonowy, zorientowany obiektowo stos do tworzenia WWW
Name: python-%{module}
-Version: 0
-Release: 0.%{snap}.1
+Version: 0.2
+%define _rc rc1
+Release: 0.%{_rc}.1
License: BSD
Group: Development/Languages/Python
Source0: %{module}-%{snap}.tar.bz2
-# Source0-md5: 82655b144bcf72047d3aeeb9357380f7
+# Source0-md5: 4d439e2825479dda68eff179f07da223
URL: http://subway.python-hosting.com/
BuildRequires: python
%pyrequires_eq python-modules
+Requires: python-cheetah
+Requires: python-cherrypy
+Requires: python-FormEncode
+Requires: python-SQLObject
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,15 +36,20 @@
%setup -q -n %{module}-%{snap}
%build
-%py_comp subway/
-%py_ocomp subway/
+python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_bindir}}
-cp -r subway $RPM_BUILD_ROOT%{py_sitescriptdir}
-install subway_create.py $RPM_BUILD_ROOT%{_bindir}
+python ./setup.py install \
+ --single-version-externally-managed \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,6 +58,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/*egg*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/12/19 23:21:00 arekm
+- use new setuptools way; missing R; updated
+
Revision 1.2 2005/09/22 20:37:24 qboosh
- pl, cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-subway.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list