|
|
bfb727 |
%global pkg_name decentxml
|
|
|
bfb727 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
bfb727 |
%{?java_common_find_provides_and_requires}
|
|
|
bfb727 |
|
|
|
bfb727 |
Name: %{?scl_prefix}decentxml
|
|
|
bfb727 |
Version: 1.4
|
|
|
bfb727 |
Release: 9%{?dist}
|
|
|
bfb727 |
Summary: XML parser optimized for round-tripping and code reuse
|
|
|
bfb727 |
License: BSD
|
|
|
bfb727 |
Group: Development/Libraries
|
|
|
bfb727 |
URL: http://code.google.com/p/%{pkg_name}
|
|
|
bfb727 |
Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
|
|
|
bfb727 |
# for running w3c conformance test suite
|
|
|
bfb727 |
Source1: http://www.w3.org/XML/Test/xmlts20031210.zip
|
|
|
bfb727 |
BuildArch: noarch
|
|
|
bfb727 |
|
|
|
bfb727 |
BuildRequires: %{?scl_prefix_java_common}maven-local
|
|
|
bfb727 |
BuildRequires: %{?scl_prefix_maven}maven-surefire-provider-junit
|
|
|
bfb727 |
BuildRequires: %{?scl_prefix_maven}apache-commons-parent
|
|
|
bfb727 |
|
|
|
bfb727 |
%description
|
|
|
bfb727 |
XML parser optimized for round-tripping and code reuse with main
|
|
|
bfb727 |
features being:
|
|
|
bfb727 |
* Allows 100% round-tripping, even for weird whitespace between
|
|
|
bfb727 |
attributes in the start tag or in the end tag
|
|
|
bfb727 |
* Suitable for building editors and filters which want/need to
|
|
|
bfb727 |
preserve the original file layout as much as possible
|
|
|
bfb727 |
* Error messages have line and column information
|
|
|
bfb727 |
* Easy to reuse individual components
|
|
|
bfb727 |
* XML 1.1 compatible
|
|
|
bfb727 |
|
|
|
bfb727 |
%package javadoc
|
|
|
bfb727 |
Summary: API documentation for %{pkg_name}
|
|
|
bfb727 |
Group: Documentation
|
|
|
bfb727 |
|
|
|
bfb727 |
|
|
|
bfb727 |
%description javadoc
|
|
|
bfb727 |
This package contains the API documentation for %{pkg_name}.
|
|
|
bfb727 |
|
|
|
bfb727 |
%prep
|
|
|
bfb727 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
bfb727 |
# we are looking for xml conformance data one lever above so unzip
|
|
|
bfb727 |
# here and symlink there
|
|
|
bfb727 |
unzip %{SOURCE1}
|
|
|
bfb727 |
ln -sf %{pkg_name}-%{version}/xmlconf ../xmlconf
|
|
|
bfb727 |
sed -i -e "s|junit-dep|junit|g" pom.xml
|
|
|
bfb727 |
|
|
|
bfb727 |
%build
|
|
|
bfb727 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
bfb727 |
%mvn_file : %{pkg_name}
|
|
|
bfb727 |
%mvn_build
|
|
|
bfb727 |
%{?scl:EOF}
|
|
|
bfb727 |
|
|
|
bfb727 |
%install
|
|
|
bfb727 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
bfb727 |
%mvn_install
|
|
|
bfb727 |
%{?scl:EOF}
|
|
|
bfb727 |
|
|
|
bfb727 |
%files -f .mfiles
|
|
|
bfb727 |
%doc LICENSE README
|
|
|
bfb727 |
|
|
|
bfb727 |
%files javadoc -f .mfiles-javadoc
|
|
|
bfb727 |
%doc LICENSE
|
|
|
bfb727 |
|
|
|
bfb727 |
%changelog
|
|
|
bfb727 |
* Thu Jan 15 2015 Mat Booth <mat.booth@redhat.com> - 1.4-9
|
|
|
bfb727 |
- Rebuild to regenerate requires/provides
|
|
|
bfb727 |
|
|
|
bfb727 |
* Wed Jan 07 2015 Roland Grunberg <rgrunber@redhat.com> - 1.4-8
|
|
|
bfb727 |
- SCL-ize
|
|
|
bfb727 |
- Related: rhbz#1175105
|
|
|
bfb727 |
|
|
|
bfb727 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4-7
|
|
|
bfb727 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
bfb727 |
|
|
|
bfb727 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
|
|
|
bfb727 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bfb727 |
|
|
|
bfb727 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
bfb727 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bfb727 |
|
|
|
bfb727 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-4
|
|
|
bfb727 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
bfb727 |
- Replace maven BuildRequires with maven-local
|
|
|
bfb727 |
|
|
|
bfb727 |
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.4-3
|
|
|
bfb727 |
- Build with xmvn
|
|
|
bfb727 |
|
|
|
bfb727 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
bfb727 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
bfb727 |
|
|
|
bfb727 |
* Wed Feb 1 2012 Alexander Kurtakov <akurtako@redhat.com> 1.4-1
|
|
|
bfb727 |
- Update to 1.4 upstream release.
|
|
|
bfb727 |
|
|
|
bfb727 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
bfb727 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bfb727 |
|
|
|
bfb727 |
* Fri Feb 25 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3-1
|
|
|
bfb727 |
- Initial version of the package
|