Import rpm: c8s

This commit is contained in:
Johnny Hughes 2023-04-19 15:07:06 +00:00
commit 72dc97c883
3 changed files with 60 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
SOURCES/jaxb-dtd-parser-1.5.0.tar.gz
/jaxb-dtd-parser-1.5.0.tar.gz

57
jaxb-dtd-parser.spec Normal file
View File

@ -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 <mkoncek@redhat.com> - 1.5.0-1
- Initial build

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jaxb-dtd-parser-1.5.0.tar.gz) = 5a609c6535bc538014830d933172fc280127c631bd480d5b62dce606657e18f2904feb84fd4f20af0ba72699e75c580d101e7da26182b0e752dc90d70716b831