source: projects/specs/trunk/p/python-twill/python-twill-vl.spec @ 8158

Revision 8158, 2.4 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary:        Simple scripting language for Web browsing
4Summary(ja):    ウェブ・ブラウジング用のシンプルなスクリプト言語
5Name:           python-twill
6Version:        0.9
7Release:        4%{?_dist_release}
8Source0:        http://darcs.idyll.org/~t/projects/twill-%{version}.tar.gz
9License:        MIT
10Group:          Applications/Internet
11URL:            http://twill.idyll.org/
12
13Requires:       python, python-clientform
14Requires:       python-mechanize, pyparsing
15BuildRequires:  python-devel python-setuptools
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: Takemikaduchi
22
23%description
24twill is a simple language that allows users to browse the Web from
25a command-line interface.
26With twill, you can navigate through Web sites that use forms, cookies,
27and most standard Web features.
28
29%description -l ja
30twill はコマンドライン・インターフェースからウェブ・ブラウジングを可能に
31するシンプルな言語です。
32twill を使うことで、フォームやクッキー等の標準的なウェブで使用される要素
33を操作できます。
34
35
36%prep
37%setup -q -n twill-%{version}
38# Don't use the included mechanize, pyparsing, ClientForm or subprocess
39#%{__rm} -rf twill/other_packages/_mechanize_dist/
40
41
42%build
43%{__python} setup.py build
44
45
46%install
47%{__rm} -rf ${RPM_BUILD_ROOT}
48%{__python} setup.py install -O1 --skip-build \
49            --root ${RPM_BUILD_ROOT} \
50            --single-version-externally-managed
51
52
53%clean
54%{__rm} -rf ${RPM_BUILD_ROOT}
55
56
57%files
58%defattr(-,root,root)
59%doc README.txt doc/LICENSE.txt doc/ANNOUNCE-*.txt
60%doc doc/index.txt doc/examples.txt doc/browsing.txt doc/commands.txt
61%doc doc/ChangeLog doc/developer.txt doc/advocacy/simple-example.txt
62%doc doc/extensions.txt doc/python-api.txt doc/other.txt doc/testing.txt
63%{python_sitelib}/twill/
64%{python_sitelib}/twill-*.egg-info/
65%{_bindir}/twill-fork
66%{_bindir}/twill-sh
67
68
69%changelog
70* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9-4
71- rebuild with VineSeed environment
72
73* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9-3
74- rebuild with python-2.7.2
75
76* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.9-2
77- rebuild with python-2.6
78
79* Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9-1
80- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.