package init

This commit is contained in:
hht8 2020-08-19 20:32:27 +08:00
parent 104a27cbc3
commit d55f24fde6
3 changed files with 48 additions and 0 deletions

44
geronimo-jcache.spec Normal file
View File

@ -0,0 +1,44 @@
%global spec_ver 1.0
%global spec_name geronimo-jcache_%{spec_ver}_spec
%global namedreltag -alpha-1
%global namedversion %{version}%{?namedreltag}
Name: geronimo-jcache
Version: 1.0
Release: 1
Summary: Apache Geronimo JCache Spec 1.0
License: ASL 2.0
URL: http://geronimo.apache.org/
Source0: https://repo1.maven.org/maven2/org/apache/geronimo/specs/%{spec_name}/%{namedversion}/%{spec_name}-%{namedversion}-source-release.zip
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.geronimo.specs:specs:pom:)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jcdi_1.0_spec)
BuildArch: noarch
%description
Apache Geronimo implementation of JSR-107.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{spec_name}-%{namedversion}
%pom_remove_parent
%pom_add_parent org.apache.geronimo.specs:specs:1.4
%mvn_file : %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Sat Jul 25 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0-1
- package init

4
geronimo-jcache.yaml Normal file
View File

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