%define debug_package %{nil} %global uname jigawatts %global uversion c15dd4c19e81cbcefe419a99ebaa3af7c5c60c5e %global dversion %(echo %{uversion} | sed s/-/_/) Name: %{uname} Version: 0 Release: 0.0.pre.1.%{uversion}%{?dist} Summary: Java CRIU helper License: GPLv2 with exceptions URL: https://github.com/chflood/%{uname} Source0: https://github.com/chflood/jigawatts/archive/%{uname}-%{uversion}.zip BuildRequires: java-devel BuildRequires: criu-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: maven-local BuildRequires: maven-surefire-provider-junit BuildRequires: maven-surefire-provider-junit5 BuildRequires: maven-surefire BuildRequires: maven-surefire-plugin BuildRequires: maven-clean-plugin BuildRequires: exec-maven-plugin BuildRequires: maven-shade-plugin Requires: java-headless Requires: criu-devel %description CRIU is a Linux utility that allows the checkpointing and restoring of processes. You can read more about CRIU at criu.org. CRIU for Java is a package which makes it more convenient to use CRIU from Java. # https://docs.google.com/document/d/1G71_Kwd5CTfx6IKCuO64s3VztXMWHecERl3D4mpmyWc/edit %package javadoc Summary: Javadoc for %{name} %description javadoc Javadoc for %{name} #todo binding subpackage (waiting for http://mailman-int.corp.redhat.com/archives/java-project/2021-April/msg00000.html) %prep %setup -q -n %{uname}-%{uversion} %build %mvn_build --xmvn-javadoc %install %mvn_install %files -f .mfiles %doc README.md %license LICENSE.md %files javadoc -f .mfiles-javadoc %changelog * Wed Apr 14 2021 Jiri Vanek - 0.0.1.0-SNAPSHOT - initial build - added requires of criu-devel