diff --git a/decentxml-1.4-src.zip b/decentxml-1.4-src.zip new file mode 100644 index 0000000..7f7fceb Binary files /dev/null and b/decentxml-1.4-src.zip differ diff --git a/decentxml.spec b/decentxml.spec new file mode 100644 index 0000000..74f66c9 --- /dev/null +++ b/decentxml.spec @@ -0,0 +1,55 @@ +Name: decentxml +Version: 1.4 +Release: 1 +Summary: XML parser optimized for round-tripping and code reuse +License: BSD +URL: https://bitbucket.org/digulla/decentxml/src/default/ +Source0: https://repo1.maven.org/maven2/de/pdark/decentxml/1.4/decentxml-%{version}-src.zip +Source1: https://repo1.maven.org/maven2/de/pdark/decentxml/1.4/decentxml-1.4-src.zip +BuildRequires: maven-local mvn(junit:junit) +BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) +BuildArch: noarch + +%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 %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q +unzip %{SOURCE1} +ln -sf %{name}-%{version}/xmlconf ../xmlconf +sed -i -e "s|junit-dep|junit|g" pom.xml +sed -i '/not_wf_sa_16[89] /d' src/test/java/de/pdark/decentxml/XMLConformanceTest.java +%pom_remove_plugin :maven-javadoc-plugin +%pom_xpath_set "pom:plugin[pom:artifactId='maven-assembly-plugin']/pom:executions/pom:execution/pom:goals/pom:goal[text()='attached']" single + +%build +%mvn_file : %{name} +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE README + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Fri Aug 14 2020 leiju - 1.4-1 +- Package init diff --git a/decentxml.yaml b/decentxml.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/decentxml.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/xmlts20031210.zip b/xmlts20031210.zip new file mode 100644 index 0000000..0c6fd65 Binary files /dev/null and b/xmlts20031210.zip differ