!1 package init

Merge pull request !1 from jeff200902/master
This commit is contained in:
openeuler-ci-bot 2020-09-03 15:08:16 +08:00 committed by Gitee
commit 8857d57715
3 changed files with 46 additions and 0 deletions

BIN
jnr-constants-0.9.12.tar.gz Normal file

Binary file not shown.

41
jnr-constants.spec Normal file
View File

@ -0,0 +1,41 @@
Name: jnr-constants
Version: 0.9.12
Release: 1
Summary: Java Native Runtime constants
License: ASL 2.0
URL: https://github.com/jnr/jnr-constants
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
Provides java values for common platform C constants (e.g. errno).
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
find ./ -name '*.jar' -delete
find ./ -name '*.class' -delete
%mvn_file : %{name}/%{name} %{name} constantine
%pom_remove_plugin ":maven-javadoc-plugin"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE
%files javadoc -f .mfiles-javadoc
%doc LICENSE
%changelog
* Mon Jul 27 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.9.12-1
- Package init

5
jnr-constants.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/jnr/jnr-constants
version_control: github
src_repo: jnr/jnr-constants
tag_prefix: "jnr-constants-"
seperator: "."