Blame SPECS/decentxml.spec

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