Blame SPECS/flatpak-builder.spec

2a7375
%global debugedit_version 5.0
2a7375
%global glib2_version 2.44
2a7375
%global ostree_version 2017.14
2a7375
%global flatpak_version 0.99.1
2a7375
2a7375
Name:           flatpak-builder
2a7375
Version:        1.2.2
2a7375
Release:        1%{?dist}
2a7375
Summary:        Tool to build flatpaks from source
2a7375
2a7375
# src/builder-utils.c has portions derived from GPLv2+ code,
2a7375
# the rest is LGPLv2+
2a7375
License:        LGPLv2+ and GPLv2+
2a7375
URL:            http://flatpak.org/
2a7375
Source0:        https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
2a7375
2a7375
# https://bugzilla.redhat.com/show_bug.cgi?id=1935509
2a7375
Patch0:         flatpak-builder-source-archive-source-file-Deprecate-MD5-and-SHA1-ha.patch
2a7375
2a7375
BuildRequires:  gettext
2a7375
BuildRequires:  debugedit >= %{debugedit_version}
2a7375
BuildRequires:  docbook-dtds
2a7375
BuildRequires:  docbook-style-xsl
2a7375
BuildRequires:  flatpak >= %{flatpak_version}
2a7375
BuildRequires:  libcap-devel
2a7375
BuildRequires:  make
2a7375
BuildRequires:  pkgconfig(glib-2.0) >= %{glib2_version}
2a7375
BuildRequires:  pkgconfig(gobject-introspection-1.0)
2a7375
BuildRequires:  pkgconfig(json-glib-1.0)
2a7375
BuildRequires:  pkgconfig(libcurl)
2a7375
BuildRequires:  pkgconfig(libelf)
2a7375
BuildRequires:  pkgconfig(libsoup-2.4)
2a7375
BuildRequires:  pkgconfig(ostree-1) >= %{ostree_version}
2a7375
BuildRequires:  pkgconfig(yaml-0.1)
2a7375
BuildRequires:  /usr/bin/xmlto
2a7375
BuildRequires:  /usr/bin/xsltproc
2a7375
2a7375
Requires:       debugedit >= %{debugedit_version}
2a7375
Requires:       flatpak%{?_isa} >= %{flatpak_version}
2a7375
Requires:       glib2%{?_isa} >= %{glib2_version}
2a7375
Requires:       ostree-libs%{?_isa} >= %{ostree_version}
2a7375
Requires:       /usr/bin/rofiles-fuse
2a7375
2a7375
# Recommend various things that may or may not be needed depending on the code being built
2a7375
Recommends:     /usr/bin/bzip2
2a7375
Recommends:     /usr/bin/eu-strip
2a7375
Recommends:     /usr/bin/git
2a7375
Recommends:     /usr/bin/patch
2a7375
Recommends:     /usr/bin/strip
2a7375
Recommends:     /usr/bin/tar
2a7375
Recommends:     /usr/bin/unzip
2a7375
Recommends:     /usr/bin/zstd
2a7375
Recommends:     ccache
2a7375
2a7375
# Uncommon enough that we don't want to pull them in by default
2a7375
#Recommends:     /usr/bin/bzr
2a7375
#Recommends:     /usr/bin/lzip
2a7375
#Recommends:     /usr/bin/svn
2a7375
2a7375
%description
2a7375
Flatpak-builder is a tool for building flatpaks from sources.
2a7375
2a7375
See http://flatpak.org/ for more information.
2a7375
2a7375
2a7375
%prep
2a7375
%autosetup -p1
2a7375
2a7375
2a7375
%build
2a7375
%configure \
2a7375
    --enable-docbook-docs \
2a7375
    --with-fuse=2 \
2a7375
    --with-system-debugedit
2a7375
2a7375
%make_build V=1
2a7375
2a7375
2a7375
%install
2a7375
%make_install
2a7375
2a7375
2a7375
%files
2a7375
%license COPYING
2a7375
%doc %{_pkgdocdir}
2a7375
%{_bindir}/flatpak-builder
2a7375
%{_mandir}/man1/flatpak-builder.1*
2a7375
%{_mandir}/man5/flatpak-manifest.5*
2a7375
2a7375
2a7375
%changelog
2a7375
* Mon Feb 07 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.2-1
2a7375
- Rebase to 1.2.2
2a7375
Resolves: #1999742
2a7375
2a7375
* Wed Feb 02 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-2
2a7375
- Deprecate MD5 and SHA1 hashes
2a7375
Resolves: #1935509
2a7375
2a7375
* Thu Sep 23 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-1
2a7375
- Update to 1.0.14
2a7375
Resolves: #2006557
2a7375
2a7375
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.12-5
2a7375
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2a7375
  Related: rhbz#1991688
