Blame SPECS/flatpak-builder.spec

7f5475
%global glib2_version 2.44
7f5475
%global ostree_version 2017.14
7f5475
%global flatpak_version 0.99.1
7f5475
7f5475
Name:           flatpak-builder
96e8ed
Version:        1.0.14
3878a9
Release:        2%{?dist}
7f5475
Summary:        Tool to build flatpaks from source
7f5475
7f5475
# src/builder-utils.c has portions derived from GPLv2+ code,
7f5475
# the rest is LGPLv2+
7f5475
License:        LGPLv2+ and GPLv2+
7f5475
URL:            http://flatpak.org/
7f5475
Source0:        https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
7f5475
3878a9
# https://github.com/flatpak/flatpak-builder/pull/464
3878a9
# https://bugzilla.redhat.com/show_bug.cgi?id=2042007
3878a9
Patch0:         flatpak-builder-CVE-2022-21682.patch
3878a9
7f5475
BuildRequires:  gettext
7f5475
BuildRequires:  docbook-dtds
7f5475
BuildRequires:  docbook-style-xsl
7f5475
BuildRequires:  flatpak >= %{flatpak_version}
07a844
BuildRequires:  elfutils-devel
7f5475
BuildRequires:  libcap-devel
7f5475
BuildRequires:  pkgconfig(glib-2.0) >= %{glib2_version}
7f5475
BuildRequires:  pkgconfig(gobject-introspection-1.0)
7f5475
BuildRequires:  pkgconfig(json-glib-1.0)
7f5475
BuildRequires:  pkgconfig(libcurl)
7f5475
BuildRequires:  pkgconfig(libelf)
7f5475
BuildRequires:  pkgconfig(libsoup-2.4)
7f5475
BuildRequires:  pkgconfig(ostree-1) >= %{ostree_version}
7f5475
BuildRequires:  pkgconfig(yaml-0.1)
7f5475
BuildRequires:  /usr/bin/xmlto
7f5475
BuildRequires:  /usr/bin/xsltproc
7f5475
7f5475
Requires:       flatpak%{?_isa} >= %{flatpak_version}
7f5475
Requires:       glib2%{?_isa} >= %{glib2_version}
7f5475
Requires:       ostree-libs%{?_isa} >= %{ostree_version}
7f5475
Requires:       /usr/bin/bzip2
7f5475
%if ! 0%{?rhel} > 7
7f5475
# No bzr in latest RHEL
a1c258
Recommends:     /usr/bin/bzr
7f5475
%endif
7f5475
Requires:       /usr/bin/eu-strip
7f5475
Requires:       /usr/bin/git
7f5475
Requires:       /usr/bin/patch
7f5475
Requires:       /usr/bin/rofiles-fuse
7f5475
Requires:       /usr/bin/strip
7f5475
Recommends:     /usr/bin/svn
7f5475
Requires:       /usr/bin/tar
7f5475
Requires:       /usr/bin/unzip
7f5475
7f5475
%description
7f5475
Flatpak-builder is a tool for building flatpaks from sources.
7f5475
7f5475
See http://flatpak.org/ for more information.
7f5475
7f5475
7f5475
%prep
7f5475
%autosetup -p1
7f5475
7f5475
7f5475
%build
7f5475
%configure \
07a844
    --enable-docbook-docs
7f5475
7f5475
%make_build V=1
7f5475
7f5475
7f5475
%install
7f5475
%make_install
7f5475
7f5475
7f5475
%files
7f5475
%license COPYING
7f5475
%doc %{_pkgdocdir}
7f5475
%{_bindir}/flatpak-builder
7f5475
%{_mandir}/man1/flatpak-builder.1*
7f5475
%{_mandir}/man5/flatpak-manifest.5*
7f5475
7f5475
7f5475
%changelog
3878a9
* Fri Apr 01 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-2
3878a9
- Fix CVE-2022-21682 (#2042007)
3878a9
96e8ed
* Wed Mar 09 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-1
96e8ed
- Update to 1.0.14 (#2047312)
96e8ed
07a844
* Tue Feb 25 2020 David King <dking@redhat.com> - 1.0.9-3
07a844
- Use elfutils instead of libdwarf (#1613030)
07a844
a1c258
* Fri Nov 08 2019 David King <dking@redhat.com> - 1.0.9-2
a1c258
- Drop Requires on lzip (#1748290)
a1c258
a1c258
* Fri Nov 08 2019 David King <dking@redhat.com> - 1.0.9-1
a1c258
- Rebase to 1.0.9 (#1748290)
a1c258
7f5475
* Tue Oct 16 2018 Kalev Lember <klember@redhat.com> - 1.0.1-2
7f5475
- Change svn requires to recommends (#1639355)
7f5475
7f5475
* Thu Oct 04 2018 Kalev Lember <klember@redhat.com> - 1.0.1-1
7f5475
- Update to 1.0.1
7f5475
7f5475
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0.0-1
7f5475
- Update to 1.0.0
7f5475
7f5475
* Mon Aug 13 2018 Kalev Lember <klember@redhat.com> - 0.99.3-2
7f5475
- Update license to "LGPLv2+ and GPLv2+"
7f5475
7f5475
* Thu Aug 02 2018 David King <dking@redhat.com> - 0.99.3-1
7f5475
- Import from Fedora