42 lines
1.2 KiB
RPMSpec
42 lines
1.2 KiB
RPMSpec
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
|