From 72dc97c883ced868c223ed439bb01afddecb046a Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Wed, 19 Apr 2023 15:07:06 +0000 Subject: [PATCH] Import rpm: c8s --- .gitignore | 2 ++ jaxb-dtd-parser.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+) create mode 100644 .gitignore create mode 100644 jaxb-dtd-parser.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc590b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/jaxb-dtd-parser-1.5.0.tar.gz +/jaxb-dtd-parser-1.5.0.tar.gz diff --git a/jaxb-dtd-parser.spec b/jaxb-dtd-parser.spec new file mode 100644 index 0000000..35312d2 --- /dev/null +++ b/jaxb-dtd-parser.spec @@ -0,0 +1,57 @@ +Name: jaxb-dtd-parser +Version: 1.5.0 +Release: 1%{?dist} +Summary: SAX-like API for parsing XML DTDs +License: BSD +URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser +BuildArch: noarch + +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +%description +SAX-like API for parsing XML DTDs. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q + +pushd dtd-parser + +find -name 'module-info.java' -type f -delete + +%pom_remove_parent + +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin +%pom_remove_plugin :maven-enforcer-plugin +popd + +%build +pushd dtd-parser +%mvn_build +popd + +%install +pushd dtd-parser +%mvn_install +popd + +%files -f dtd-parser/.mfiles +%license LICENSE.md NOTICE.md +%doc README.md + +%files javadoc -f dtd-parser/.mfiles-javadoc +%license LICENSE.md NOTICE.md + +%changelog +* Tue Jan 17 2023 Marian Koncek - 1.5.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..bf7037a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jaxb-dtd-parser-1.5.0.tar.gz) = 5a609c6535bc538014830d933172fc280127c631bd480d5b62dce606657e18f2904feb84fd4f20af0ba72699e75c580d101e7da26182b0e752dc90d70716b831