packages: python-pesto/python-pesto.spec (NEW) - Initial version 19.
matkor
matkor at pld-linux.org
Tue Sep 28 22:18:34 CEST 2010
Author: matkor Date: Tue Sep 28 20:18:34 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- Initial version 19.
---- Files affected:
packages/python-pesto:
python-pesto.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-pesto/python-pesto.spec
diff -u /dev/null packages/python-pesto/python-pesto.spec:1.1
--- /dev/null Tue Sep 28 22:18:34 2010
+++ packages/python-pesto/python-pesto.spec Tue Sep 28 22:18:29 2010
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+%define module pesto
+Summary: library for Python web applications
+Summary(pl.UTF-8): Biblioteka dla Pythonowych aplikacji sieciowych
+Name: python-%{module}
+Version: 19
+Release: 1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 3f279d94147b511de47b3ae067d59a38
+URL: http://pesto.redgecko.org/index.html
+# BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#Requires: python-libs
+Requires: python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pesto makes it easy to: Map any URI to any part of your application.
+Produce unicode aware, standards compliant WSGI applications.
+Interrogate WSGI request information – form variables and HTTP request
+headers. Create and manipulate HTTP headers, redirects, cookies etc.
+
+%description -l pl.UTF-8
+Pesto mozwala: Mapować URI do fragementów aplikacji. Wygenerować
+unicodowe, zgodne ze standardem WSGI aplikacje. Odpytywać informacje
+WSGI o zapytaniu w tym zmienne z formatek i nagłówków HTTP. Tworzyć i
+manipulować nagłówki HTTP, przekierowania, ciasteczka itp.
+
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+# %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
+
+%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 2010/09/28 20:18:29 matkor
+- Initial version 19.
+
================================================================
More information about the pld-cvs-commit
mailing list