source: projects/specs/branches/6/p/python-twill/python-twill-vl.spec @ 5795

Revision 5795, 2.2 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild package

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:        3%{?_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
19
20%description
21twill is a simple language that allows users to browse the Web from
22a command-line interface.
23With twill, you can navigate through Web sites that use forms, cookies,
24and most standard Web features.
25
26%description -l ja
27twill はコマンドライン・インターフェースからウェブ・ブラウジングを可能に
28するシンプルな言語です。
29twill を使うことで、フォームやクッキー等の標準的なウェブで使用される要素
30を操作できます。
31
32
33%prep
34%setup -q -n twill-%{version}
35# Don't use the included mechanize, pyparsing, ClientForm or subprocess
36#%{__rm} -rf twill/other_packages/_mechanize_dist/
37
38
39%build
40%{__python} setup.py build
41
42
43%install
44%{__rm} -rf ${RPM_BUILD_ROOT}
45%{__python} setup.py install -O1 --skip-build \
46            --root ${RPM_BUILD_ROOT} \
47            --single-version-externally-managed
48
49
50%clean
51%{__rm} -rf ${RPM_BUILD_ROOT}
52
53
54%files
55%defattr(-,root,root)
56%doc README.txt doc/LICENSE.txt doc/ANNOUNCE-*.txt
57%doc doc/index.txt doc/examples.txt doc/browsing.txt doc/commands.txt
58%doc doc/ChangeLog doc/developer.txt doc/advocacy/simple-example.txt
59%doc doc/extensions.txt doc/python-api.txt doc/other.txt doc/testing.txt
60%{python_sitelib}/twill/
61%{python_sitelib}/twill-*.egg-info/
62%{_bindir}/twill-fork
63%{_bindir}/twill-sh
64
65
66%changelog
67* Thu Mar 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9-3
68- rebuild with Vine6 environment
69
70* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.9-2
71- rebuild with python-2.6
72
73* Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9-1
74- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.