46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
Name: glassfish-dtd-parser
|
|
Version: 1.4
|
|
Release: 1
|
|
Summary: Library for parsing XML DTDs
|
|
License: CDDL-1.1 and GPLv2 with exceptions
|
|
Url: https://github.com/javaee/jaxb-dtd-parser
|
|
Source0: https://github.com/javaee/jaxb-dtd-parser/archive/refs/tags/jaxb-dtd-parser-1.4.tar.gz
|
|
Source1: https://repo.maven.apache.org/maven2/net/java/jvnet-parent/5/jvnet-parent-5.pom
|
|
BuildArch: noarch
|
|
BuildRequires: bsf maven-local maven-enforcer-plugin sonatype-oss-parent
|
|
|
|
%description
|
|
Library for parsing XML DTDs.
|
|
|
|
%package help
|
|
Summary: Javadoc for %{name}
|
|
%description help
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n jaxb-dtd-parser-%{version}
|
|
mv ./dtd-parser/* ./
|
|
rm -rf dtd-parser
|
|
cp %{SOURCE1} %{_builddir}/pom.xml
|
|
rm -rf ./src/module-info.java
|
|
|
|
%build
|
|
%mvn_file :dtd-parser %{name}
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE.txt
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%license LICENSE.txt
|
|
|
|
%changelog
|
|
* Wed Sep 20 2023 Ge Wang <wang__ge@126.com> - 1.4-1
|
|
- Update to version 1.4
|
|
|
|
* Tue Jul 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.2-1
|
|
- Package init
|