testng/testng.spec

155 lines
5.1 KiB
RPMSpec
Raw Normal View History

2011-06-22 20:11:42 +00:00
%global group_id org.testng
Name: testng
2015-09-07 11:33:53 +00:00
Version: 6.9.5
Release: 1%{?dist}
2011-06-22 20:11:42 +00:00
Summary: Java-based testing framework
2013-02-10 18:13:58 +00:00
# org/testng/remote/strprotocol/AbstractRemoteTestRunnerClient.java is CPL
License: ASL 2.0 and CPL
2011-06-22 20:11:42 +00:00
URL: http://testng.org/
2015-09-07 11:33:53 +00:00
Source0: https://github.com/cbeust/testng/archive/testng-%{version}.tar.gz
2011-06-22 20:11:42 +00:00
BuildArch: noarch
2015-09-07 11:33:53 +00:00
BuildRequires: maven-local
BuildRequires: mvn(com.beust:jcommander)
BuildRequires: mvn(com.google.inject:guice::no_aop:)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.beanshell:bsh)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires: mvn(org.yaml:snakeyaml)
2009-12-21 21:50:00 +00:00
%description
TestNG is a testing framework inspired from JUnit and NUnit but introducing
some new functionality, including flexible test configuration, and
distributed test running. It is designed to cover unit tests as well as
functional, end-to-end, integration, etc.
%package javadoc
2011-06-22 20:11:42 +00:00
Summary: API documentation for %{name}
2009-12-21 21:50:00 +00:00
%description javadoc
2011-06-22 20:11:42 +00:00
This package contains the API documentation for %{name}.
2009-12-21 21:50:00 +00:00
%prep
2013-02-10 18:13:58 +00:00
%setup -q -n %{name}-%{name}-%{version}
2009-12-21 21:50:00 +00:00
2015-09-07 11:33:53 +00:00
# remove any bundled libs
find -name *.jar -delete
find -name *.class -delete
2009-12-21 21:50:00 +00:00
2015-09-07 11:33:53 +00:00
# these are unnecessary
%pom_remove_plugin :maven-gpg-plugin
%pom_remove_plugin :maven-source-plugin
2015-09-07 11:33:53 +00:00
%pom_remove_plugin :maven-javadoc-plugin
2009-12-21 21:50:00 +00:00
2015-09-07 11:33:53 +00:00
# test deps not in Fedora
%pom_remove_dep org.assertj:assertj-core
2009-12-21 21:50:00 +00:00
2015-09-07 11:33:53 +00:00
# plugins not in Fedora
%pom_remove_plugin com.coderplus.maven.plugins:copy-rename-maven-plugin
sed -i -e 's/VersionTemplateJava/Version.java/' pom.xml
mv ./src/main/resources/org/testng/internal/VersionTemplateJava ./src/main/resources/org/testng/internal/Version.java
2009-12-21 21:50:00 +00:00
%mvn_file : %{name}
# jdk15 classifier is used by some other packages
%mvn_alias : :::jdk15:
%build
2015-09-07 11:33:53 +00:00
# TODO build tests when assetj-core becomes available
%mvn_build -f -- -Dmaven.local.debug=true
2009-12-21 21:50:00 +00:00
%install
%mvn_install
2009-12-21 21:50:00 +00:00
%files -f .mfiles
2015-09-07 11:33:53 +00:00
%doc CHANGES.txt README.md
2015-02-04 21:28:59 +00:00
%license LICENSE.txt
2011-06-22 20:11:42 +00:00
%files javadoc -f .mfiles-javadoc
2015-02-04 21:28:59 +00:00
%license LICENSE.txt
2009-12-21 21:50:00 +00:00
%changelog
2015-09-07 11:33:53 +00:00
* Mon Sep 07 2015 Mat Booth <mat.booth@redhat.com> - 6.9.5-1
- Update to 6.9.5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-04 21:28:59 +00:00
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.21-1
- Update to 6.8.21
- introduce license macro
2015-01-20 06:49:26 +00:00
* Tue Jan 20 2015 gil cattaneo <puntogil@libero.it> 6.8.17-1
- Update to 6.8.17
2015-01-14 10:48:56 +00:00
* Wed Jan 14 2015 gil cattaneo <puntogil@libero.it> 6.8.14-1
- Update to 6.8.14
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-3
- Fix build-requires on sonatype-oss-parent
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-26 12:56:15 +00:00
* Wed Feb 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.8-1
- Update to upstream version 6.8.8
* Thu Sep 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.8.7-1
- Update to upstream version 6.8.7
- Provide additional jdk15 classifier
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-14 13:10:57 +00:00
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.8.5-1
- Update to upstream version 6.8.5
2013-02-10 18:13:58 +00:00
* Sun Feb 10 2013 Mat Booth <fedora@matbooth.co.uk> - 6.8-1
- Update to latest upstream release, rhbz #888233
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 6.0.1-6
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Thu Nov 08 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-5
- Part of testng is CPL, add it to license tag
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 6.0.1-4
- Spec file cleanups and add_maven_depmap macro use
- Drop no longer needed depmap
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-22 20:11:42 +00:00
* Thu May 12 2011 Jaromir Capik <jcapik@redhat.com> - 6.0.1-1
- Update to 6.0.1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jul 19 2010 Lubomir Rintel <lkundrak@v3.sk> - 5.11-3
- Drop backport util concurrent dependency, we don't build jdk14 jar
2009-12-21 21:50:00 +00:00
* Mon Dec 21 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-2
- Add POM
* Sun Dec 20 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.11-1
- Bump to 5.11
- Add maven depmap fragments
- Fix line encoding of README
* Wed Dec 09 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-2
- Add javadoc
- Don't ship jdk14 jar
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 5.10-1
- Initial packaging