108 lines
3.7 KiB
RPMSpec
108 lines
3.7 KiB
RPMSpec
Name: xmlbeans-maven-plugin
|
|
Version: 2.3.3
|
|
Release: 11%{?dist}
|
|
Summary: Maven XML Beans Plugin
|
|
License: ASL 2.0
|
|
Url: http://mojo.codehaus.org/xmlbeans-maven-plugin/
|
|
# svn export https://svn.codehaus.org/mojo/tags/xmlbeans-maven-plugin-2.3.3
|
|
# tar cJf xmlbeans-maven-plugin-2.3.3.tar.xz xmlbeans-maven-plugin-2.3.3
|
|
Source0: %{name}-%{version}.tar.xz
|
|
# xmlbeans-maven-plugin package don't include the license file
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
|
BuildRequires: mvn(org.apache.maven:maven-model)
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.apache.xmlbeans:xmlbeans)
|
|
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
BuildRequires: mvn(stax:stax-api)
|
|
BuildRequires: mvn(xml-resolver:xml-resolver)
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Maven XML Beans Plugin provides integration of the
|
|
Apache XML Beans for Maven. Runs the xmlbeans
|
|
parser/code generator against schemes in files and
|
|
dependent jars.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
cp -p %{SOURCE1} .
|
|
sed -i 's/\r//' LICENSE-2.0.txt
|
|
|
|
# these test fails
|
|
# [INFO] XMLBeans discrete xsd's in a jar test for MXMLBEANS-21 FAILURE [0.665s]
|
|
# Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
|
|
# Could not find artifact org.codehaus.mojo:xmlbeans-maven-plugin:pom:latest
|
|
# in local.central (file:///..../BUILD/xmlbeans-maven-plugin-2.3.3/.m2)
|
|
rm -r src/it/mxmlbeans-21/*
|
|
|
|
%pom_remove_dep org.apache.maven:maven-project
|
|
%pom_add_dep org.apache.maven:maven-core:any:compile
|
|
|
|
%pom_remove_plugin :findbugs-maven-plugin
|
|
%pom_remove_plugin :jdepend-maven-plugin
|
|
rm -r pom.xml.orig
|
|
|
|
%mvn_file : %{name}
|
|
|
|
%build
|
|
|
|
%mvn_build -- -Dmojo.java.target=1.5
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE-2.0.txt
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE-2.0.txt
|
|
|
|
%changelog
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 2.3.3-4
|
|
- introduce license macro
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.3.3-2
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
* Wed Jan 09 2013 gil cattaneo <puntogil@libero.it> 2.3.3-1
|
|
- initial rpm
|