Blame SPECS/jigawatts.spec

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