Compare commits

..

No commits in common. "rawhide" and "F-13-split" have entirely different histories.

7 changed files with 146 additions and 3 deletions

1
.cvsignore Normal file
View file

@ -0,0 +1 @@
selenium-core.tar.gz

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
selenium-core.tar.gz
/selenium-core.tar.gz

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
# Makefile for source rpm: selenium-core
# $Id$
NAME := selenium-core
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +0,0 @@
This package was retired on 2012-08-06 due to failure to build for multiple releases.

View file

@ -0,0 +1,32 @@
Index: pom.xml
===================================================================
--- pom.xml (revision 7846)
+++ pom.xml (working copy)
@@ -393,23 +393,27 @@
<url>http://svn.openqa.org/svn/selenium-core/trunk</url>
</scm>
<dependencies>
+ <!--
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
<artifactId>selenium-server-coreless</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
+ -->
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R1</version>
<scope>test</scope>
</dependency>
+ <!--
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
+ -->
</dependencies>
</project>

91
selenium-core.spec Normal file
View file

@ -0,0 +1,91 @@
Name: selenium-core
Version: 1.0.2
Release: 0.2.20091211svn%{?dist}
Summary: A DHTML test execution framework
Group: Development/Tools
# cssquery: LGPLv2
# scriptaculous: MIT
# selenium-core: ASL 2.0
# jsunit: GPLv2+
# strands: MPLv1.1 or GPLv2+ or LGPLv2+
License: LGPLv2 and MIT and ASL 2.0 and GPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+)
URL: http://seleniumhq.org/projects/core/
# svn export -r7846 http://selenium.googlecode.com/svn/selenium-core/trunk@7846 selenium-core
# tar czf selenium-core.tar.gz selenium-core
Source0: selenium-core.tar.gz
Patch0: selenium-core-1.0.2-no-test-deps.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: ant-junit
BuildRequires: ant-trax
BuildRequires: java-devel-openjdk
BuildRequires: maven2
BuildRequires: maven2-plugin-antrun
BuildRequires: maven2-plugin-clean
BuildRequires: maven2-plugin-compiler
BuildRequires: maven2-plugin-install
BuildRequires: maven2-plugin-jar
BuildRequires: maven2-plugin-resources
BuildRequires: maven-plugin-tools
BuildRequires: maven-shared-ant
BuildRequires: maven-surefire-maven-plugin
BuildRequires: maven-surefire-provider-junit
Requires: jpackage-utils
Requires: ant
Requires: jakarta-commons-logging
Requires: servlet
BuildArch: noarch
%description
Selenium Core is the engine of both, Selenium IDE and Selenium RC (driven
mode), but it also can be deployed on the desired application server.
%prep
%setup -q -n %{name}
%patch0 -p0 -b .no-test-deps
%build
find -name '*.jar' -delete
MAVEN_REPO_LOCAL=$PWD/.m2/repository
rm -rf $MAVEN_REPO_LOCAL
mkdir -p $MAVEN_REPO_LOCAL
# Test suite depends on selenium-server which is not in (yet!)
# (and has a circular dependency on us, so this goes first)
mvn-jpp install \
-DskipTests=true \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
install -p -m644 target/%{name}-%{version}*.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
# A couple of irrelevant licenses are included, yet ones
# of bundled software aren't...
%doc license/selenium_license.txt
%changelog
* Wed Jan 06 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 1.0.2-0.2.20091211svn
- Fix commons-logging dependency
* Fri Dec 11 2009 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 1.0.2-0.1.20091211svn
- Initial packaging

1
sources Normal file
View file

@ -0,0 +1 @@
c0794935569d71ffd8605c6a02b1a548 selenium-core.tar.gz