1 Summary: Firefox WebDriver support
2 Name: selenium-firefoxdriver
7 Source0: http://http.debian.net/debian/pool/non-free/s/selenium-firefoxdriver/%{name}_%{version}.orig.tar.gz
8 # Source0-md5: e578d75398cd201c6cec5111be51a877
10 ExclusiveArch: %{x8664} %{ix86}
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 WebDriver is designed to provide a simpler, more concise programming
15 interface in addition to addressing some limitations in the
16 Selenium-RC API. Selenium-WebDriver was developed to better support
17 dynamic web pages where elements of a page may change without the page
18 itself being reloaded. WebDriver's goal is to supply a well-designed
19 object-oriented API that provides improved support for modern advanced
20 web-app testing problems.
23 %setup -q -n selenium-%{version}
28 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_datadir}/firefoxdriver
32 cp -p selenium/webdriver/firefox/webdriver.xpi $RPM_BUILD_ROOT%{_datadir}/firefoxdriver
34 install -d $RPM_BUILD_ROOT%{_libdir}/firefoxdriver/amd64
35 cp -p selenium/webdriver/firefox/amd64/x_ignore_nofocus.so $RPM_BUILD_ROOT%{_libdir}/firefoxdriver/amd64/
38 install -d $RPM_BUILD_ROOT%{_libdir}/firefoxdriver/x86
39 cp -p selenium/webdriver/firefox/x86/x_ignore_nofocus.so $RPM_BUILD_ROOT%{_libdir}/firefoxdriver/x86/
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc CHANGES README.rst
48 %{_datadir}/firefoxdriver
49 %dir %{_libdir}/firefoxdriver
50 %dir %{_libdir}/firefoxdriver/*6*
51 %attr(755,root,root) %{_libdir}/firefoxdriver/*6*/x_ignore_nofocus.so