xml-maven-plugin/xml-maven-plugin.spec

100 lines
3.1 KiB
RPMSpec
Raw Normal View History

2012-02-16 16:32:28 +00:00
Name: xml-maven-plugin
Version: 1.0
2015-06-30 22:04:17 +00:00
Release: 12%{?dist}
2012-02-16 16:32:28 +00:00
Summary: Maven XML Plugin
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
2012-02-16 16:32:28 +00:00
BuildRequires: mojo-parent
BuildRequires: apache-rat-plugin
BuildRequires: maven-local
2013-04-02 14:38:49 +00:00
BuildRequires: maven-checkstyle-plugin
2012-02-16 16:32:28 +00:00
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-invoker-plugin
BuildRequires: maven-plugin-testing-harness
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
2012-02-16 16:32:28 +00:00
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
rm -rf src/it/mojo-1438-validate
# Add the version
sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl
2012-02-16 16:32:28 +00:00
2013-04-02 14:38:49 +00:00
# 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
2012-02-16 16:32:28 +00:00
%build
2015-06-30 22:04:17 +00:00
%mvn_build -f
2012-02-16 16:32:28 +00:00
%install
%mvn_install
2012-02-16 16:32:28 +00:00
%files -f .mfiles
2012-02-16 16:32:28 +00:00
%doc LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
2012-02-16 16:32:28 +00:00
%doc LICENSE.txt NOTICE.txt
%changelog
2015-06-30 22:04:17 +00:00
* Tue Jun 30 2015 Mat Booth <mat.booth@redhat.com> - 1.0-12
- Fix FTBFS
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* 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
2015-06-30 22:04:17 +00:00
* Tue Apr 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-7
2013-04-02 14:38:49 +00:00
- 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
2012-02-16 16:32:28 +00:00
* 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