glassfish-dtd-parser/glassfish-dtd-parser.spec

46 lines
1.2 KiB
RPMSpec
Raw Normal View History

2020-08-11 09:09:07 +08:00
Name: glassfish-dtd-parser
2023-09-20 10:42:35 +08:00
Version: 1.4
2020-08-11 09:09:07 +08:00
Release: 1
Summary: Library for parsing XML DTDs
License: CDDL-1.1 and GPLv2 with exceptions
Url: https://github.com/javaee/jaxb-dtd-parser
2023-09-20 10:42:35 +08:00
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
2020-08-11 09:09:07 +08:00
BuildArch: noarch
BuildRequires: bsf maven-local maven-enforcer-plugin sonatype-oss-parent
2023-09-20 10:42:35 +08:00
2020-08-11 09:09:07 +08:00
%description
Library for parsing XML DTDs.
2020-08-19 19:42:51 +08:00
%package help
2020-08-11 09:09:07 +08:00
Summary: Javadoc for %{name}
2020-08-19 19:42:51 +08:00
%description help
2020-08-11 09:09:07 +08:00
This package contains javadoc for %{name}.
%prep
2023-09-20 10:42:35 +08:00
%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
2020-08-11 09:09:07 +08:00
%build
%mvn_file :dtd-parser %{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
2020-08-19 19:42:51 +08:00
%files help -f .mfiles-javadoc
2020-08-11 09:09:07 +08:00
%license LICENSE.txt
%changelog
2023-09-20 10:42:35 +08:00
* Wed Sep 20 2023 Ge Wang <wang__ge@126.com> - 1.4-1
- Update to version 1.4
2020-08-11 09:09:07 +08:00
* Tue Jul 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.2-1
- Package init