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
a1c258
Version:        1.0.9
7f5475
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
7f5475
BuildRequires:  gettext
7f5475
BuildRequires:  docbook-dtds
7f5475
BuildRequires:  docbook-style-xsl
7f5475
BuildRequires:  flatpak >= %{flatpak_version}
7f5475
BuildRequires:  libcap-devel
7f5475
BuildRequires:  libdwarf-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 \
7f5475
    --enable-docbook-docs \
7f5475
    --with-dwarf-header=%{_includedir}/libdwarf
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
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