rpms/python-paste/devel python-paste.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed Jul 19 20:16:16 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/python-paste/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21143/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-paste.spec 
Log Message:
auto-import python-paste-0.9.3-4 on branch devel from python-paste-0.9.3-4.src.rpm


--- NEW FILE python-paste.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-paste
Version:        0.9.3
Release:        4%{?dist}
Summary:        Tools for using a Web Server Gateway Interface stack
Group:          System Environment/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-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 *.css */*.css rebuild doc.conf template.tmpl */*.js
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}-py2.4*


%changelog
* Wed Jul 19 2006 Luke Macken <lmacken at redhat.com> - 0.9.3-4
- Use a smarter shebang removal expression

* Wed Jul 19 2006 Luke Macken <lmacken at redhat.com> - 0.9.3-3
- Fix doc inclusion

* Sat Jul 15 2006 Luke Macken <lmacken at redhat.com> - 0.9.3-2
- Clean up docs directory
- Remove shebang from from non-executable scripts
- Use consistent build root variables

* Mon Jul 10 2006 Luke Macken <lmacken at redhat.com> - 0.9.3-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-paste/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Jul 2006 20:15:54 -0000	1.1
+++ .cvsignore	19 Jul 2006 20:16:15 -0000	1.2
@@ -0,0 +1 @@
+Paste-0.9.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-paste/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Jul 2006 20:15:54 -0000	1.1
+++ sources	19 Jul 2006 20:16:15 -0000	1.2
@@ -0,0 +1 @@
+c1b8f08d0a7e9ccb97e6ee524b26d39f  Paste-0.9.3.tar.gz




More information about the fedora-extras-commits mailing list