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

Matthias Saou thias at fedoraproject.org
Thu Jan 1 11:06:27 UTC 2009


Author: thias

Update of /cvs/extras/rpms/python-twisted-web2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22137

Modified Files:
	.cvsignore sources 
Added Files:
	python-twisted-web2.spec 
Log Message:
Initial import of 8.1.0.



--- NEW FILE python-twisted-web2.spec ---
%{!?python:%define python python}
%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Summary: Experimental Twisted Web Server Framework
Name: %{python}-twisted-web2
Version: 8.1.0
Release: 5%{?dist}
License: MIT
Group: Development/Libraries
URL: http://twistedmatrix.com/trac/wiki/TwistedWeb2
Source: http://tmrc.mit.edu/mirror/twisted/Web2/8.1/TwistedWeb2-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: %{python}-twisted-core >= 8.1.0
BuildRequires: %{python}-twisted-core >= 8.1.0
BuildRequires: %{python}-devel
# Files are noarch, but we need to install in sitearch for things to work, as
# all the rest of Twisted is in sitearch
#BuildArch: noarch
# Because of the above, disable generating an empty debuginfo package
%define debug_package %{nil}

%description
Twisted.Web2 is an experimental web server built with Twisted. Useful Web2
functionality will be backported to TwistedWeb until TwistedWeb is as
featureful as Web2, then Web2 will be abandoned. 


%prep
%setup -q -n TwistedWeb2-%{version}


%build
%{python} setup.py build


%install
%{__rm} -rf %{buildroot}
%{python} setup.py install \
    -O1 --skip-build --root %{buildroot} \
    --install-purelib %{python_sitearch}
# See if there's any egg-info
if [ -f %{buildroot}%{python_sitearch}/Twisted*.egg-info ]; then
    echo %{buildroot}%{python_sitearch}/Twisted*.egg-info |
        %{__sed} -e 's|^%{buildroot}||'
fi > egg-info


%clean
%{__rm} -rf %{buildroot}


%post
if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
    %{_libexecdir}/twisted-dropin-cache || :
fi

%postun
if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
    %{_libexecdir}/twisted-dropin-cache || :
fi


%files -f egg-info
%defattr(-,root,root,-)
%doc LICENSE NEWS README doc/*
%{python_sitearch}/twisted/plugins/twisted_web2.py*
%{python_sitearch}/twisted/web2/


%changelog
* Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-5
- Introduce python macro for parallel installable versions.
- Add calls to twisted-dropin-cache and make sure they don't ever fail.
- Minor spec file updates.

* Tue Aug 19 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-4
- Use --install-purelib option instead of manually moving the installed files.
- Fix description.
- Include doc/ directory, although it would fit best in a "devel" package.
- Require python-twisted-core >= 8.1.0 to get ServiceMaker.

* Wed Jul 30 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-2
- Update to 8.1.0 again, as the downgrade didn't fix the problem.

* Wed Jul 16 2008 Matthias Saou <http://freshrpms.net/> 0.2.0-2
- Downgrade to 0.2.0 as elisa doesn't work with 8.1.0.
- Include Debian's patch, as it changes quite a bit of code.

* Tue Jul 15 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-0.1
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-web2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	31 Dec 2008 05:51:11 -0000	1.1
+++ .cvsignore	1 Jan 2009 11:05:56 -0000	1.2
@@ -0,0 +1 @@
+TwistedWeb2-8.1.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-web2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	31 Dec 2008 05:51:11 -0000	1.1
+++ sources	1 Jan 2009 11:05:56 -0000	1.2
@@ -0,0 +1 @@
+e34b48edf6fef075bd41ddbd215aed32  TwistedWeb2-8.1.0.tar.bz2




More information about the fedora-extras-commits mailing list