[twill] twill rpm

Titus Brown titus at caltech.edu
Mon Aug 6 22:28:08 PDT 2007


-------- Original Message --------
Subject: twill rpm
Date: Wed, 11 Jul 2007 16:38:25 +0200
From: Antoine Brenner <pythonjob at gymglish.com>
To: twill at lists.idyll.org


Hello everybody,

I would like to inform you that we have created a source rpm for twill.
It should work fine for RHEL 4+, fedora 5+, and maybe even more...

The src rpm can be downloaded here:
http://www.gymglish.com/opensource/rpms/centos4-rpms/python-twill-0.9b1-1.src.rpm
and the corresponding rpm is here:
http://www.gymglish.com/opensource/rpms/centos4-rpms/python-twill-0.9b1-1.noarch.rpm


By the way, I would like to congatulate you on the twill package; it
is brilliant !


Best regards,
Antoine Brenner
--
GymGlish: http://www.gymglish.com


%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-twill
Version:        0.9b1
Release:        1%{?dist}
Summary:        twill: a simple scripting language for Web browsing

Group:          Development/Languages
License:        Public Domain
URL:            http://twill.idyll.org/
Source0:        http://darcs.idyll.org/~t/projects/twill-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

%description
twill is a simple language that allows users to browse the Web
from a command-line interface. With twill, you can navigate 
through Web sites that use forms, cookies, and most standard Web features.


%prep
%setup -q -n twill-%{version}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%{__install} -Dp -m755 twill-sh %{buildroot}%{_bindir}/twill-sh
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc doc/*
# For noarch packages: sitelib
%{python_sitelib}/*
/usr/bin/twill-fork
/usr/bin/twill-sh


%changelog
* Wed Jul 11 2007 Antoine Brenner <http://www.gymglish.com> - 0.9b1
- Initial SPEC file




More information about the twill mailing list