14
0
Files
python-selenium/python-selenium.spec
Pavol Rusnak 674cdbba1e Accepting request 33853 from home:bmanojlovic:branches:devel:languages:python
Copy from home:bmanojlovic:branches:devel:languages:python/python-selenium via accept of submit request 33853 revision 3.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/33853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=2
2010-03-04 12:07:23 +00:00

42 lines
1.0 KiB
RPMSpec

# norootforbuild
Name: python-selenium
Version: 1.0.1
Release: 1
Summary: A Python language binding for Selenium RC
License: Apache 2.0
Group: Development/Libraries/Python
Source: selenium-%{version}.tar.gz
Patch: data_files.patch
URL: http://www.openqa.org
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
# This code is taken from /etc/rpm/macros.python on openSUSE 11.2
%define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")
%description
Selenium Python Client Driver is a Python language binding for Selenium Remote Control.
Author:
--------
Maik Roeder <roeder@berg.net>
%prep
%setup -q -n selenium-%{version}
%patch
%build
%{__python} setup.py build
%install
%{__python} setup.py install --install-lib=%python_sitearch --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)