|
|
0028b3 |
%global pkg_name istack-commons
|
|
|
0028b3 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
0028b3 |
%{?java_common_find_provides_and_requires}
|
|
|
0028b3 |
|
|
|
0028b3 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
0028b3 |
Version: 2.21
|
|
|
0028b3 |
Release: 3.6%{?dist}
|
|
|
0028b3 |
Summary: Common code for some Glassfish projects
|
|
|
0028b3 |
License: CDDL and GPLv2 with exceptions
|
|
|
0028b3 |
URL: http://istack-commons.java.net
|
|
|
0028b3 |
# svn export https://svn.java.net/svn/istack-commons~svn/tags/istack-commons-2.21/ istack-commons-2.21
|
|
|
0028b3 |
# find istack-commons-2.21/ -name '*.class' -delete
|
|
|
0028b3 |
# find istack-commons-2.21/ -name '*.jar' -delete
|
|
|
0028b3 |
# rm -rf istack-commons-2.21/test/lib/*.zip istack-commons-2.21/runtime/lib/*.zip
|
|
|
0028b3 |
# tar -zcvf istack-commons-2.21.tar.gz istack-commons-2.21
|
|
|
0028b3 |
Source0: %{pkg_name}-%{version}.tar.gz
|
|
|
0028b3 |
BuildArch: noarch
|
|
|
0028b3 |
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(com.sun.codemodel:codemodel)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix_java_common}mvn(com.sun:tools)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix_java_common}mvn(dom4j:dom4j)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix_java_common}mvn(junit:junit)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(net.java:jvnet-parent:pom:)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-project)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:file-management)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-archiver)
|
|
|
0028b3 |
BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-io)
|
|
|
0028b3 |
|
|
|
0028b3 |
# we only need maven-plugin
|
|
|
0028b3 |
%if 0
|
|
|
0028b3 |
BuildRequires: mvn(args4j:args4j)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.ant:ant-junit)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven:maven-aether-provider)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven:maven-compat)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven:maven-core)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven:maven-settings)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
|
0028b3 |
BuildRequires: mvn(org.apache.maven.wagon:wagon-http-lightweight)
|
|
|
0028b3 |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
0028b3 |
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
0028b3 |
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-api)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-impl)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-spi)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-transport-file)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
|
|
|
0028b3 |
BuildRequires: mvn(org.eclipse.aether:aether-util)
|
|
|
0028b3 |
BuildRequires: mvn(org.testng:testng)
|
|
|
0028b3 |
%endif
|
|
|
0028b3 |
|
|
|
0028b3 |
%description
|
|
|
0028b3 |
Code shared between JAXP, JAXB, SAAJ, and JAX-WS projects.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package maven-plugin
|
|
|
0028b3 |
Summary: istack-commons Maven Mojo
|
|
|
0028b3 |
|
|
|
0028b3 |
%description maven-plugin
|
|
|
0028b3 |
This package contains the istack-commons Maven Mojo.
|
|
|
0028b3 |
|
|
|
0028b3 |
# we only need maven-plugin
|
|
|
0028b3 |
%if 0
|
|
|
0028b3 |
%package -n %{?scl_prefix}import-properties-plugin
|
|
|
0028b3 |
Summary: istack-commons import properties plugin
|
|
|
0028b3 |
|
|
|
0028b3 |
%description -n %{?scl_prefix}import-properties-plugin
|
|
|
0028b3 |
This package contains the istack-commons import properties Maven Mojo.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package buildtools
|
|
|
0028b3 |
Summary: istack-commons buildtools
|
|
|
0028b3 |
|
|
|
0028b3 |
%description buildtools
|
|
|
0028b3 |
This package contains istack-commons buildtools.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package runtime
|
|
|
0028b3 |
Summary: istack-commons runtime
|
|
|
0028b3 |
|
|
|
0028b3 |
%description runtime
|
|
|
0028b3 |
This package contains istack-commons runtime.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package soimp
|
|
|
0028b3 |
Summary: istack-commons soimp
|
|
|
0028b3 |
|
|
|
0028b3 |
%description soimp
|
|
|
0028b3 |
This package contains istack-commons soimp.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package test
|
|
|
0028b3 |
Summary: istack-commons test
|
|
|
0028b3 |
|
|
|
0028b3 |
%description test
|
|
|
0028b3 |
This package contains istack-commons test.
|
|
|
0028b3 |
|
|
|
0028b3 |
%package tools
|
|
|
0028b3 |
Summary: istack-commons tools
|
|
|
0028b3 |
|
|
|
0028b3 |
%description tools
|
|
|
0028b3 |
This package contains istack-commons tools.
|
|
|
0028b3 |
%endif
|
|
|
0028b3 |
|
|
|
0028b3 |
%package javadoc
|
|
|
0028b3 |
Summary: Javadoc for %{pkg_name}
|
|
|
0028b3 |
|
|
|
0028b3 |
%description javadoc
|
|
|
0028b3 |
This package contains the API documentation for %{pkg_name}.
|
|
|
0028b3 |
|
|
|
0028b3 |
%prep
|
|
|
0028b3 |
%setup -n %{pkg_name}-%{version} -q
|
|
|
0028b3 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
0028b3 |
set -e -x
|
|
|
0028b3 |
|
|
|
0028b3 |
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
|
|
|
0028b3 |
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
|
|
|
0028b3 |
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
|
|
|
0028b3 |
|
|
|
0028b3 |
%pom_disable_module import-properties-plugin
|
|
|
0028b3 |
%pom_disable_module buildtools
|
|
|
0028b3 |
%pom_disable_module runtime
|
|
|
0028b3 |
%pom_disable_module soimp
|
|
|
0028b3 |
%pom_disable_module test
|
|
|
0028b3 |
%pom_disable_module tools
|
|
|
0028b3 |
|
|
|
0028b3 |
%if 0
|
|
|
0028b3 |
# backward compatibility symlinks
|
|
|
0028b3 |
%mvn_file com.sun.istack:%{pkg_name}-buildtools %{pkg_name}-buildtools %{pkg_name}/%{pkg_name}-buildtools
|
|
|
0028b3 |
%mvn_file com.sun.istack:%{pkg_name}-runtime %{pkg_name}-runtime %{pkg_name}/%{pkg_name}-runtime
|
|
|
0028b3 |
%mvn_file com.sun.istack:%{pkg_name}-soimp %{pkg_name}-soimp %{pkg_name}/%{pkg_name}-soimp
|
|
|
0028b3 |
%mvn_file com.sun.istack:%{pkg_name}-test %{pkg_name}-test %{pkg_name}/%{pkg_name}-test
|
|
|
0028b3 |
%mvn_file com.sun.istack:%{pkg_name}-tools %{pkg_name}-tools %{pkg_name}/%{pkg_name}-tools
|
|
|
0028b3 |
|
|
|
0028b3 |
# Unused & unavailable dep
|
|
|
0028b3 |
%pom_remove_dep org.sonatype.sisu:sisu-inject-plexus import-properties-plugin
|
|
|
0028b3 |
%endif
|
|
|
0028b3 |
|
|
|
0028b3 |
# get rid of scope "import", our tools don't know how to handle such deps
|
|
|
0028b3 |
%pom_remove_dep com.sun:tools tools
|
|
|
0028b3 |
%pom_add_dep com.sun:tools tools
|
|
|
0028b3 |
%{?scl:EOF}
|
|
|
0028b3 |
|
|
|
0028b3 |
%build
|
|
|
0028b3 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
0028b3 |
set -e -x
|
|
|
0028b3 |
%mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8
|
|
|
0028b3 |
%{?scl:EOF}
|
|
|
0028b3 |
|
|
|
0028b3 |
%install
|
|
|
0028b3 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
0028b3 |
set -e -x
|
|
|
0028b3 |
%mvn_install
|
|
|
0028b3 |
%{?scl:EOF}
|
|
|
0028b3 |
|
|
|
0028b3 |
%files -f .mfiles-istack-commons
|
|
|
0028b3 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files -n %{?scl_prefix}%{pkg_name}-maven-plugin -f .mfiles-%{pkg_name}-maven-plugin
|
|
|
0028b3 |
%dir %{_javadir}/%{pkg_name}
|
|
|
0028b3 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%if 0
|
|
|
0028b3 |
%files -n %{?scl_prefix}import-properties-plugin -f .mfiles-import-properties-plugin
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files buildtools -f .mfiles-istack-commons-buildtools
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files runtime -f .mfiles-istack-commons-runtime
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files soimp -f .mfiles-istack-commons-soimp
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files test -f .mfiles-istack-commons-test
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%files tools -f .mfiles-istack-commons-tools
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
%endif
|
|
|
0028b3 |
|
|
|
0028b3 |
%files javadoc -f .mfiles-javadoc
|
|
|
0028b3 |
%doc Licence.txt
|
|
|
0028b3 |
|
|
|
0028b3 |
%changelog
|
|
|
0028b3 |
* Thu Apr 14 2016 Michal Srb <msrb@redhat.com> - 2.21-3.6
|
|
|
0028b3 |
- Fix directory ownership (Resolves: rhbz#1325866)
|
|
|
0028b3 |
|
|
|
0028b3 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.21-3.5
|
|
|
0028b3 |
- Fix BR on maven-local & co.
|
|
|
0028b3 |
|
|
|
0028b3 |
* Tue Jan 19 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.21-3.4
|
|
|
0028b3 |
- Remove obsoletes
|
|
|
0028b3 |
|
|
|
0028b3 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.21-3.3
|
|
|
0028b3 |
- maven33 rebuild #2
|
|
|
0028b3 |
|
|
|
0028b3 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.21-3.2
|
|
|
0028b3 |
- maven33 rebuild
|
|
|
0028b3 |
|
|
|
0028b3 |
* Tue Jul 14 2015 Michal Srb <msrb@redhat.com> - 2.21-3.1
|
|
|
0028b3 |
- SCL-ize spec
|
|
|
0028b3 |
|
|
|
0028b3 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21-3
|
|
|
0028b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0028b3 |
|
|
|
0028b3 |
* Fri Feb 27 2015 Michal Srb <msrb@redhat.com> - 2.21-2
|
|
|
0028b3 |
- Split into subpackages (Resolves: rhbz#1196653)
|
|
|
0028b3 |
|
|
|
0028b3 |
* Wed Jan 21 2015 gil cattaneo <puntogil@libero.it> 2.21-1
|
|
|
0028b3 |
- update to 2.21
|
|
|
0028b3 |
- adapt to current guideline
|
|
|
0028b3 |
|
|
|
0028b3 |
* Sun Aug 03 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 2.17-5
|
|
|
0028b3 |
- Fix FTBFS due to F21 XMvn changes (#1106808)
|
|
|
0028b3 |
|
|
|
0028b3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-4
|
|
|
0028b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0028b3 |
|
|
|
0028b3 |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.17-3
|
|
|
0028b3 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
0028b3 |
|
|
|
0028b3 |
* Fri Jul 26 2013 Ade Lee <alee@rdhat.com> - 2.17-2
|
|
|
0028b3 |
- Bugzilla BZ#988933 - Removed unneeded build dependencies.
|
|
|
0028b3 |
|
|
|
0028b3 |
* Thu May 16 2013 Tom Callaway <spot@fedoraproject.org> - 2.17-1
|
|
|
0028b3 |
- update to 2.17
|
|
|
0028b3 |
|
|
|
0028b3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-7
|
|
|
0028b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0028b3 |
|
|
|
0028b3 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.6.1-6
|
|
|
0028b3 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
0028b3 |
- Replace maven BuildRequires with maven-local
|
|
|
0028b3 |
|
|
|
0028b3 |
* Sat Jul 21 2012 Juan Hernandez <juan.hernandez@redhat.com> - 2.6.1-5
|
|
|
0028b3 |
- Add maven-enforcer-plugin as build time dependency
|
|
|
0028b3 |
|
|
|
0028b3 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-4
|
|
|
0028b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0028b3 |
|
|
|
0028b3 |
* Sat Mar 31 2012 Gil Cattaneo <puntogil@libero.it> 2.6.1-3
|
|
|
0028b3 |
- Rebuilt with codemodel support
|
|
|
0028b3 |
- Enable maven-plugin, test and buildtools modules
|
|
|
0028b3 |
|
|
|
0028b3 |
* Mon Feb 13 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.6.1-2
|
|
|
0028b3 |
- Minor cleanups of the spec file
|
|
|
0028b3 |
|
|
|
0028b3 |
* Mon Jan 16 2012 Marek Goldmann <mgoldman@redhat.com> 2.6.1-1
|
|
|
0028b3 |
- Initial packaging
|