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

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Fri May 30 15:04:41 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-toscawidgets/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13486/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-toscawidgets.spec 
Log Message:
Initial import



--- NEW FILE python-toscawidgets.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define srcname ToscaWidgets

Name:           python-toscawidgets
Version:        0.2
Release:        0.3.20080320svn4283%{?dist}
Summary:        Web widget toolkit
Group:          Development/Languages
License:        MIT
URL:            http://toscawidgets.org/
# svn co -r 4283 http://svn.turbogears.org/projects/ToscaWidgets/trunk ToscaWidgets-0.2
# tar -czvf ToscaWidgets-0.2.20080320svn4283.tar.gz --exclude .svn ToscaWidgets-0.2
Source0:        http://toscawidgets.org/download/%{srcname}-%{version}.20080320svn4283.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools-devel

Requires: python-ruledispatch >= 0.5a0-0.7.svnr2306
Requires: python-decoratortools
Requires: python-paste >= 1.1
Requires: python-paste-script
Requires: python-simplejson
Requires: python-decorator

%description
ToscaWidgets is a web widget toolkit for Python to aid in the creation, 
packaging and distribution of common view elements normally used in the web.

ToscaWidgets is an almost complete rewrite of the widgets package bundled with
TurboGears-1.0. The rewrite's goal was to decouple the widgets package from
CherryPy and TurboGears itself to fit better with TurboGears 2.0 
philosophy which is to partition it's services into independent WSGI 
components for easier mainteinance and reuse in other Python web applications 
or frameworks.

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

cd examples/tgsample/tgsample
%{__sed} -i 's/\r//'  templates/welcome.kid templates/add_user.kid templates/master.kid static/css/style.css

cd ..
chmod 0644 start-tgsample.py

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc *.txt docs examples
# For noarch packages: sitelib
%{python_sitelib}/*


%changelog
* Thu Mar 20 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2-0.3.20080320svn4283
- Update to a snapshot.

* Thu Dec 20 2007 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2-0.2.rc3dev_r3795
- Add Requires

* Wed Dec 19 2007 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2-0.1.rc3dev_r3795
- Inital Fedora Build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-toscawidgets/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 May 2008 14:42:53 -0000	1.1
+++ .cvsignore	30 May 2008 15:03:07 -0000	1.2
@@ -0,0 +1 @@
+ToscaWidgets-0.2.20080320svn4283.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-toscawidgets/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 14:42:53 -0000	1.1
+++ sources	30 May 2008 15:03:07 -0000	1.2
@@ -0,0 +1 @@
+ef783d8beef11aab311f5472a46b4001  ToscaWidgets-0.2.20080320svn4283.tar.gz




More information about the scm-commits mailing list