!1 package init

From: @hht8
Reviewed-by: @wangchong1995924
Signed-off-by: @wangchong1995924
This commit is contained in:
openeuler-ci-bot 2021-05-06 11:27:03 +08:00 committed by Gitee
commit 90fe72c15c
2 changed files with 50 additions and 0 deletions

Binary file not shown.

50
java-uuid-generator.spec Normal file
View File

@ -0,0 +1,50 @@
Name: java-uuid-generator
Version: 3.1.4
Release: 1
Epoch: 0
Summary: A pure Java UUID Generator
License: ASL 2.0
Url: https://github.com/cowtowncoder/java-uuid-generator
Source0: https://github.com/cowtowncoder/java-uuid-generator/archive/java-uuid-generator-%{version}.tar.gz
BuildRequires: maven-local mvn(com.fasterxml:oss-parent:pom:) mvn(junit:junit)
BuildRequires: mvn(log4j:log4j:1.2.13) mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
%description
JUG is a pure java UUID generator, that can be used either
as a component in a bigger application, or as a standalone
command line tool (a la 'uuidgen').
JUG generates UUIDs according to the IETF UUID draft
specification (and further clarified in UUID URN name space
IETF draft ) 8211; all 3 'official' types defined by the
draft 8211 are supported.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains the %{summary}.
%prep
%setup -q -n java-uuid-generator-java-uuid-generator-%{version}
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build
%install
%mvn_install
pushd release-notes
iconv -f latin1 -t utf8 CREDITS > CREDITS.utf8
mv -f CREDITS.utf8 CREDITS
popd
%files -f .mfiles
%license release-notes/asl/{ASL2.0,LICENSE}
%doc release-notes/{CREDITS,FAQ,USAGE,VERSION} README.md
%files javadoc -f .mfiles-javadoc
%license release-notes/asl/{ASL2.0,LICENSE}
%changelog
* Thu Apr 29 2021 huanghaitao <huanghaitao8@huawei.com> - 3.1.4-1
- package init