1 |
slords |
1.1 |
%define name jToolkit |
2 |
|
|
%define version 0.7.8 |
3 |
|
|
%define release 1 |
4 |
|
|
|
5 |
|
|
Summary: jToolkit web framework |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
Source0: %{name}-%{version}.tar.gz |
10 |
|
|
License: GNU General Public License (GPL) |
11 |
|
|
Group: Development/Libraries |
12 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
13 |
|
|
Prefix: %{_prefix} |
14 |
|
|
BuildArch: noarch |
15 |
|
|
Url: http://jtoolkit.sourceforge.net/ |
16 |
|
|
|
17 |
|
|
%description |
18 |
|
|
jToolkit is a Python web application framework built on modpython and Apache. There is also a simple command line webserver for running applications from. |
19 |
|
|
It is aimed at dynamically generated pages rather than mostly-static pages (for which there are templating solutions). Pages can be produced using a variety of widgets. It handles sessions and database connections (and multi-database portability). |
20 |
|
|
|
21 |
|
|
%prep |
22 |
|
|
%setup |
23 |
|
|
|
24 |
|
|
%build |
25 |
|
|
python jToolkitSetup.py build |
26 |
|
|
|
27 |
|
|
%install |
28 |
|
|
python jToolkitSetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
29 |
|
|
|
30 |
|
|
%clean |
31 |
|
|
rm -rf $RPM_BUILD_ROOT |
32 |
|
|
|
33 |
|
|
%files -f INSTALLED_FILES |
34 |
|
|
%defattr(-,root,root) |