Blame SPECS/decentxml.spec

61a295
Name:             decentxml
61a295
Version:          1.4
61a295
Release:          19%{?dist}
61a295
Summary:          XML parser optimized for round-tripping and code reuse
61a295
License:          BSD
61a295
URL:              http://code.google.com/p/%{name}
61a295
BuildArch:        noarch
61a295
61a295
Source0:          https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
61a295
# for running w3c conformance test suite
61a295
Source1:          http://www.w3.org/XML/Test/xmlts20031210.zip
61a295
61a295
BuildRequires:  maven-local
61a295
BuildRequires:  mvn(junit:junit)
61a295
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
61a295
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
61a295
61a295
61a295
%description
61a295
XML parser optimized for round-tripping and code reuse with main
61a295
features being:
61a295
 * Allows 100% round-tripping, even for weird whitespace between
61a295
   attributes in the start tag or in the end tag
61a295
 * Suitable for building editors and filters which want/need to
61a295
   preserve the original file layout as much as possible
61a295
 * Error messages have line and column information
61a295
 * Easy to reuse individual components
61a295
 * XML 1.1 compatible
61a295
61a295
%package javadoc
61a295
Summary:          API documentation for %{name}
61a295
61a295
%description javadoc
61a295
This package contains the API documentation for %{name}.
61a295
61a295
%prep
61a295
%setup -q
61a295
# we are looking for xml conformance data one lever above so unzip
61a295
# here and symlink there
61a295
unzip %{SOURCE1}
61a295
ln -sf %{name}-%{version}/xmlconf ../xmlconf
61a295
sed -i -e "s|junit-dep|junit|g" pom.xml
61a295
61a295
# Two tests fail with Java 8, probably because of some Unicode incompatibility.
61a295
sed -i '/not_wf_sa_16[89] /d' src/test/java/de/pdark/decentxml/XMLConformanceTest.java
61a295
61a295
%pom_remove_plugin :maven-javadoc-plugin
61a295
61a295
# Don't use deprecated "attached" goal of Maven Assembly Plugin, which
61a295
# was removed in version 3.0.0.
61a295
%pom_xpath_set "pom:plugin[pom:artifactId='maven-assembly-plugin']/pom:executions/pom:execution/pom:goals/pom:goal[text()='attached']" single
61a295
61a295
%build
61a295
%mvn_file  : %{name}
61a295
%mvn_build
61a295
61a295
%install
61a295
%mvn_install
61a295
61a295
%files -f .mfiles
61a295
%doc LICENSE README
61a295
61a295
%files javadoc -f .mfiles-javadoc
61a295
%doc LICENSE
61a295
61a295
%changelog
61a295
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
61a295
61a295
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-18
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
61a295
61a295
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-17
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
61a295
61a295
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-16
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
61a295
61a295
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-15
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
61a295
61a295
* Thu Nov 17 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-14
61a295
- Don't use deprecated goal of maven-assembly-plugin
61a295
61a295
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-13
61a295
- Add missing build-requires
61a295
61a295
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
61a295
61a295
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
61a295
61a295
* Mon May 18 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-10
61a295
- Remove javadoc plugin execution
61a295
61a295
* Tue Jul 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-9
61a295
- Disable failing tests
61a295
61a295
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
61a295
61a295
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-8
61a295
- Remove BuildRequires on maven-surefire-provider-junit4
61a295
61a295
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-7
61a295
- Use Requires: java-headless rebuild (#1067528)
61a295
61a295
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
61a295
61a295
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
61a295
61a295
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-4
61a295
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
61a295
- Replace maven BuildRequires with maven-local
61a295
61a295
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.4-3
61a295
- Build with xmvn
61a295
61a295
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
61a295
61a295
* Wed Feb 1 2012 Alexander Kurtakov <akurtako@redhat.com> 1.4-1
61a295
- Update to 1.4 upstream release.
61a295
61a295
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
61a295
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
61a295
61a295
* Fri Feb 25 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-1
61a295
- Initial version of the package