]> git.pld-linux.org Git - SPECS.git/blob - python-ClientForm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-ClientForm.spec
1 %define         module  ClientForm
2 Summary:        Python module for handling HTML forms (on the client side)
3 Summary(pl.UTF-8):      Moduł Pythona do obsługi formularzy HTML (po stronie klienta)
4 Name:           python-%{module}
5 Version:        0.2.10
6 Release:        2
7 License:        BSD
8 Group:          Development/Languages/Python
9 Source0:        http://wwwsearch.sourceforge.net/%{module}/src/%{module}-%{version}.tar.gz
10 # Source0-md5:  832c0ca78674f9263d1fc5fab8756e66
11 URL:            http://wwwsearch.sourceforge.net/ClientForm/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 Requires:       python-modules >= 2.1
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 ClientForm is a Python module for handling HTML forms on the client
19 side, useful for parsing HTML forms, filling them in and returning the
20 completed forms to the server. It developed from a port of Gisle Aas'
21 Perl module HTML::Form, from the libwww-perl library, but the
22 interface is not the same.
23
24 %description -l pl.UTF-8
25 ClientForm to moduł Pythona obsługujący formularze HTML po stronie
26 klienta. Przydatny do przetwarzania tychże, wypełniania i odsyłania do
27 serwera. Został stworzony na wzór perlowego modułu HTML::Form
28 napisanego przez Gislea Aasa, pochodzącego z biblioteki libwww-perl,
29 ale jego interfejs (API) jest inny.
30
31 %prep
32 %setup -q -n %{module}-%{version}
33
34 %build
35 %py_build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %py_install
40
41 %py_postclean %{_datadir}/%{name}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc COPYING.txt ChangeLog.txt GeneralFAQ.html README.html
49 %{py_sitescriptdir}/*.py[co]
50 %if "%{py_ver}" > "2.4"
51 %{py_sitescriptdir}/ClientForm-*.egg-info
52 %endif
This page took 0.464889 seconds and 3 git commands to generate.