import jigawatts-1.21.0.0.0-2.el8
This commit is contained in:
commit
3ab08a4838
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/1.21.0.0.0.tar.gz
|
1
.jigawatts.metadata
Normal file
1
.jigawatts.metadata
Normal file
@ -0,0 +1 @@
|
||||
2332e0f9992dfb8423449ff1b06846d0db738225 SOURCES/1.21.0.0.0.tar.gz
|
114
SPECS/jigawatts.spec
Normal file
114
SPECS/jigawatts.spec
Normal file
@ -0,0 +1,114 @@
|
||||
%global uname jigawatts
|
||||
|
||||
# For snapshots. Currently unused.
|
||||
%global uversion a5f8e31a4a967059498f820c5728f1deb0736c69
|
||||
%global dversion %(echo %{uversion} | sed s/-/_/)
|
||||
%global shortcommit %(c=%{uversion}; echo ${c:0:7})
|
||||
%global commitdate 20210827
|
||||
|
||||
%global aarch64 aarch64 arm64 armv8
|
||||
|
||||
Name: %{uname}
|
||||
Version: 1.21.0.0.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Java CRIU helper
|
||||
License: GPLv2 with exceptions
|
||||
URL: https://github.com/chflood/%{uname}
|
||||
Source0: https://github.com/chflood/%{uname}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: criu-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
||||
Requires: java-headless
|
||||
|
||||
# criu is only available on these architectures
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=902875
|
||||
ExclusiveArch: x86_64 %{arm} ppc64le aarch64 s390x
|
||||
|
||||
%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.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
Javadoc for %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
|
||||
%configure
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%dir %{_pkgdocdir}
|
||||
%doc %{_pkgdocdir}/README.md
|
||||
%dir %{_defaultlicensedir}/%{name}
|
||||
%license %{_defaultlicensedir}/%{name}/LICENSE.md
|
||||
%dir %{_javadir}/%{name}
|
||||
%{_javadir}/%{name}/%{uname}.jar
|
||||
%{_libdir}/libJigawatts.so
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Sep 02 2021 Jiri vanek <jvanek@redhat.com> - 1.21.0.0.0-2
|
||||
- Added gating yaml
|
||||
- Resolves: rhbz#1982964
|
||||
|
||||
* Tue Aug 31 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.21.0.0.0-1
|
||||
- Rebase to upstream release, 1.21.0.0.0.
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Sun Aug 29 2021 Andrew Hughes <gnu.andrew@redhat.com> - 1.0~SNAPSHOT^20210827.a5f8e31-1
|
||||
- Store the upstream version (currently "1.0-SNAPSHOT") and snapshot info completely in the Version field rather than using Release.
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Sat Aug 28 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.4.20210807b2d3751
|
||||
- Update to latest upstream version with renamed package and consistent use of "jigawatts"
|
||||
- Drop library patch which is no longer needed.
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Mon Aug 02 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.3.20210802a3007aa
|
||||
- Rewrite to use autotools build system, avoiding need for Maven dependencies missing in RHEL 9.
|
||||
- This also ensures use of the standard build flags and installs the jar in the expected location.
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Wed Jul 21 2021 Andrew Hughes <gnu.andrew@redhat.com> - 0.2-0.1.20210701c15dd4c
|
||||
- Remove maven-surefire-provider-junit5 dependency as it doesn't exist in RHEL 8.
|
||||
- Correct some typos.
|
||||
- Unable to build until criu-devel is available in RHEL 8.
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Thu Jul 01 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
||||
- criu-devel moved to BR
|
||||
- now requires criu-libs
|
||||
- enabled debuginfo generation
|
||||
- excluded i686 build as criu is 64b only
|
||||
- .so file moved out of jar. Required teo patches:
|
||||
- added and applied patch0 output_loc.patch
|
||||
- added and applied patch1 load_library.patch
|
||||
- on aarch64 workarounded missing lib64 on /usr/LD_LIBRARY_PATH
|
||||
- Resolves: rhbz#1972024
|
||||
|
||||
* Wed Apr 14 2021 Jiri Vanek <jvanek@redhat.com> - 0.2-0.1.20210701c15dd4c
|
||||
- initial build
|
||||
- added requires of criu-devel
|
||||
- Resolves: rhbz#1972024
|
Loading…
Reference in New Issue
Block a user