Package init
This commit is contained in:
parent
9e5905cb02
commit
08b235887b
BIN
jnr-posix-3.0.47.tar.gz
Normal file
BIN
jnr-posix-3.0.47.tar.gz
Normal file
Binary file not shown.
43
jnr-posix.spec
Normal file
43
jnr-posix.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Name: jnr-posix
|
||||||
|
Version: 3.0.47
|
||||||
|
Release: 1
|
||||||
|
Summary: Java Posix layer
|
||||||
|
License: CPL or GPLv2+ or LGPLv2+
|
||||||
|
URL: http://github.com/jnr/jnr-posix
|
||||||
|
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(com.github.jnr:jnr-constants) mvn(com.github.jnr:jnr-ffi)
|
||||||
|
BuildRequires: 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:)
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
jnr-posix is a lightweight cross-platform POSIX emulation layer for Java,
|
||||||
|
written in Java and is part of the JNR project
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
Javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
sed -i 's|"nogroup"|"root"|' src/test/java/jnr/posix/GroupTest.java
|
||||||
|
%pom_xpath_remove "pom:build/pom:extensions"
|
||||||
|
%pom_remove_plugin ":maven-javadoc-plugin"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 31 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.0.47-1
|
||||||
|
- Package init
|
||||||
5
jnr-posix.yaml
Normal file
5
jnr-posix.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: http://github.com/jnr/jnr-posix
|
||||||
|
version_control: github
|
||||||
|
src_repo: jnr/jnr-posix
|
||||||
|
tag_prefix: "jnr-posix-"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user