1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} |
---|
3 | |
---|
4 | Name: python-clientform |
---|
5 | Version: 0.2.7 |
---|
6 | Release: 4%{?_dist_release} |
---|
7 | Summary: Python module for client-side HTML forms |
---|
8 | Summary(ja): クライアントサイドの HTML フォーム用 Python モジュール |
---|
9 | |
---|
10 | Group: Development/Languages |
---|
11 | License: BSD |
---|
12 | URL: http://wwwsearch.sourceforge.net/ClientForm/ |
---|
13 | Source0: http://wwwsearch.sourceforge.net/ClientForm/src/ClientForm-%{version}.tar.gz |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildArch: noarch |
---|
17 | BuildRequires: python-devel |
---|
18 | BuildRequires: python-setuptools |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | ClientForm is a Python module for handling HTML forms on the client side, |
---|
25 | useful for parsing HTML forms, filling them in and returning the completed |
---|
26 | forms to the server. It developed from a port of Gisle Aas' Perl module |
---|
27 | HTML::Form, from the libwww-perl library, but the interface is not the same. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n ClientForm-%{version} |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | %{__python} setup.py build |
---|
35 | |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | %{__python} setup.py install --single-version-externally-managed -O1 \ |
---|
40 | --skip-build --root $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | |
---|
43 | %clean |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | |
---|
47 | %files |
---|
48 | %defattr(-,root,root,-) |
---|
49 | %doc COPYING.txt GeneralFAQ.html README.txt README.html examples |
---|
50 | %{python_sitelib}/ClientForm.py |
---|
51 | %{python_sitelib}/ClientForm.pyc |
---|
52 | %{python_sitelib}/ClientForm.pyo |
---|
53 | %{python_sitelib}/ClientForm-%{version}-py%{pyver}.egg-info |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-4 |
---|
57 | - rebuild with VineSeed environment |
---|
58 | |
---|
59 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-3 |
---|
60 | - rebuild with python-2.7.2 |
---|
61 | |
---|
62 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.7-2 |
---|
63 | - rebuilt with python-2.6.4 |
---|
64 | |
---|
65 | * Sat Dec 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.7-1 |
---|
66 | - initial build for Vine Linux based on fedora package |
---|
67 | |
---|
68 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.7-3 |
---|
69 | - Rebuild for Python 2.6 |
---|
70 | |
---|
71 | * Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> 0.2.7-2 |
---|
72 | - Update for python-setuptools changes in rawhide |
---|
73 | |
---|
74 | * Sat Aug 18 2007 Luke Macken <lmacken@redhat.com> 0.2.7-1 |
---|
75 | - 0.2.7 |
---|
76 | |
---|
77 | * Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.2.6-1 |
---|
78 | - 0.2.6 |
---|
79 | |
---|
80 | * Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.2.5-2 |
---|
81 | - Rebuild for python 2.5 |
---|
82 | - 0.2.5 |
---|
83 | |
---|
84 | * Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> 0.2.2-6 |
---|
85 | - Rebuild for FC6 |
---|
86 | |
---|
87 | * Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> 0.2.2-5 |
---|
88 | - Include .pyo files instead of ghosting them |
---|
89 | |
---|
90 | * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-4 |
---|
91 | - Install with --single-version-externally-managed flag |
---|
92 | - Add a few more docs |
---|
93 | |
---|
94 | * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-3 |
---|
95 | - Add python-setuptools to BuildRequires |
---|
96 | |
---|
97 | * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-2 |
---|
98 | - Fix version in Source0 |
---|
99 | |
---|
100 | * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-1 |
---|
101 | - Bump to 0.2.2 |
---|
102 | |
---|
103 | * Tue Feb 14 2006 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-4 |
---|
104 | - Bump for FE5 rebuild |
---|
105 | |
---|
106 | * Sun Oct 30 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-3 |
---|
107 | - Fix up review comments |
---|
108 | |
---|
109 | * Thu Oct 6 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-2 |
---|
110 | - Rename package to add python- prefix |
---|
111 | |
---|
112 | * Wed Oct 5 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-1 |
---|
113 | - Initial spec file |
---|