commit
8857d57715
BIN
jnr-constants-0.9.12.tar.gz
Normal file
BIN
jnr-constants-0.9.12.tar.gz
Normal file
Binary file not shown.
41
jnr-constants.spec
Normal file
41
jnr-constants.spec
Normal 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
5
jnr-constants.yaml
Normal 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: "."
|
||||
Loading…
x
Reference in New Issue
Block a user