From 3915c946375821c037986d98fec1678f54f2f6c6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 15:09:41 +0000 Subject: import devtoolset-4-decentxml-1.4-11.1.el7 --- diff --git a/.devtoolset-4-decentxml.metadata b/.devtoolset-4-decentxml.metadata new file mode 100644 index 0000000..812e9be --- /dev/null +++ b/.devtoolset-4-decentxml.metadata @@ -0,0 +1,2 @@ +5484b285d9ab50f0441a7c4662b6ebcae4d9d4ef SOURCES/decentxml-1.4-src.zip +833db29cc701ff05243dfe8802240eb5a7002d11 SOURCES/xmlts20031210.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f074fca --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/decentxml-1.4-src.zip +SOURCES/xmlts20031210.zip diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/decentxml.spec b/SPECS/decentxml.spec new file mode 100644 index 0000000..e150098 --- /dev/null +++ b/SPECS/decentxml.spec @@ -0,0 +1,120 @@ +%{?scl:%scl_package decentxml} +%{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}decentxml +Version: 1.4 +Release: 11.1%{?dist} +Summary: XML parser optimized for round-tripping and code reuse +License: BSD +Group: Development/Libraries +URL: http://code.google.com/p/%{pkg_name} +Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip +# for running w3c conformance test suite +Source1: http://www.w3.org/XML/Test/xmlts20031210.zip +BuildArch: noarch + + +BuildRequires: %{?scl_prefix_java_common}jpackage-utils +BuildRequires: %{?scl_prefix_java_common}maven-local +BuildRequires: %{?scl_prefix_maven}apache-commons-parent + +%description +XML parser optimized for round-tripping and code reuse with main +features being: + * Allows 100% round-tripping, even for weird whitespace between + attributes in the start tag or in the end tag + * Suitable for building editors and filters which want/need to + preserve the original file layout as much as possible + * Error messages have line and column information + * Easy to reuse individual components + * XML 1.1 compatible + +%package javadoc +Summary: API documentation for %{pkg_name} +Group: Documentation + +%description javadoc +This package contains the API documentation for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -n %{pkg_name}-%{version} -q +# we are looking for xml conformance data one lever above so unzip +# here and symlink there +unzip %{SOURCE1} +ln -sf %{pkg_name}-%{version}/xmlconf ../xmlconf +sed -i -e "s|junit-dep|junit|g" pom.xml + +# Two tests fail with Java 8, probably because of some Unicode incompatibility. +sed -i '/not_wf_sa_16[89] /d' src/test/java/de/pdark/decentxml/XMLConformanceTest.java + +%pom_remove_plugin :maven-javadoc-plugin +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_file : %{pkg_name} +%mvn_build +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install +%{?scl:EOF} + + +%files -f .mfiles +%doc LICENSE README + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Tue Jun 23 2015 Mat Booth - 1.4-11.1 +- Import latest from Fedora + +* Wed Jun 17 2015 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 18 2015 Mikolaj Izdebski - 1.4-10 +- Remove javadoc plugin execution + +* Tue Jul 15 2014 Mikolaj Izdebski - 1.4-9 +- Disable failing tests + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 26 2014 Mikolaj Izdebski - 1.4-8 +- Remove BuildRequires on maven-surefire-provider-junit4 + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.4-7 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.4-4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jan 17 2013 Michal Srb - 1.4-3 +- Build with xmvn + +* Wed Jul 18 2012 Fedora Release Engineering - 1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Feb 1 2012 Alexander Kurtakov 1.4-1 +- Update to 1.4 upstream release. + +* Fri Jan 13 2012 Fedora Release Engineering - 1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Feb 25 2011 Stanislav Ochotnicky - 1.3-1 +- Initial version of the package \ No newline at end of file