|
|
@ -1,46 +1,40 @@
|
|
|
|
%global appstream_version 0.15.0
|
|
|
|
|
|
|
|
%global debugedit_version 5.0
|
|
|
|
%global debugedit_version 5.0
|
|
|
|
%global glib2_version 2.66
|
|
|
|
%global glib2_version 2.44
|
|
|
|
%global ostree_version 2017.14
|
|
|
|
%global ostree_version 2017.14
|
|
|
|
%global flatpak_version 0.99.1
|
|
|
|
%global flatpak_version 0.99.1
|
|
|
|
|
|
|
|
|
|
|
|
Name: flatpak-builder
|
|
|
|
Name: flatpak-builder
|
|
|
|
Version: 1.4.1
|
|
|
|
Version: 1.2.2
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Tool to build flatpaks from source
|
|
|
|
Summary: Tool to build flatpaks from source
|
|
|
|
|
|
|
|
|
|
|
|
# src/builder-utils.c has portions derived from GPLv2+ code,
|
|
|
|
# src/builder-utils.c has portions derived from GPLv2+ code,
|
|
|
|
# the rest is LGPLv2+
|
|
|
|
# the rest is LGPLv2+
|
|
|
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
|
|
|
License: LGPLv2+ and GPLv2+
|
|
|
|
URL: https://flatpak.org/
|
|
|
|
URL: http://flatpak.org/
|
|
|
|
Source0: https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source0: https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
# ostree not on i686 for RHEL 10
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1935509
|
|
|
|
# https://github.com/containers/composefs/pull/229#issuecomment-1838735764
|
|
|
|
Patch0: flatpak-builder-source-archive-source-file-Deprecate-MD5-and-SHA1-ha.patch
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: appstream-compose >= %{appstream_version}
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: debugedit >= %{debugedit_version}
|
|
|
|
BuildRequires: debugedit >= %{debugedit_version}
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: flatpak >= %{flatpak_version}
|
|
|
|
BuildRequires: flatpak >= %{flatpak_version}
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libelf)
|
|
|
|
BuildRequires: pkgconfig(libelf)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
|
|
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
|
|
|
|
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
|
|
|
|
BuildRequires: pkgconfig(yaml-0.1)
|
|
|
|
BuildRequires: pkgconfig(yaml-0.1)
|
|
|
|
BuildRequires: /usr/bin/xmlto
|
|
|
|
BuildRequires: /usr/bin/xmlto
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
|
|
|
|
|
|
|
|
Requires: appstream-compose >= %{appstream_version}
|
|
|
|
|
|
|
|
Requires: debugedit >= %{debugedit_version}
|
|
|
|
Requires: debugedit >= %{debugedit_version}
|
|
|
|
Requires: flatpak%{?_isa} >= %{flatpak_version}
|
|
|
|
Requires: flatpak%{?_isa} >= %{flatpak_version}
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
@ -59,21 +53,14 @@ Recommends: /usr/bin/zstd
|
|
|
|
Recommends: ccache
|
|
|
|
Recommends: ccache
|
|
|
|
|
|
|
|
|
|
|
|
# Uncommon enough that we don't want to pull them in by default
|
|
|
|
# Uncommon enough that we don't want to pull them in by default
|
|
|
|
#Recommends: /usr/bin/brz
|
|
|
|
#Recommends: /usr/bin/bzr
|
|
|
|
#Recommends: /usr/bin/lzip
|
|
|
|
#Recommends: /usr/bin/lzip
|
|
|
|
#Recommends: /usr/bin/svn
|
|
|
|
#Recommends: /usr/bin/svn
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Flatpak-builder is a tool for building flatpaks from sources.
|
|
|
|
Flatpak-builder is a tool for building flatpaks from sources.
|
|
|
|
|
|
|
|
|
|
|
|
See https://flatpak.org/ for more information.
|
|
|
|
See http://flatpak.org/ for more information.
|
|
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
|
|
|
This package contains installed tests for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -81,17 +68,16 @@ This package contains installed tests for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%meson -Ddocs=enabled -Dfuse=3 -Dinstalled_tests=true -Dyaml=enabled
|
|
|
|
%configure \
|
|
|
|
%meson_build
|
|
|
|
--enable-docbook-docs \
|
|
|
|
|
|
|
|
--with-fuse=2 \
|
|
|
|
|
|
|
|
--with-system-debugedit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%make_build V=1
|
|
|
|
%install
|
|
|
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# %%check
|
|
|
|
%install
|
|
|
|
# %%meson_test
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -101,88 +87,26 @@ install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir}
|
|
|
|
%{_mandir}/man1/flatpak-builder.1*
|
|
|
|
%{_mandir}/man1/flatpak-builder.1*
|
|
|
|
%{_mandir}/man5/flatpak-manifest.5*
|
|
|
|
%{_mandir}/man5/flatpak-manifest.5*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_datadir}/installed-tests
|
|
|
|
|
|
|
|
%{_libexecdir}/installed-tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.4.1-2
|
|
|
|
* Mon Feb 07 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.2-1
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebase to 1.2.2
|
|
|
|
|
|
|
|
Resolves: #1999742
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.1-2
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2024 Kalev Lember <klember@redhat.com> - 1.4.1-1
|
|
|
|
|
|
|
|
- Update to 1.4.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 Kalev Lember <klember@redhat.com> - 1.4.0-1
|
|
|
|
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 19 2023 Kalev Lember <klember@redhat.com> - 1.3.5-1
|
|
|
|
|
|
|
|
- Update to 1.3.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 13 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.3.4-1
|
|
|
|
|
|
|
|
- Update to 1.3.4 (#2212349)
|
|
|
|
|
|
|
|
- Enable installed tests
|
|
|
|
|
|
|
|
- Disable %%check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 21 2023 David King <amigadave@amigadave.com> - 1.3.3-1
|
|
|
|
* Wed Feb 02 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-2
|
|
|
|
- Update to 1.3.3 (#2179415)
|
|
|
|
- Deprecate MD5 and SHA1 hashes
|
|
|
|
|
|
|
|
Resolves: #1935509
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 09 2023 David King <amigadave@amigadave.com> - 1.3.1-1
|
|
|
|
* Thu Sep 23 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-1
|
|
|
|
- Update to 1.3.1 (#2159101)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 26 2022 msuchy <msuchy@redhat.com> - 1.2.3-2
|
|
|
|
|
|
|
|
- migrate to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 29 2022 David King <amigadave@amigadave.com> - 1.2.3-1
|
|
|
|
|
|
|
|
- Update to 1.2.3 (#2149163)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 01 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.2-3
|
|
|
|
|
|
|
|
- Work with both FUSE 2 and FUSE 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.2-1
|
|
|
|
|
|
|
|
- Update to 1.2.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.1-2
|
|
|
|
|
|
|
|
- Add 'Recommends: /usr/bin/zstd' to go with the new *.tar.zst support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Debarshi Ray <rishi@fedoraproject.org> - 1.2.1-1
|
|
|
|
|
|
|
|
- Update to 1.2.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 12 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.2.0-1
|
|
|
|
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 23 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.1.2-1
|
|
|
|
|
|
|
|
- Update to 1.1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 31 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.1.1-1
|
|
|
|
|
|
|
|
- Update to 1.1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 31 2021 Debarshi Ray <rishi@fedoraproject.org> - 1.0.14-1
|
|
|
|
|
|
|
|
- Update to 1.0.14
|
|
|
|
- Update to 1.0.14
|
|
|
|
|
|
|
|
Resolves: #2006557
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.12-5
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
<
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.12-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 29 2021 Kalev Lember <klember@redhat.com> - 1.0.12-3
|
|
|
|
* Mon Mar 29 2021 Kalev Lember <klember@redhat.com> - 1.0.12-3
|
|
|
|
- Remove bzr, lzip and svn recommends as they are not common enough
|
|
|
|
- Remove bzr, lzip and svn recommends as they are not common enough
|
|
|
|