1 |
# $Id: jToolkit.spec,v 1.7 2008/11/25 16:20:12 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%define name jToolkit |
6 |
%define version 0.7.8 |
7 |
%define release 1 |
8 |
|
9 |
Summary: jToolkit web framework |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
Source0: %{name}-%{version}.tar.gz |
14 |
License: GNU General Public License (GPL) |
15 |
Group: Development/Libraries |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
17 |
Prefix: %{_prefix} |
18 |
BuildArch: noarch |
19 |
Url: http://jtoolkit.sourceforge.net/ |
20 |
|
21 |
%description |
22 |
jToolkit is a Python web application framework built on modpython and Apache. There is also a simple command line webserver for running applications from. |
23 |
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). |
24 |
|
25 |
%prep |
26 |
%setup |
27 |
|
28 |
%build |
29 |
python jToolkitSetup.py build |
30 |
|
31 |
%install |
32 |
python jToolkitSetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
33 |
|
34 |
%clean |
35 |
rm -rf $RPM_BUILD_ROOT |
36 |
|
37 |
%files -f INSTALLED_FILES |
38 |
%defattr(-,root,root) |