]> git.pld-linux.org Git - SPECS.git/blob - twill.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / twill.spec
1 Summary:        twill - Web browsing system
2 Summary(pl.UTF-8):      twill - System przeglądania sieci WWW
3 Name:           twill
4 Version:        0.9
5 Release:        2
6 Epoch:          1
7 License:        MIT
8 Group:          Applications/Networking
9 Source0:        http://darcs.idyll.org/~t/projects/%{name}-%{version}.tar.gz
10 # Source0-md5:  c362307616696f4838e9456c42b70fdc
11 Patch0:         %{name}-setup.patch
12 URL:            http://twill.idyll.org/
13 BuildRequires:  python-devel >= 2.3
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.219
16 %pyrequires_eq  python-modules
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A scripting system for automating Web browsing. Useful for testing Web
22 pages or grabbing data from password-protected sites automatically.
23
24 %description -l pl.UTF-8
25 Skryptowy system automatyzujący przeglądanie zawartości sieci WWW.
26 Twill jest przydatny do testowania stron WWW lub automatycznego
27 pobierania informacji ze stron zabezpieczonych hasłem.
28
29 %prep
30 %setup -q
31 %patch0 -p0
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
36
37 %{__python} setup.py install \
38         --optimize=2 \
39         --root=$RPM_BUILD_ROOT
40
41 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42
43 %py_postclean
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc doc/{ANNOUNCE-%{version}.txt,ChangeLog,LICENSE.txt,*.html,*.css}
51 %attr(755,root,root) %{_bindir}/*
52 %{py_sitescriptdir}/*
53 %{_examplesdir}/%{name}-%{version}
This page took 1.402331 seconds and 3 git commands to generate.