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