45 lines
1.1 KiB
RPMSpec
45 lines
1.1 KiB
RPMSpec
|
|
Name: jnr-x86asm
|
||
|
|
Version: 1.0.2
|
||
|
|
Release: 1
|
||
|
|
Summary: Pure-java port of asmjit
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/jnr/jnr-x86asm/
|
||
|
|
Source0: https://github.com/jnr/jnr-x86asm/archive/jnr-x86asm-%{version}.tar.gz
|
||
|
|
Source1: MANIFEST.MF
|
||
|
|
Patch0: add-manifest.patch
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
|
||
|
|
%description
|
||
|
|
Pure-java port of asmjit (http://code.google.com/p/asmjit/)
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Javadoc for %{name}
|
||
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||
|
|
%description help
|
||
|
|
Javadoc for %{name}.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q
|
||
|
|
%patch0
|
||
|
|
cp %{SOURCE1} .
|
||
|
|
find ./ -name '*.jar' -delete
|
||
|
|
find ./ -name '*.class' -delete
|
||
|
|
|
||
|
|
%build
|
||
|
|
%mvn_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%mvn_install
|
||
|
|
|
||
|
|
%files -f .mfiles
|
||
|
|
%license LICENSE
|
||
|
|
%doc README
|
||
|
|
|
||
|
|
%files help -f .mfiles-javadoc
|
||
|
|
%license LICENSE
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.2-1
|
||
|
|
- package init
|