From 7f54750efd6d258cdcd0ac952545edc8b6cdc071 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 02:41:55 +0000 Subject: import flatpak-builder-1.0.1-2.el8 --- diff --git a/.flatpak-builder.metadata b/.flatpak-builder.metadata new file mode 100644 index 0000000..606b985 --- /dev/null +++ b/.flatpak-builder.metadata @@ -0,0 +1 @@ +9eb716f8dd54846af501307623e576df50bfeefe SOURCES/flatpak-builder-1.0.1.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..58739a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/flatpak-builder-1.0.1.tar.xz diff --git a/SPECS/flatpak-builder.spec b/SPECS/flatpak-builder.spec new file mode 100644 index 0000000..5fd7cb1 --- /dev/null +++ b/SPECS/flatpak-builder.spec @@ -0,0 +1,94 @@ +%global glib2_version 2.44 +%global ostree_version 2017.14 +%global flatpak_version 0.99.1 + +Name: flatpak-builder +Version: 1.0.1 +Release: 2%{?dist} +Summary: Tool to build flatpaks from source + +# src/builder-utils.c has portions derived from GPLv2+ code, +# the rest is LGPLv2+ +License: LGPLv2+ and GPLv2+ +URL: http://flatpak.org/ +Source0: https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz + +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(libcurl) +BuildRequires: pkgconfig(libelf) +BuildRequires: pkgconfig(libsoup-2.4) +BuildRequires: pkgconfig(ostree-1) >= %{ostree_version} +BuildRequires: pkgconfig(yaml-0.1) +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 +%if ! 0%{?rhel} > 7 +# No bzr in latest RHEL +Requires: /usr/bin/bzr +%endif +Requires: /usr/bin/eu-strip +Requires: /usr/bin/git +Requires: /usr/bin/patch +Requires: /usr/bin/rofiles-fuse +Requires: /usr/bin/strip +Recommends: /usr/bin/svn +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 +* Tue Oct 16 2018 Kalev Lember - 1.0.1-2 +- Change svn requires to recommends (#1639355) + +* Thu Oct 04 2018 Kalev Lember - 1.0.1-1 +- Update to 1.0.1 + +* Mon Aug 20 2018 David King - 1.0.0-1 +- Update to 1.0.0 + +* Mon Aug 13 2018 Kalev Lember - 0.99.3-2 +- Update license to "LGPLv2+ and GPLv2+" + +* Thu Aug 02 2018 David King - 0.99.3-1 +- Import from Fedora