!2 package init

Merge pull request !2 from 康少强/master
This commit is contained in:
openeuler-ci-bot 2020-08-19 19:51:42 +08:00 committed by Gitee
commit fce3211459
3 changed files with 41 additions and 0 deletions

Binary file not shown.

36
glassfish-dtd-parser.spec Normal file
View File

@ -0,0 +1,36 @@
Name: glassfish-dtd-parser
Version: 1.2
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: %{name}-%{version}-SNAPSHOT-src-svn.tar.gz
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 %{name}-%{version}-SNAPSHOT
%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
* Tue Jul 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.2-1
- Package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/javaee/jaxb-dtd-parser
version_control: github
src_repo: javaee/jaxb-dtd-parser
tag_prefix: "dtd-parser-"
seperator: "."