File flatpak-builder.spec of Package flatpak-builder.30371

#
# spec file for package flatpak-builder
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           flatpak-builder
Version:        1.2.2
Release:        0
Summary:        Tool to build flatpaks from source
License:        LGPL-2.1-or-later
Group:          Development/Tools/Building
URL:            http://flatpak.org/
Source0:        https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM 0001-builder-Fix-silent-truncation-of-gt-32-bit-inodes.patch boo#1214708 alarrosa@suse.com
Patch0:         0001-builder-Fix-silent-truncation-of-gt-32-bit-inodes.patch
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  gettext
BuildRequires:  gtk-doc
BuildRequires:  libcap-devel
BuildRequires:  pkgconfig >= 0.24
BuildRequires:  xmlto
BuildRequires:  xsltproc
BuildRequires:  pkgconfig(flatpak) >= 0.11.8
BuildRequires:  pkgconfig(glib-2.0) >= 2.44
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(json-glib-1.0)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libdw) >= 0.172
BuildRequires:  pkgconfig(libelf) >= 0.8.12
BuildRequires:  pkgconfig(libsoup-2.4)
BuildRequires:  pkgconfig(ostree-1) >= 2017.14
BuildRequires:  pkgconfig(yaml-0.1)
Requires:       %{_bindir}/bzip2
Recommends:     %{_bindir}/bzr
Requires:       %{_bindir}/eu-strip
Requires:       %{_bindir}/git
Requires:       %{_bindir}/patch
Requires:       %{_bindir}/strip
Requires:       %{_bindir}/tar
Requires:       %{_bindir}/unzip

%description
Tool to build flatpaks from source.
See https://docs.flatpak.org/ for more information.

%prep
%autosetup -p1

%build
%configure \
	--enable-docbook-docs \
	%{nil}
%make_build

%install
%make_install

%files
%license COPYING
%doc NEWS README.md
%doc %{_datadir}/doc/%{name}/
%{_bindir}/flatpak-builder
%{_libexecdir}/flatpak-builder-debugedit
%{_mandir}/man1/flatpak-builder.1%{ext_man}
%{_mandir}/man5/flatpak-manifest.5%{ext_man}

%changelog
openSUSE Build Service is sponsored by