]> git.pld-linux.org Git - packages/selenium-firefoxdriver.git/blob - selenium-firefoxdriver.spec
- rel 1
[packages/selenium-firefoxdriver.git] / selenium-firefoxdriver.spec
1 Summary:        Firefox WebDriver support
2 Name:           selenium-firefoxdriver
3 Version:        3.8.0
4 Release:        1
5 License:        Distributable
6 Group:          Applications
7 Source0:        http://http.debian.net/debian/pool/non-free/s/selenium-firefoxdriver/%{name}_%{version}.orig.tar.gz
8 # Source0-md5:  e578d75398cd201c6cec5111be51a877
9 URL:            -
10 ExclusiveArch:  %{x8664} %{ix86}
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
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.
21
22 %prep
23 %setup -q -n selenium-%{version}
24
25 %build
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 install -d $RPM_BUILD_ROOT%{_datadir}/firefoxdriver
31
32 cp -p selenium/webdriver/firefox/webdriver.xpi $RPM_BUILD_ROOT%{_datadir}/firefoxdriver
33 %ifarch %{x8664}
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/
36 %endif
37 %ifarch %{ix86}
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/
40 %endif
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
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
This page took 0.077059 seconds and 3 git commands to generate.