SPECS: python-Pylons.spec (NEW) - first version, builds but not te...
emes
emes at pld-linux.org
Sun Nov 19 01:36:51 CET 2006
Author: emes Date: Sun Nov 19 00:36:51 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- first version, builds but not tested if works
---- Files affected:
SPECS:
python-Pylons.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-Pylons.spec
diff -u /dev/null SPECS/python-Pylons.spec:1.1
--- /dev/null Sun Nov 19 01:36:51 2006
+++ SPECS/python-Pylons.spec Sun Nov 19 01:36:46 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%define module pylons
+%define fname Pylons
+%define python_version 2.4
+Summary: Pylons Web Framework
+Summary(pl): Ĺrodowisko Pylons
+Name: python-%{fname}
+Version: 0.9.3
+Release: 0.1
+License: BSD
+Group: Libraries/Python
+Source0: http://cheeseshop.python.org/packages/source/P/%{fname}/%{fname}-%{version}.tar.gz
+# Source0-md5: 1c36a3d58d81281a0f252a747ad38a00
+URL: http://pylonshq.com/
+BuildRequires: python-setuptools
+Requires: python >= %{python_version}
+Requires: python-Paste
+Requires: python-PasteDeploy
+Requires: python-simplejson
+Requires: python-FormEncode
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pylons is a lightweight web framework emphasizing
+flexibility and rapid development.
+
+%description -l pl
+Pylons to nieduĹźe Ĺrodowisko do szybkiego i elastycznego
+tworzenia interaktywnych stron WWW.
+
+%prep
+%setup -qn %{fname}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+%{py_sitescriptdir}/%{module}/decorators/*.py[co]
+%{py_sitescriptdir}/%{module}/i18n/*.py[co]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/11/19 00:36:46 emes
+- first version, builds but not tested if works
+
================================================================
More information about the pld-cvs-commit
mailing list