rpms/python-nevow/FC-6 python-nevow.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri Apr 20 08:41:46 UTC 2007


Author: thias

Update of /cvs/extras/rpms/python-nevow/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5611/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	python-nevow.spec 
Log Message:
Initial import of python-nevow (#228301).



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

Summary: Web application construction kit written in Python
Name: python-nevow
Version: 0.9.18
Release: 2%{?dist}
License: MIT
Group: Development/Languages
URL: http://divmod.org/trac/wiki/DivmodNevow
# Add ?format=raw to download...
Source: http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-twisted-core
Requires: python-twisted-web
BuildRequires: python-devel
BuildRequires: python-twisted-core
BuildRequires: python-twisted-web
# To fix up docs
Buildrequires: dos2unix
BuildArch: noarch

%description
Nevow (pronounced as the French "nouveau", or "noo-voh") is a web application
construction kit written in Python. It is designed to allow the programmer to
express as much of the view logic as desired in Python.


%prep
%setup -q -n Nevow-%{version}
# Convert all DOS files to UNIX
find examples \( -name '*.html' -o -name '*.xml' -o -name '*.css' \) \
    -exec dos2unix {} \;
# Remove +x from executable doc files
%{__chmod} -x examples/i18n/update-l10n examples/wsgi/test-cgi.py


%build
%{__python} setup.py build


%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
# Install man page
%{__install} -D -p -m 0644 doc/man/nevow-xmlgettext.1 \
    %{buildroot}%{_mandir}/man1/nevow-xmlgettext.1


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


%files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README doc/txt/* examples/
%{_bindir}/nevow-xmlgettext
%{_bindir}/nit
%{python_sitelib}/formless/
%{python_sitelib}/nevow/
%{_mandir}/man1/nevow-xmlgettext.1*


%changelog
* Tue Apr 10 2007 Matthias Saou <http://freshrpms.net/> 0.9.18-2
- Fix some end-of-line encodings and executable bits in the docs.

* Fri Mar 23 2007 Matthias Saou <http://freshrpms.net/> 0.9.18-1
- Update to 0.9.18.

* Fri Feb  9 2007 Matthias Saou <http://freshrpms.net/> 0.9.0-1
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-nevow/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Apr 2007 17:37:22 -0000	1.1
+++ .cvsignore	20 Apr 2007 08:41:11 -0000	1.2
@@ -0,0 +1 @@
+Nevow-0.9.18.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-nevow/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Apr 2007 17:37:22 -0000	1.1
+++ sources	20 Apr 2007 08:41:11 -0000	1.2
@@ -0,0 +1 @@
+bfe34b75fe2264041511c76d312f700c  Nevow-0.9.18.tar.gz




More information about the scm-commits mailing list