2a7375
<
2a7375
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.12-4
2a7375
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2a7375
2a7375
* Mon Mar 29 2021 Kalev Lember <klember@redhat.com> - 1.0.12-3
2a7375
- Remove bzr, lzip and svn recommends as they are not common enough
2a7375
2a7375
* Thu Mar 25 2021 Kalev Lember <klember@redhat.com> - 1.0.12-2
2a7375
- Recommend all the archive handlers etc, instead of hard requiring
2a7375
2a7375
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 1.0.12-1
2a7375
- Update to 1.0.12
2a7375
2a7375
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-4
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2a7375
2a7375
* Tue Dec 08 2020 Bastien Nocera <bnocera@redhat.com> - 1.0.10-3
2a7375
+ flatpak-builder-1.0.10-3
2a7375
- Require ccache on Fedora where it is available
2a7375
2a7375
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.10-2
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2a7375
2a7375
* Fri Mar 20 2020 Kalev Lember <klember@redhat.com> - 1.0.10-1
2a7375
- Update to 1.0.10
2a7375
2a7375
* Tue Feb 25 2020 David King <amigadave@amigadave.com> - 1.0.9-3
2a7375
- Use elfutils instead of libdwarf
2a7375
2a7375
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2a7375
2a7375
* Sat Sep 14 2019 David King <amigadave@amigadave.com> - 1.0.9-1
2a7375
- Update to 1.0.9
2a7375
2a7375
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2a7375
2a7375
* Fri May 10 2019 Kalev Lember <klember@redhat.com> - 1.0.7-1
2a7375
- Update to 1.0.7
2a7375
2a7375
* Fri Feb 08 2019 Kalev Lember <klember@redhat.com> - 1.0.5-1
2a7375
- Update to 1.0.5
2a7375
2a7375
* Tue Feb 05 2019 Kalev Lember <klember@redhat.com> - 1.0.4-1
2a7375
- Update to 1.0.4
2a7375
2a7375
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2a7375
2a7375
* Wed Jan 30 2019 David King <amigadave@amigadave.com> - 1.0.3-2
2a7375
- Add dependency on lzip
2a7375
2a7375
* Mon Jan 28 2019 David King <amigadave@amigadave.com> - 1.0.3-1
2a7375
- Update to 1.0.3
2a7375
2a7375
* Tue Jan 15 2019 Kalev Lember <klember@redhat.com> - 1.0.2-1
2a7375
- Update to 1.0.2
2a7375
- Change bzr requires to recommends
2a7375
2a7375
* Tue Oct 16 2018 Kalev Lember <klember@redhat.com> - 1.0.1-2
2a7375
- Change svn requires to recommends (#1639355)
2a7375
2a7375
* Thu Oct 04 2018 Kalev Lember <klember@redhat.com> - 1.0.1-1
2a7375
- Update to 1.0.1
2a7375
2a7375
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0.0-1
2a7375
- Update to 1.0.0
2a7375
2a7375
* Mon Aug 13 2018 Kalev Lember <klember@redhat.com> - 0.99.3-4
2a7375
- Update license to "LGPLv2+ and GPLv2+"
2a7375
2a7375
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.99.3-3
2a7375
- Rebuild with fixed binutils
2a7375
2a7375
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.3-2
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2a7375
2a7375
* Tue Jul 10 2018 Kalev Lember <klember@redhat.com> - 0.99.3-1
2a7375
- Update to 0.99.3
2a7375
2a7375
* Wed Jun 27 2018 Kalev Lember <klember@redhat.com> - 0.99.2-1
2a7375
- Update to 0.99.2
2a7375
2a7375
* Mon Jun 25 2018 David King <amigadave@amigadave.com> - 0.99.1-1
2a7375
- Update to 0.99.1
2a7375
2a7375
* Fri Apr 27 2018 David King <amigadave@amigadave.com> - 0.10.10-2
2a7375
- Add some extra dependencies
2a7375
2a7375
* Thu Apr 26 2018 Kalev Lember <klember@redhat.com> - 0.10.10-1
2a7375
- Update to 0.10.10
2a7375
2a7375
* Mon Feb 19 2018 David King <amigadave@amigadave.com> - 0.10.9-1
2a7375
- Update to 0.10.9
2a7375
2a7375
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
2a7375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2a7375
2a7375
* Fri Dec 15 2017 Kalev Lember <klember@redhat.com> - 0.10.6-1
2a7375
- Update to 0.10.6
2a7375
2a7375
* Tue Nov 28 2017 David King <amigadave@amigadave.com> - 0.10.5-1
2a7375
- Update to 0.10.5
2a7375
2a7375
* Mon Nov 06 2017 Kalev Lember <klember@redhat.com> - 0.10.4-1
2a7375
- Update to 0.10.4
2a7375
2a7375
* Tue Oct 31 2017 David King <amigadave@amigadave.com> - 0.10.3-1
2a7375
- Update to 0.10.3
2a7375
2a7375
* Mon Oct 30 2017 David King <amigadave@amigadave.com> - 0.10.2-1
2a7375
- Update to 0.10.2
2a7375
2a7375
* Fri Oct 27 2017 Kalev Lember <klember@redhat.com> - 0.10.1-1
2a7375
- Update to 0.10.1
2a7375
2a7375
* Thu Oct 26 2017 Kalev Lember <klember@redhat.com> - 0.10.0-1
2a7375
- Update to 0.10.0
2a7375
2a7375
* Mon Oct 09 2017 Kalev Lember <klember@redhat.com> - 0.9.99-1
2a7375
- Update to 0.9.99
2a7375
2a7375
* Mon Sep 25 2017 Kalev Lember <klember@redhat.com> - 0.9.98-1
2a7375
- Update to 0.9.98
2a7375
2a7375
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 0.9.11-1
2a7375
- Update to 0.9.11
2a7375
2a7375
* Mon Sep 04 2017 Kalev Lember <klember@redhat.com> - 0.9.9-1
2a7375
- Initial flatpak-builder package