|
|
7fe2cf |
%global uname jigawatts
|
|
|
7fe2cf |
|
|
|
7fe2cf |
# For snapshots. Currently unused.
|
|
|
7fe2cf |
%global uversion a5f8e31a4a967059498f820c5728f1deb0736c69
|
|
|
7fe2cf |
%global dversion %(echo %{uversion} | sed s/-/_/)
|
|
|
7fe2cf |
%global shortcommit %(c=%{uversion}; echo ${c:0:7})
|
|
|
7fe2cf |
%global commitdate 20210827
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%global aarch64 aarch64 arm64 armv8
|
|
|
7fe2cf |
|
|
|
7fe2cf |
Name: %{uname}
|
|
|
7fe2cf |
Version: 1.21.0.0.0
|
|
|
7fe2cf |
Release: 2%{?dist}
|
|
|
7fe2cf |
Summary: Java CRIU helper
|
|
|
7fe2cf |
License: GPLv2 with exceptions
|
|
|
7fe2cf |
URL: https://github.com/chflood/%{uname}
|
|
|
7fe2cf |
Source0: https://github.com/chflood/%{uname}/archive/refs/tags/%{version}.tar.gz
|
|
|
7fe2cf |
|
|
|
7fe2cf |
BuildRequires: java-devel
|
|
|
7fe2cf |
BuildRequires: criu-devel
|
|
|
7fe2cf |
BuildRequires: gcc
|
|
|
7fe2cf |
BuildRequires: gcc-c++
|
|
|
7fe2cf |
BuildRequires: autoconf
|
|
|
7fe2cf |
BuildRequires: automake
|
|
|
7fe2cf |
|
|
|
7fe2cf |
Requires: java-headless
|
|
|
7fe2cf |
|
|
|
7fe2cf |
# criu is only available on these architectures
|
|
|
7fe2cf |
# https://bugzilla.redhat.com/show_bug.cgi?id=902875
|
|
|
7fe2cf |
ExclusiveArch: x86_64 %{arm} ppc64le aarch64 s390x
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%description
|
|
|
7fe2cf |
CRIU is a Linux utility that allows the checkpointing and restoring
|
|
|
7fe2cf |
of processes.You can read more about CRIU at criu.org. CRIU for
|
|
|
7fe2cf |
Java is a package which makes it more convenient to use CRIU from
|
|
|
7fe2cf |
Java.
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%package javadoc
|
|
|
7fe2cf |
Summary: Javadoc for %{name}
|
|
|
7fe2cf |
%description javadoc
|
|
|
7fe2cf |
Javadoc for %{name}
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%prep
|
|
|
7fe2cf |
%setup -q
|
|
|
7fe2cf |
|
|
|
7fe2cf |
./autogen.sh
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%build
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%configure
|
|
|
7fe2cf |
|
|
|
7fe2cf |
make
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%install
|
|
|
7fe2cf |
|
|
|
7fe2cf |
rm -rf $RPM_BUILD_ROOT
|
|
|
7fe2cf |
%make_install
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%files
|
|
|
7fe2cf |
%dir %{_pkgdocdir}
|
|
|
7fe2cf |
%doc %{_pkgdocdir}/README.md
|
|
|
7fe2cf |
%dir %{_defaultlicensedir}/%{name}
|
|
|
7fe2cf |
%license %{_defaultlicensedir}/%{name}/LICENSE.md
|
|
|
7fe2cf |
%dir %{_javadir}/%{name}
|
|
|
7fe2cf |
%{_javadir}/%{name}/%{uname}.jar
|
|
|
7fe2cf |
%{_libdir}/libJigawatts.so
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%files javadoc
|
|
|
7fe2cf |
%{_javadocdir}/%{name}
|
|
|
7fe2cf |
|
|
|
7fe2cf |
%changelog
|
|
|
7fe2cf |
* Thu Sep 02 2021 Jiri Vanek <jvanek@redhat.com> - 1.21.0.0.0-2
|
|
|
7fe2cf |
- Added gating yaml
|
|
|
7fe2cf |
- Resolves: rhbz#1989529
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Tue Aug 31 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.21.0.0.0-1
|
|
|
7fe2cf |
- Rebase to upstream release, 1.21.0.0.0.
|
|
|
7fe2cf |
- Resolves: rhbz#1972029
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Sun Aug 29 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.0~SNAPSHOT^20210827.a5f8e31-1
|
|
|
7fe2cf |
- Store the upstream version (currently "1.0-SNAPSHOT") and snapshot info completely in the Version field rather than using Release.
|
|
|
7fe2cf |
- Resolves: rhbz#1972029
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Sat Aug 28 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.4.20210807b2d3751
|
|
|
7fe2cf |
- Update to latest upstream version with renamed package and consistent use of "jigawatts"
|
|
|
7fe2cf |
- Drop library patch which is no longer needed.
|
|
|
7fe2cf |
- Resolves: rhbz#1972029
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Mon Aug 02 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.3.20210802a3007aa
|
|
|
7fe2cf |
- Rewrite to use autotools build system, avoiding need for Maven dependencies missing in RHEL 9.
|
|
|
7fe2cf |
- This also ensures use of the standard build flags and installs the jar in the expected location.
|
|
|
7fe2cf |
- Resolves: rhbz#1972029
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-0.2.20210701c15dd4c
|
|
|
7fe2cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Thu Jul 01 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
|
|
7fe2cf |
- criu-devel moved to BR
|
|
|
7fe2cf |
- now requires criu-libs
|
|
|
7fe2cf |
- enabled debuginfo generation
|
|
|
7fe2cf |
- excluded i686 build as criu is 64b only
|
|
|
7fe2cf |
- .so file moved out of jar. Required teo patches:
|
|
|
7fe2cf |
- added and applied patch0 output_loc.patch
|
|
|
7fe2cf |
- added and applied patch1 load_library.patch
|
|
|
7fe2cf |
- on aarch64 workarounded missing lib64 on /usr/LD_LIBRARY_PATH
|
|
|
7fe2cf |
|
|
|
7fe2cf |
* Wed Apr 14 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
|
|
7fe2cf |
- initial build
|
|
|
7fe2cf |
- added requires of criu-devel
|