Name: XmlSchema Version: 1.4.7 Release: 11%{?dist} Summary: Lightweight schema object model License: ASL 2.0 URL: http://ws.apache.org/commons/XmlSchema # svn export http://svn.apache.org/repos/asf/webservices/commons/tags/XmlSchema/XmlSchema-1.4.7 # tar cJf XmlSchema-1.4.7.tar.xz XmlSchema-1.4.7 Source0: %{name}-%{version}.tar.xz Source1: LICENSE-2.0.txt # maven-site-plugin is broken by the lack of cvsjava in maven-scm. # cvsjava was removed when netbeans was orphaned. Patch1: %{name}-no-site-plugin.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: maven-shared BuildRequires: maven-remote-resources-plugin BuildRequires: apache-resource-bundles BuildRequires: bcel BuildRequires: xalan-j2 BuildRequires: xmlunit BuildRequires: dos2unix %description Commons XMLSchema is a lightweight schema object model that can be used to manipulate or generate a schema. %package javadoc Summary: API documentation for %{name} %description javadoc This package contains API documentation for %{name}. %prep %setup -q -n %{name}-%{version} %patch1 -p1 # This is provided by modern Java environments %pom_remove_dep "org.apache.ws.commons:ws-commons-java5" # Fix line endings cp -p %{SOURCE1} . dos2unix LICENSE-2.0.txt README.txt RELEASE-NOTE.txt %mvn_file :%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE-2.0.txt README.txt RELEASE-NOTE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE-2.0.txt %changelog * Tue Jun 16 2015 Fedora Release Engineering - 1.4.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 1.4.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 13 2014 Michael Simacek - 1.4.7-9 - Drop manual requires * Thu Feb 27 2014 Mat Booth - 1.4.7-8 - Rebuilt for auto generated Requires on java-headless rhbz #1067947 * Thu Aug 08 2013 Mat Booth - 1.4.7-7 - Update for latest guidelines * Sat Aug 03 2013 Fedora Release Engineering - 1.4.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 22 2013 Andy Grimm - 1.4.7-5 - Add maven-shared to BuildRequires (RHBZ#913869) * Wed Feb 13 2013 Fedora Release Engineering - 1.4.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.4.7-3 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Wed Jul 18 2012 Fedora Release Engineering - 1.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Feb 17 2012 Andy Grimm - 1.4.7-1 - Initial package