-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpython-cherrypy.spec
52 lines (39 loc) · 1.34 KB
/
python-cherrypy.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# $Id$
# Authority: arrfab
%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
Name: python-cherrypy
Version: 3.1.2
Release: 1%{?dist}
Summary: Pythonic, object-oriented web development framework
Group: Development/Libraries
License: BSD
URL: http://www.cherrypy.org/
Packager: Dag Wieers <[email protected]>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Source0: http://download.cherrypy.org/cherrypy/%{version}/CherryPy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python-devel
%description
CherryPy allows developers to build web applications in much the same way
they would build any other object-oriented Python program. This usually
results in smaller source code developed in less time.
%prep
%setup -q -n CherryPy-%{version}
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt
%doc cherrypy/tutorial
%{_bindir}/cherryd
%{python_sitelib}/*
%changelog
* Mon Oct 25 2010 Fabian Arrotin <[email protected]> - 3.1.2 - 9200/arrfab
- Initial package