[fest-swing-junit] Initial import (818589).
Roman Kennke
rkennke at fedoraproject.org
Thu May 24 13:13:35 UTC 2012
commit 3bd543945ad708a736290efeb03c9cd39c6f8081
Author: Roman Kennke <rkennke at redhat.com>
Date: Thu May 24 15:13:23 2012 +0200
Initial import (818589).
.gitignore | 1 +
fest-swing-junit-remove-fest-test-dep.patch | 17 +++++
fest-swing-junit.spec | 94 +++++++++++++++++++++++++++
sources | 1 +
4 files changed, 113 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7c72512 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fest-swing-junit-1.2.1.tar.bz2
diff --git a/fest-swing-junit-remove-fest-test-dep.patch b/fest-swing-junit-remove-fest-test-dep.patch
new file mode 100644
index 0000000..b70b323
--- /dev/null
+++ b/fest-swing-junit-remove-fest-test-dep.patch
@@ -0,0 +1,17 @@
+Index: pom.xml
+===================================================================
+--- pom.xml (Revision 1169)
++++ pom.xml (Arbeitskopie)
+@@ -63,12 +63,6 @@
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency>
+- <dependency>
+- <groupId>org.easytesting</groupId>
+- <artifactId>fest-mocks</artifactId>
+- <version>1.1</version>
+- <scope>test</scope>
+- </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
diff --git a/fest-swing-junit.spec b/fest-swing-junit.spec
new file mode 100644
index 0000000..0ee3ab1
--- /dev/null
+++ b/fest-swing-junit.spec
@@ -0,0 +1,94 @@
+Name: fest-swing-junit
+Version: 1.2.1
+Release: 3%{?dist}
+Summary: FEST Swing JUnit support
+
+Group: Development/Libraries
+License: ASL 2.0
+URL: http://fest.easytesting.org
+
+# svn co http://svn.codehaus.org/fest/tags/fest-swing-junit-1.2.1
+# tar cvfj fest-swing-junit-1.2.1.tar.bz2 fest-swing-junit-1.2.1
+Source0: %{name}-%{version}.tar.bz2
+Patch0: fest-swing-junit-remove-fest-test-dep.patch
+BuildArch: noarch
+
+BuildRequires: jpackage-utils
+BuildRequires: maven
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-dependency-plugin
+BuildRequires: java-devel
+BuildRequires: junit
+BuildRequires: commons-codec
+BuildRequires: ant-junit
+BuildRequires: fest-swing = 1.2.1
+
+Requires: jpackage-utils
+Requires: commons-codec
+Requires: ant-junit
+Requires: junit
+Requires: fest-swing = 1.2.1
+
+%description
+FEST-Swing provides a simple and intuitive API for
+functional testing of Swing user interfaces, resulting in tests that
+are compact, easy to write, and read like a specification.
+FEST simulates actual user gestures at the operating system level,
+ensuring that the application will behave correctly in front of the user.
+
+This package provides integration with JUnit.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q
+%patch0
+
+%build
+# Skip tests because that would require dependency on obsolete
+# and difficult to package fest-mocks. Upstream is moving
+# to mockito for subsequent releases.
+mvn-rpmbuild -Dmaven.test.skip=true install javadoc:javadoc
+
+%install
+# jars
+install -d -m 0755 %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
+
+%files
+%{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%doc LICENSE.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+
+* Fri May 15 2012 Roman Kennke <rkennke at redhat.com> 1.2.1-3
+- Added BuildRequires for maven and fixed JUnit dependency
+
+* Fri May 04 2012 Roman Kennke <rkennke at redhat.com> 1.2.1-2
+- Several small fixes according to package review
+
+* Thu May 03 2012 Roman Kennke <rkennke at redhat.com> 1.2.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..3560020 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b114cf583af9f81b206f515e76f0d9aa fest-swing-junit-1.2.1.tar.bz2
More information about the scm-commits
mailing list