#
S_VERSION=2.21.0
+DIST=wheezy
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)
+
+DSCFILE=selenium_$(S_VERSION)-1.dsc
+CHANGEFILE=selenium_$(S_VERSION)-1_$(ARCH).changes
+
run: selenium-server.jar
LANG=C java -jar selenium-server.jar -interactive
selenium-server.jar: Makefile
wget -O - http://selenium.googlecode.com/files/selenium-server-standalone-$(S_VERSION).jar > $@
+selenium/selenium-server.jar: Makefile
+ wget -O - http://selenium.googlecode.com/files/selenium-server-standalone-$(S_VERSION).jar > $@
+
svnexport:
svn export http://selenium.googlecode.com/svn/trunk/remote/server selenium-server
#svn export http://selenium.googlecode.com/svn/trunk selenium
getselenium: selenium-server.jar
clean:
- rm -f selenium-server.jar
+ rm -f selenium/selenium-server.jar selenium-server.jar
botbuild: getselenium
botclean:
@echo "Nothing to do"
+
+buildpackage: $(BUILDRESULT)/$(CHANGEFILE)
+
+$(DSCFILE): selenium/selenium-server.jar
+ dpkg-source -b selenium
+
+$(BUILDRESULT)/$(CHANGEFILE): $(DSCFILE)
+ sudo cowbuilder --configfile $(COWBUILDERCONFIG) --buildresult $(BUILDRESULT) --build $(DSCFILE)
+
--- /dev/null
+selenium for Debian
+-------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Christian Bayle <bayle@debian.org> Tue, 02 Oct 2012 00:41:34 +0200
--- /dev/null
+selenium for Debian
+-------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
--- /dev/null
+selenium (2.21.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Christian Bayle <bayle@debian.org> Tue, 02 Oct 2012 00:41:34 +0200
--- /dev/null
+Source: selenium
+Section: misc
+Priority: extra
+Maintainer: Christian Bayle <bayle@debian.org>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Homepage: http://fusionforge.org
+#Vcs-Git: git://git.debian.org/collab-maint/selenium.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/selenium.git;a=summary
+
+Package: selenium
+Architecture: all
+Depends: ${misc:Depends}
+Description: Selenium server Jar
+ Not a real package, only contains selenium server jar
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: selenium
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+ <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2012 Christian Bayle <bayle@debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
--- /dev/null
+usr/share/selenium
--- /dev/null
+selenium-server.jar usr/share/selenium
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
--- /dev/null
+3.0 (native)