|
|
1d2b96 |
%global pkg_name xml-maven-plugin
|
|
|
1d2b96 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
1d2b96 |
%{?maven_find_provides_and_requires}
|
|
|
1d2b96 |
|
|
|
1d2b96 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
1d2b96 |
Version: 1.0
|
|
|
1d2b96 |
Release: 10.5%{?dist}
|
|
|
1d2b96 |
Summary: Maven XML Plugin
|
|
|
1d2b96 |
Group: Development/Libraries
|
|
|
1d2b96 |
License: ASL 2.0
|
|
|
1d2b96 |
Url: http://mojo.codehaus.org/xml-maven-plugin/
|
|
|
1d2b96 |
Source0: http://repo2.maven.org/maven2/org/codehaus/mojo/xml-maven-plugin/1.0/xml-maven-plugin-1.0-source-release.zip
|
|
|
1d2b96 |
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}mojo-parent
|
|
|
1d2b96 |
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}apache-rat-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-changes-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-clean-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-compiler-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-enforcer-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-install-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-invoker-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-jar-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
|
|
|
1d2b96 |
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}plexus-component-api
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}plexus-io
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}plexus-resources
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}plexus-utils
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix}saxon
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix_java_common}xerces-j2
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix_java_common}xml-commons-apis
|
|
|
1d2b96 |
BuildRequires: %{?scl_prefix_java_common}xml-commons-resolver
|
|
|
1d2b96 |
|
|
|
1d2b96 |
BuildArch: noarch
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%description
|
|
|
1d2b96 |
A plugin for various XML related tasks like validation and transformation.
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%package javadoc
|
|
|
1d2b96 |
Summary: Javadocs for %{pkg_name}
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%description javadoc
|
|
|
1d2b96 |
This package contains the API documentation for %{pkg_name}.
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%prep
|
|
|
1d2b96 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
1d2b96 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
1d2b96 |
set -e -x
|
|
|
1d2b96 |
|
|
|
1d2b96 |
for d in LICENSE NOTICE ; do
|
|
|
1d2b96 |
iconv -f iso8859-1 -t utf-8 $d.txt > $d.txt.conv && mv -f $d.txt.conv $d.txt
|
|
|
1d2b96 |
sed -i 's/\r//' $d.txt
|
|
|
1d2b96 |
done
|
|
|
1d2b96 |
|
|
|
1d2b96 |
rm -rf src/it/mojo-1438-validate
|
|
|
1d2b96 |
|
|
|
1d2b96 |
# Add the version
|
|
|
1d2b96 |
sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl
|
|
|
1d2b96 |
|
|
|
1d2b96 |
# In maven 3, the functionality we need has been moved to maven-core
|
|
|
1d2b96 |
%pom_remove_dep org.apache.maven:maven-project
|
|
|
1d2b96 |
%pom_add_dep org.apache.maven:maven-core
|
|
|
1d2b96 |
%{?scl:EOF}
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%build
|
|
|
1d2b96 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
1d2b96 |
set -e -x
|
|
|
1d2b96 |
%mvn_build -f -- install
|
|
|
1d2b96 |
%{?scl:EOF}
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%install
|
|
|
1d2b96 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
1d2b96 |
set -e -x
|
|
|
1d2b96 |
%mvn_install
|
|
|
1d2b96 |
%{?scl:EOF}
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%files -f .mfiles
|
|
|
1d2b96 |
%dir %{_javadir}/%{pkg_name}
|
|
|
1d2b96 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
1d2b96 |
%doc LICENSE.txt NOTICE.txt
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%files javadoc -f .mfiles-javadoc
|
|
|
1d2b96 |
%doc LICENSE.txt NOTICE.txt
|
|
|
1d2b96 |
|
|
|
1d2b96 |
%changelog
|
|
|
1d2b96 |
* Thu Apr 14 2016 Michal Srb <msrb@redhat.com> - 1.0-10.5
|
|
|
1d2b96 |
- Fix directory ownership (Resolves: rhbz#1325866)
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.0-10.4
|
|
|
1d2b96 |
- Fix BR on maven-local & co.
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.0-10.3
|
|
|
1d2b96 |
- maven33 rebuild #2
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.0-10.2
|
|
|
1d2b96 |
- maven33 rebuild
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Mon Jun 08 2015 Michal Srb <msrb@redhat.com> - 1.0-10.1
|
|
|
1d2b96 |
- SCL-ize spec
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
|
|
|
1d2b96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Thu Sep 12 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0-9
|
|
|
1d2b96 |
- Use xmvn
|
|
|
1d2b96 |
- Make the integration tests build
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
|
|
|
1d2b96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Tue Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-7
|
|
|
1d2b96 |
- Fix FTBFS rhbz #914586
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
|
|
|
1d2b96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-5
|
|
|
1d2b96 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
1d2b96 |
- Replace maven BuildRequires with maven-local
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
|
|
1d2b96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Tue Feb 21 2012 David Nalley <david@gnsa.us> - 1.0-3
|
|
|
1d2b96 |
- patched to remove offending integration tests
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Thu Feb 16 2012 David Nalley <david@gnsa.us> - 1.0-2
|
|
|
1d2b96 |
- removed needless arguments for setup
|
|
|
1d2b96 |
- reduced description line to less than 80 chars
|
|
|
1d2b96 |
- added license to -javadoc
|
|
|
1d2b96 |
- removed unused source file
|
|
|
1d2b96 |
- removed all update_maven_depmap references
|
|
|
1d2b96 |
|
|
|
1d2b96 |
* Mon Jan 16 2012 David Nalley <david@gnsa.us> - 1.0-1
|
|
|
1d2b96 |
- Initial rpm build - spec modified from mageia's version of same
|