Name: python-paste Version: 1.7.5.1 Release: %mkrel 2 Summary: Tools for using a Web Server Gateway Interface stack Group: System/Libraries License: MIT URL: http://pythonpaste.org Source0: http://cheeseshop.python.org/packages/source/P/Paste/Paste-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description These provide several pieces of "middleware" (or filters) that can be nested to build web applications. Each piece of middleware uses the WSGI (PEP 333) interface, and should be compatible with other middleware based on those interfaces. %prep %setup -q -n Paste-%{version} %{__sed} -i -e '/^#!.*/,1 d' paste/util/scgiserver.py paste/debug/doctest_webapp.py # clean docs directory pushd docs rm StyleGuide.txt popd %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --single-version-externally-managed \ --skip-build -O1 --root=%{buildroot} echo '%defattr (0644,root,root,0755)' > pyfiles find %{buildroot}%{python_sitelib}/paste -type d | \ sed 's:%{buildroot}\(.*\):%dir \1:' >> pyfiles find %{buildroot}%{python_sitelib}/paste -not -type d -not -name '*.pyo' | \ sed 's:%{buildroot}\(.*\):\1:' >> pyfiles find %{buildroot}%{python_sitelib}/paste -not -type d -name '*.pyo' | \ sed 's:%{buildroot}\(.*\):%ghost \1:' >> pyfiles %clean rm -rf %{buildroot} %files -f pyfiles %defattr(-,root,root,-) %doc docs/* %{python_sitelib}/Paste-%{version}-py%{pyver}* %changelog * Tue Nov 02 2010 Crispin Boylan <crisb@mandriva.org> 1.7.5.1-2mdv2011.0 + Revision: 591770 - Rebuild * Sat Oct 23 2010 Guillaume Rousse <guillomovitch@mandriva.org> 1.7.5.1-1mdv2011.0 + Revision: 587726 - update to new version 1.7.5.1 * Tue Sep 14 2010 Crispin Boylan <crisb@mandriva.org> 1.7.4-1mdv2011.0 + Revision: 578207 - 1.7.4 - New release * Tue Sep 15 2009 Thierry Vignaud <tv@mandriva.org> 1.7.2-3mdv2010.0 + Revision: 442336 - rebuild * Fri Dec 26 2008 Crispin Boylan <crisb@mandriva.org> 1.7.2-2mdv2009.1 + Revision: 319379 - Rebuild for python2.6 * Thu Dec 04 2008 Crispin Boylan <crisb@mandriva.org> 1.7.2-1mdv2009.1 + Revision: 309938 - Correct group - Initial mdv package - create python-paste