Blame SPECS/jigawatts.spec

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