flatpak-builder/flatpak-builder.spec
2022-07-06 10:23:02 +08:00

46 lines
1.2 KiB
RPMSpec

Name: flatpak-builder
Version: 1.0.14
Release: 2
Summary: A tool to build flatpaks from source
License: LGPLv2+ and GPLv2+
URL: http://flatpak.org/
Source0: https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch01: CVE-2022-21682.patch
BuildRequires: make flatpak pkgconfig(glib-2.0) >= 2.44 pkgconfig(gio-2.0) pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(ostree-1) >= 2017.14 pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4 pkgconfig(libcurl) pkgconfig(libelf) libxslt
BuildRequires: docbook-style-xsl xmlto
Requires: flatpak
%description
Flatpak-builder is a tool for building flatpaks from sources.
%prep
%autosetup -p1
%build
%configure \
--enable-docbook-docs
%make_build
%install
%make_install
%files
%license COPYING
%{_bindir}/flatpak-builder
%{_defaultdocdir}/flatpak-builder/*
%{_mandir}/man1/flatpak-builder.1*
%{_mandir}/man5/flatpak-manifest.5*
%changelog
* Tue Jul 05 2022 weichao.zhang <weichao.zhang@epro.com.cn> - 1.0.14-2
- Fix CVE-2022-21682
* Thu Aug 05 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.0.14-1
- Package init with 1.0.14