77 lines
1.9 KiB
RPMSpec
77 lines
1.9 KiB
RPMSpec
%global glib2_version 2.44
|
|
%global ostree_version 2017.10
|
|
%global flatpak_version 0.9.9
|
|
|
|
Name: flatpak-builder
|
|
Version: 0.9.9
|
|
Release: 1%{?dist}
|
|
Summary: Tool to build flatpaks from source
|
|
|
|
License: LGPLv2+
|
|
URL: http://flatpak.org/
|
|
Source0: https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
# Fix the build on ppc64le
|
|
Patch0: 0001-Add-back-accidentally-lost-flatpak_get_kernel_arch.patch
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: docbook-dtds
|
|
BuildRequires: docbook-style-xsl
|
|
BuildRequires: flatpak >= %{flatpak_version}
|
|
BuildRequires: libcap-devel
|
|
BuildRequires: libdwarf-devel
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
BuildRequires: pkgconfig(libelf)
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
|
|
BuildRequires: /usr/bin/xmlto
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
Requires: flatpak%{?_isa} >= %{flatpak_version}
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
Requires: ostree-libs%{?_isa} >= %{ostree_version}
|
|
Requires: /usr/bin/bzip2
|
|
Requires: /usr/bin/bzr
|
|
Requires: /usr/bin/eu-strip
|
|
Requires: /usr/bin/git
|
|
Requires: /usr/bin/patch
|
|
Requires: /usr/bin/strip
|
|
Requires: /usr/bin/tar
|
|
Requires: /usr/bin/unzip
|
|
|
|
%description
|
|
Flatpak-builder is a tool for building flatpaks from sources.
|
|
|
|
See http://flatpak.org/ for more information.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
|
|
%build
|
|
%configure \
|
|
--enable-docbook-docs \
|
|
--with-dwarf-header=%{_includedir}/libdwarf
|
|
|
|
%make_build V=1
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc %{_pkgdocdir}
|
|
%{_bindir}/flatpak-builder
|
|
%{_mandir}/man1/flatpak-builder.1*
|
|
%{_mandir}/man5/flatpak-manifest.5*
|
|
|
|
|
|
%changelog
|
|
* Mon Sep 04 2017 Kalev Lember <klember@redhat.com> - 0.9.9-1
|
|
- Initial flatpak-builder package
|