File webyast-selenium.spec of Package webyast-selenium
#
# spec file for package webyast-selenium
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: webyast-selenium
Provides: yast2-webclient-selenium = %{version}
Obsoletes: yast2-webclient-selenium < %{version}
AutoReqProv: on
Version: 1.0.1
Release: 1
Group: Productivity/Networking/Web/Utilities
License: Apache License v. 2.0
Summary: YaST2 - Webclient - Selenium Remote Control
Url: http://seleniumhq.org
Requires: rubygem-selenium-client
Requires: jre
BuildArch: noarch
BuildRequires: fastjar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: www.tar.bz2
%description
This package contains Selenium Remote Control component which
is used for automated UI testing.
%prep
%setup -q -n www
%build
%install
#
# Install all parts.
#
mkdir -p $RPM_BUILD_ROOT/srv/www/yast/vendor/selenium-remote-control
cp -a * $RPM_BUILD_ROOT/srv/www/yast/vendor/selenium-remote-control
# don't package the Rakefile
rm $RPM_BUILD_ROOT/srv/www/yast/vendor/selenium-remote-control/Rakefile
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir /srv/www/yast
%dir /srv/www/yast/vendor
/srv/www/yast/vendor/selenium-remote-control
%doc README*
%changelog