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)
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
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
32 %setup -q -n %{module}-%{version}
38 rm -rf $RPM_BUILD_ROOT
41 %py_postclean %{_datadir}/%{name}
44 rm -rf $RPM_BUILD_ROOT
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