Package init
This commit is contained in:
parent
962666f170
commit
d031617e64
BIN
jnr-netdb-1.1.6.tar.gz
Normal file
BIN
jnr-netdb-1.1.6.tar.gz
Normal file
Binary file not shown.
38
jnr-netdb.spec
Normal file
38
jnr-netdb.spec
Normal file
@ -0,0 +1,38 @@
|
||||
Name: jnr-netdb
|
||||
Version: 1.1.6
|
||||
Release: 1
|
||||
Summary: Network services database access for java
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/jnr/%{name}/
|
||||
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local mvn(com.github.jnr:jnr-ffi) mvn(junit:junit)
|
||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
%description
|
||||
jnr-netdb is a java interface to getservbyname(3), getservbyport(3)
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
find ./ -name '*.jar' -exec rm -f '{}' \;
|
||||
find ./ -name '*.class' -exec rm -f '{}' \;
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Jul 31 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.1.6-1
|
||||
- Package init
|
||||
5
jnr-netdb.yaml
Normal file
5
jnr-netdb.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/jnr/jnr-netdb
|
||||
version_control: github
|
||||
src_repo: jnr/jnr-netdb
|
||||
tag_prefix: ""
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user