!1 package init

Merge pull request !1 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 18:10:23 +08:00 committed by Gitee
commit 418cce6c09
3 changed files with 44 additions and 0 deletions

Binary file not shown.

40
geronimo-commonj.spec Normal file
View File

@ -0,0 +1,40 @@
%global spec_ver 1.1
%global spec_name geronimo-commonj_%{spec_ver}_spec
Name: geronimo-commonj
Version: 1.1.0
Release: 1
Summary: CommonJ Specification
License: ASL 2.0
URL: http://geronimo.apache.org/
# svn export https://svn.apache.org/repos/asf/geronimo/specs/tags/specs-1.4/geronimo-commonj_1.1_spec geronimo-commonj-1.1.0
# tar cvfJ geronimo-commonj-1.1.0.tar.xz geronimo-commonj-1.1.0
Source: %{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: geronimo-parent-poms maven-local
%description
Geronimo CommonJ Specification.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
%mvn_file :%{spec_name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog
* Fri Aug 28 2020 wutao <wutao61@huawei.com> - 1.1.0-1
- package init

4
geronimo-commonj.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA