From dfbffe9ba922ea405a75966a00649a7d1f446522 Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Thu, 24 Mar 2016 23:47:25 +0100 Subject: [PATCH 1/5] initial import, rhbz#1305650 --- .gitignore | 1 + sources | 1 + uispec4j.spec | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 uispec4j.spec diff --git a/.gitignore b/.gitignore index e69de29..9a4780f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz#uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz diff --git a/sources b/sources index e69de29..4fcfe41 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6b8fd3a2012ea5555e57440598ffdec1 fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz#uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz diff --git a/uispec4j.spec b/uispec4j.spec new file mode 100644 index 0000000..41dd3f5 --- /dev/null +++ b/uispec4j.spec @@ -0,0 +1,108 @@ +%global commit0 fdc0b420cabb36134dd99830434c8fd2d05d508d +%global date0 20150412 + +%global project UISpec4J + +Name: uispec4j +# use version mentioned in pom file +Version: 2.5 +Release: 0.2.%{date0}git%(c=%{commit0}; echo ${c:0:7})%{?dist} +Summary: Java/Swing GUI testing made simple + +License: CPL +# issues/25 - upstream site is down - http://www.uispec4j.org +URL: https://github.com/%{project}/%{project} +Source0: %{url}/archive/%{commit0}.tar.gz#%{name}-%{commit0}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(asm:asm) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +# for tests +BuildRequires: mvn(asm:asm-util) +BuildRequires: mvn(org.testng:testng) +BuildRequires: xorg-x11-server-Xvfb + +# java-headless is insufficient, e.g. we need awt +Requires: java + +%description +%{project} is an Open Source functional and/or unit testing library +for Swing-based Java applications. +If you are writing a Swing application, you will appreciate +%{project} above all for its simplicity: %{project}'s APIs are designed +to hide as much as possible the complexity of Swing, resulting in +easy to write and easy to read test scripts. This is especially true +when comparing %{project} tests with those produced using Swing or +low-level, event-based testing libraries. + +%package examples +Summary: Examples for %{project} + +%description examples +UISpec4J sample applications + +%package root +Summary: UISpec4J ROOT POM + +%description root +UISpec4J Parent POM. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + + +%prep +%setup -qn %{project}-%{commit0} +# FIXME sloppy tests with a bug in awt +rm addressbook/src/test/java/samples/addressbook/functests/*Test.java +rm calculator/src/test/java/samples/calculator/functests/CalculatorStage*Test.java +# Set proper encoding value +%pom_xpath_set pom:encoding UTF-8 +# Unsupported configuration +%pom_remove_plugin :maven-surefire-plugin +%pom_remove_plugin -r :maven-javadoc-plugin +# Fix non ASCII chars +for s in %{name}/src/main/java/org/uispec4j/Key.java; do + native2ascii -encoding UTF8 ${s} ${s} +done +%mvn_package :addressbook examples +%mvn_package :calculator examples +%mvn_package :%{name}::jdk8: %{name} +%mvn_alias :%{name} :%{name}::jdk5: :%{name}::jdk6: :%{name}::jdk7: + +%build +# do tests in some fake X, run in debug mode to prevent weird crash +xvfb-run -a %mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + + +%files -f .mfiles-%{name} +%doc README.md +%license %{name}/LICENSE.txt + +%files examples -f .mfiles-examples +%license %{name}/LICENSE.txt + +%files root -f .mfiles-%{name}-root +%license %{name}/LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license %{name}/LICENSE.txt + + +%changelog +* Wed Mar 23 2016 Raphael Groner - 2.5-0.2.20150412gitfdc0b42 +- fix license CPL +- use xvfb-run -a + +* Thu Feb 11 2016 Raphael Groner - 2.5-0.1.20150412gitfdc0b42 +- initial From 0c3959ce017c40a8000c00ed9b5f25aa96907bbf Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Thu, 24 Mar 2016 23:53:21 +0100 Subject: [PATCH 2/5] fix typo in Source0 --- uispec4j.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uispec4j.spec b/uispec4j.spec index 41dd3f5..25010b4 100644 --- a/uispec4j.spec +++ b/uispec4j.spec @@ -12,7 +12,7 @@ Summary: Java/Swing GUI testing made simple License: CPL # issues/25 - upstream site is down - http://www.uispec4j.org URL: https://github.com/%{project}/%{project} -Source0: %{url}/archive/%{commit0}.tar.gz#%{name}-%{commit0}.tar.gz +Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{commit0}.tar.gz BuildArch: noarch From d8300a0eb83cd9b6291f35fcc64f4fc024b2b58d Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Fri, 25 Mar 2016 00:03:06 +0100 Subject: [PATCH 3/5] reimport sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9a4780f..462027b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz#uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz +/uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz diff --git a/sources b/sources index 4fcfe41..9bf4fe1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6b8fd3a2012ea5555e57440598ffdec1 fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz#uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz +6b8fd3a2012ea5555e57440598ffdec1 uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz From 139934acd5e39034e021a1ed4ea6a9fc69f9f4f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:40:25 +0000 Subject: [PATCH 4/5] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- uispec4j.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uispec4j.spec b/uispec4j.spec index 25010b4..3f74095 100644 --- a/uispec4j.spec +++ b/uispec4j.spec @@ -6,7 +6,7 @@ Name: uispec4j # use version mentioned in pom file Version: 2.5 -Release: 0.2.%{date0}git%(c=%{commit0}; echo ${c:0:7})%{?dist} +Release: 0.3.%{date0}git%(c=%{commit0}; echo ${c:0:7})%{?dist} Summary: Java/Swing GUI testing made simple License: CPL @@ -100,6 +100,9 @@ xvfb-run -a %mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8 %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 2.5-0.3.20150412gitfdc0b42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Mar 23 2016 Raphael Groner - 2.5-0.2.20150412gitfdc0b42 - fix license CPL - use xvfb-run -a From 22601a5a69cdbb075a80ee086586714426ef521d Mon Sep 17 00:00:00 2001 From: Till Maas Date: Fri, 17 Feb 2017 19:50:11 +0100 Subject: [PATCH 5/5] 2017-02-17: Retired orphaned package, because it was orphaned for more than six weeks. --- .gitignore | 2 - dead.package | 3 ++ sources | 1 - uispec4j.spec | 111 -------------------------------------------------- 4 files changed, 3 insertions(+), 114 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 uispec4j.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 462027b..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz#uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz -/uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..1eda3ff --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2017-02-17: Retired orphaned package, because it was orphaned for +more than six weeks. + diff --git a/sources b/sources deleted file mode 100644 index 9bf4fe1..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6b8fd3a2012ea5555e57440598ffdec1 uispec4j-fdc0b420cabb36134dd99830434c8fd2d05d508d.tar.gz diff --git a/uispec4j.spec b/uispec4j.spec deleted file mode 100644 index 3f74095..0000000 --- a/uispec4j.spec +++ /dev/null @@ -1,111 +0,0 @@ -%global commit0 fdc0b420cabb36134dd99830434c8fd2d05d508d -%global date0 20150412 - -%global project UISpec4J - -Name: uispec4j -# use version mentioned in pom file -Version: 2.5 -Release: 0.3.%{date0}git%(c=%{commit0}; echo ${c:0:7})%{?dist} -Summary: Java/Swing GUI testing made simple - -License: CPL -# issues/25 - upstream site is down - http://www.uispec4j.org -URL: https://github.com/%{project}/%{project} -Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{commit0}.tar.gz - -BuildArch: noarch - -BuildRequires: maven-local -BuildRequires: mvn(asm:asm) -BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) - -# for tests -BuildRequires: mvn(asm:asm-util) -BuildRequires: mvn(org.testng:testng) -BuildRequires: xorg-x11-server-Xvfb - -# java-headless is insufficient, e.g. we need awt -Requires: java - -%description -%{project} is an Open Source functional and/or unit testing library -for Swing-based Java applications. -If you are writing a Swing application, you will appreciate -%{project} above all for its simplicity: %{project}'s APIs are designed -to hide as much as possible the complexity of Swing, resulting in -easy to write and easy to read test scripts. This is especially true -when comparing %{project} tests with those produced using Swing or -low-level, event-based testing libraries. - -%package examples -Summary: Examples for %{project} - -%description examples -UISpec4J sample applications - -%package root -Summary: UISpec4J ROOT POM - -%description root -UISpec4J Parent POM. - -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -This package contains javadoc for %{name}. - - -%prep -%setup -qn %{project}-%{commit0} -# FIXME sloppy tests with a bug in awt -rm addressbook/src/test/java/samples/addressbook/functests/*Test.java -rm calculator/src/test/java/samples/calculator/functests/CalculatorStage*Test.java -# Set proper encoding value -%pom_xpath_set pom:encoding UTF-8 -# Unsupported configuration -%pom_remove_plugin :maven-surefire-plugin -%pom_remove_plugin -r :maven-javadoc-plugin -# Fix non ASCII chars -for s in %{name}/src/main/java/org/uispec4j/Key.java; do - native2ascii -encoding UTF8 ${s} ${s} -done -%mvn_package :addressbook examples -%mvn_package :calculator examples -%mvn_package :%{name}::jdk8: %{name} -%mvn_alias :%{name} :%{name}::jdk5: :%{name}::jdk6: :%{name}::jdk7: - -%build -# do tests in some fake X, run in debug mode to prevent weird crash -xvfb-run -a %mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8 - -%install -%mvn_install - - -%files -f .mfiles-%{name} -%doc README.md -%license %{name}/LICENSE.txt - -%files examples -f .mfiles-examples -%license %{name}/LICENSE.txt - -%files root -f .mfiles-%{name}-root -%license %{name}/LICENSE.txt - -%files javadoc -f .mfiles-javadoc -%license %{name}/LICENSE.txt - - -%changelog -* Sat Feb 11 2017 Fedora Release Engineering - 2.5-0.3.20150412gitfdc0b42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Mar 23 2016 Raphael Groner - 2.5-0.2.20150412gitfdc0b42 -- fix license CPL -- use xvfb-run -a - -* Thu Feb 11 2016 Raphael Groner - 2.5-0.1.20150412gitfdc0b42 -- initial