2020-08-27 16:09:02 +00:00
|
|
|
# Use bundled deps as we don't ship the exact right versions for all the
|
|
|
|
# required rust libraries
|
2023-04-27 19:13:56 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
%global bundled_rust_deps 1
|
|
|
|
%else
|
2022-11-18 19:48:58 +00:00
|
|
|
%global bundled_rust_deps 0
|
2023-04-27 19:13:56 +00:00
|
|
|
%endif
|
2020-08-27 16:09:02 +00:00
|
|
|
|
2021-02-17 18:54:24 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
2022-12-02 16:15:49 +00:00
|
|
|
%if 0%{?bundled_rust_deps}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%endif
|
|
|
|
|
2020-08-27 16:09:02 +00:00
|
|
|
Name: gnome-tour
|
2023-03-21 13:01:38 +00:00
|
|
|
Version: 44.0
|
2023-07-19 23:50:37 +00:00
|
|
|
Release: 3%{?dist}
|
2020-08-27 16:09:02 +00:00
|
|
|
Summary: GNOME Tour and Greeter
|
|
|
|
|
|
|
|
# * gnome-tour source code is GPLv3+
|
2021-02-17 21:09:00 +00:00
|
|
|
# * welcome-fedora.svg is CC-BY-SA
|
2020-08-27 16:09:02 +00:00
|
|
|
License: GPLv3+ and CC-BY-SA
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-tour
|
2023-03-21 13:01:38 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{tarball_version}.tar.xz
|
2020-08-27 16:09:02 +00:00
|
|
|
# https://pagure.io/fedora-workstation/issue/175
|
2021-02-17 21:09:00 +00:00
|
|
|
Source1: welcome-fedora.svg
|
2020-08-27 16:09:02 +00:00
|
|
|
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
2022-02-14 14:14:01 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4)
|
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
2020-08-27 16:09:02 +00:00
|
|
|
BuildRequires: /usr/bin/appstream-util
|
|
|
|
BuildRequires: /usr/bin/desktop-file-validate
|
|
|
|
|
|
|
|
%if 0%{?bundled_rust_deps}
|
|
|
|
BuildRequires: cargo
|
|
|
|
BuildRequires: rust
|
|
|
|
%else
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?bundled_rust_deps}
|
2023-04-27 19:13:56 +00:00
|
|
|
# bundled crates list updated for gnome-tour 44
|
|
|
|
Provides: bundled(crate(aho-corasick/default)) = 0.7.20
|
|
|
|
Provides: bundled(crate(anyhow/default)) = 1.0.70
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(atty/default)) = 0.2.14
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(autocfg/default)) = 1.1.0
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(bitflags/default)) = 1.3.2
|
|
|
|
Provides: bundled(crate(block/default)) = 0.1.6
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(cairo-rs/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(cairo-sys-rs/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(cc/default)) = 1.0.79
|
|
|
|
Provides: bundled(crate(cfg-expr/default)) = 0.11.0
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(cfg-if/default)) = 1.0.0
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(env_logger/default)) = 0.7.1
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(field-offset/default)) = 0.3.5
|
|
|
|
Provides: bundled(crate(futures-channel/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-core/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-executor/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-io/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-macro/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-task/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(futures-util/default)) = 0.3.27
|
|
|
|
Provides: bundled(crate(gdk-pixbuf/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(gdk-pixbuf-sys/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(gdk4/default)) = 0.6.3
|
|
|
|
Provides: bundled(crate(gdk4-sys/default)) = 0.6.3
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(gettext-rs/default)) = 0.7.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(gettext-sys/default)) = 0.21.3
|
|
|
|
Provides: bundled(crate(gio/default)) = 0.17.4
|
|
|
|
Provides: bundled(crate(gio-sys/default)) = 0.17.4
|
|
|
|
Provides: bundled(crate(glib/default)) = 0.17.5
|
|
|
|
Provides: bundled(crate(glib-macros/default)) = 0.17.5
|
|
|
|
Provides: bundled(crate(glib-sys/default)) = 0.17.4
|
|
|
|
Provides: bundled(crate(gobject-sys/default)) = 0.17.4
|
|
|
|
Provides: bundled(crate(graphene-rs/default)) = 0.17.1
|
|
|
|
Provides: bundled(crate(graphene-sys/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(gsk4/default)) = 0.6.3
|
|
|
|
Provides: bundled(crate(gsk4-sys/default)) = 0.6.3
|
|
|
|
Provides: bundled(crate(gtk4/default)) = 0.6.4
|
|
|
|
Provides: bundled(crate(gtk4-macros/default)) = 0.6.3
|
|
|
|
Provides: bundled(crate(gtk4-sys/default)) = 0.6.3
|
|
|
|
Provides: bundled(crate(hashbrown/default)) = 0.12.3
|
|
|
|
Provides: bundled(crate(heck/default)) = 0.4.1
|
|
|
|
Provides: bundled(crate(hermit-abi/default)) = 0.1.19
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(humantime/default)) = 1.3.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(indexmap/default)) = 1.9.2
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(lazy_static/default)) = 1.4.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(libadwaita/default)) = 0.3.1
|
|
|
|
Provides: bundled(crate(libadwaita-sys/default)) = 0.3.0
|
|
|
|
Provides: bundled(crate(libc/default)) = 0.2.140
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(locale_config/default)) = 0.3.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(log/default)) = 0.4.17
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(malloc_buf/default)) = 0.0.6
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(memchr/default)) = 2.5.0
|
|
|
|
Provides: bundled(crate(memoffset/default)) = 0.8.0
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(objc/default)) = 0.2.7
|
|
|
|
Provides: bundled(crate(objc-foundation/default)) = 0.1.1
|
|
|
|
Provides: bundled(crate(objc_id/default)) = 0.1.1
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(once_cell/default)) = 1.17.1
|
|
|
|
Provides: bundled(crate(pango/default)) = 0.17.4
|
|
|
|
Provides: bundled(crate(pango-sys/default)) = 0.17.0
|
|
|
|
Provides: bundled(crate(pin-project-lite/default)) = 0.2.9
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(pin-utils/default)) = 0.1.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(pkg-config/default)) = 0.3.26
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(pretty_env_logger/default)) = 0.4.0
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(proc-macro-crate/default)) = 1.3.1
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(proc-macro-error/default)) = 1.0.4
|
|
|
|
Provides: bundled(crate(proc-macro-error-attr/default)) = 1.0.4
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(proc-macro2/default)) = 1.0.52
|
2020-08-27 16:09:02 +00:00
|
|
|
Provides: bundled(crate(quick-error/default)) = 1.2.3
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(quote/default)) = 1.0.26
|
|
|
|
Provides: bundled(crate(regex/default)) = 1.7.1
|
|
|
|
Provides: bundled(crate(regex-syntax/default)) = 0.6.28
|
|
|
|
Provides: bundled(crate(rustc_version/default)) = 0.4.0
|
|
|
|
Provides: bundled(crate(semver/default)) = 1.0.17
|
|
|
|
Provides: bundled(crate(serde/default)) = 1.0.157
|
|
|
|
Provides: bundled(crate(slab/default)) = 0.4.8
|
|
|
|
Provides: bundled(crate(smallvec/default)) = 1.10.0
|
|
|
|
Provides: bundled(crate(syn/default)) = 1.0.109
|
|
|
|
Provides: bundled(crate(syn/default)) = 2.0.2
|
|
|
|
Provides: bundled(crate(system-deps/default)) = 6.0.3
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(temp-dir/default)) = 0.1.11
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(termcolor/default)) = 1.2.0
|
|
|
|
Provides: bundled(crate(thiserror/default)) = 1.0.40
|
|
|
|
Provides: bundled(crate(thiserror-impl/default)) = 1.0.40
|
|
|
|
Provides: bundled(crate(toml/default)) = 0.5.11
|
|
|
|
Provides: bundled(crate(toml_datetime/default)) = 0.6.1
|
|
|
|
Provides: bundled(crate(toml_edit/default)) = 0.19.7
|
|
|
|
Provides: bundled(crate(unicode-ident/default)) = 1.0.8
|
|
|
|
Provides: bundled(crate(version-compare/default)) = 0.1.1
|
2022-02-14 14:14:01 +00:00
|
|
|
Provides: bundled(crate(version_check/default)) = 0.9.4
|
2023-04-27 19:13:56 +00:00
|
|
|
Provides: bundled(crate(winnow/default)) = 0.3.6
|
2020-08-27 16:09:02 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
A guided tour and greeter for GNOME.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-02-17 18:54:24 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2020-08-27 16:09:02 +00:00
|
|
|
|
2023-04-27 19:13:56 +00:00
|
|
|
%if 0%{?fedora}
|
2021-02-17 21:09:00 +00:00
|
|
|
# Install Fedora branding
|
2023-03-21 13:01:38 +00:00
|
|
|
install -p %{SOURCE1} data/resources/assets/welcome.svg
|
2023-04-27 19:13:56 +00:00
|
|
|
%endif
|
2021-02-17 21:09:00 +00:00
|
|
|
|
2020-08-27 16:09:02 +00:00
|
|
|
%if ! 0%{?bundled_rust_deps}
|
|
|
|
sed -i -e '/\(build_by_default\|install\)/s/true/false/' src/meson.build
|
|
|
|
%cargo_prep
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?bundled_rust_deps}
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2021-02-17 21:09:00 +00:00
|
|
|
%meson
|
2020-08-27 16:09:02 +00:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%if ! 0%{?bundled_rust_deps}
|
|
|
|
%cargo_build
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%if ! 0%{?bundled_rust_deps}
|
|
|
|
%cargo_install
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%find_lang gnome-tour
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2022-02-14 14:14:01 +00:00
|
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
2020-08-27 16:09:02 +00:00
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Tour.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%files -f gnome-tour.lang
|
|
|
|
%license LICENSE.md
|
|
|
|
%doc NEWS README.md
|
|
|
|
%{_bindir}/gnome-tour
|
2022-02-14 14:14:01 +00:00
|
|
|
%{_datadir}/gnome-tour/
|
2020-08-27 16:09:02 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Tour.desktop
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Tour.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Tour-symbolic.svg
|
2022-02-14 14:14:01 +00:00
|
|
|
%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
2020-08-27 16:09:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-19 23:50:37 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 44.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-27 19:13:56 +00:00
|
|
|
* Thu Apr 27 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 44.0-2
|
|
|
|
- Enable bundled deps in RHEL builds
|
|
|
|
- Update bundled provides
|
|
|
|
- Only use Fedora branding in Fedora builds
|
|
|
|
|
2023-03-21 13:01:38 +00:00
|
|
|
* Tue Mar 21 2023 David King <amigadave@amigadave.com> - 44.0-1
|
|
|
|
- Update to 44.0
|
|
|
|
|
2023-03-06 11:14:30 +00:00
|
|
|
* Mon Mar 06 2023 Kalev Lember <klember@redhat.com> - 43.0-5
|
|
|
|
- Rebuilt for rust-gtk4 0.4.9
|
|
|
|
|
2023-02-05 18:32:02 +00:00
|
|
|
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 43.0-4
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
|
2023-01-19 05:41:44 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-18 19:48:58 +00:00
|
|
|
* Fri Nov 18 2022 Kalev Lember <klember@redhat.com> - 43.0-2
|
|
|
|
- Switch to packaged rust deps
|
|
|
|
|
2022-09-20 16:43:48 +00:00
|
|
|
* Tue Sep 20 2022 Kalev Lember <klember@redhat.com> - 43.0-1
|
|
|
|
- Update to 43.0
|
|
|
|
|
2022-08-08 20:59:53 +00:00
|
|
|
* Mon Aug 08 2022 Kalev Lember <klember@redhat.com> - 43~beta-1
|
|
|
|
- Update to 43.beta
|
|
|
|
|
2022-07-21 07:05:41 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 42.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-03-19 18:15:15 +00:00
|
|
|
* Sat Mar 19 2022 David King <amigadave@amigadave.com> - 42.0-1
|
|
|
|
- Update to 42.0
|
|
|
|
|
2022-02-14 14:14:01 +00:00
|
|
|
* Mon Feb 14 2022 David King <amigadave@amigadave.com> - 42~beta-1
|
|
|
|
- Update to 42.beta
|
|
|
|
|
2022-01-20 06:47:27 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 41~rc-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-09-08 20:43:39 +00:00
|
|
|
* Wed Sep 08 2021 Kalev Lember <klember@redhat.com> - 41~rc-1
|
|
|
|
- Update to 41.rc
|
|
|
|
|
2021-07-22 02:24:07 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-27 17:53:17 +00:00
|
|
|
* Tue Apr 27 2021 Kalev Lember <klember@redhat.com> - 40.0-2
|
|
|
|
- Add missing obsoletes for gnome-getting-started-docs-hu (#1954117)
|
|
|
|
|
2021-03-23 16:36:59 +00:00
|
|
|
* Tue Mar 23 2021 Kalev Lember <klember@redhat.com> - 40.0-1
|
|
|
|
- Update to 40.0
|
|
|
|
|
2021-03-17 16:12:44 +00:00
|
|
|
* Wed Mar 17 2021 Kalev Lember <klember@redhat.com> - 40~beta-5
|
|
|
|
- Update the fedora logo in welcome image (#1940041)
|
|
|
|
|
2021-02-23 09:42:48 +00:00
|
|
|
* Tue Feb 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 40~beta-4
|
|
|
|
- Obsolete all language-specific gnome-getting-started-docs subpackages
|
|
|
|
|
2021-02-19 17:16:04 +00:00
|
|
|
* Fri Feb 19 2021 Kalev Lember <klember@redhat.com> - 40~beta-3
|
|
|
|
- Obsolete gnome-getting-started-docs
|
|
|
|
|
2021-02-17 21:09:00 +00:00
|
|
|
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 40~beta-2
|
|
|
|
- New welcome image for Fedora branding (thanks, jimmac!)
|
|
|
|
|
2021-02-17 18:54:24 +00:00
|
|
|
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
|
|
|
|
- Update to 40.beta
|
|
|
|
|
2021-01-26 08:48:37 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-20 10:54:16 +00:00
|
|
|
* Tue Oct 20 2020 Kalev Lember <klember@redhat.com> - 3.38.0-2
|
|
|
|
- Add missing gstreamer1-plugins-good-gtk dep (#1889657)
|
|
|
|
|
2020-09-16 13:30:55 +00:00
|
|
|
* Wed Sep 16 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
|
|
|
|
- Update to 3.38.0
|
|
|
|
|
2020-09-14 12:34:12 +00:00
|
|
|
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 3.37.92-2
|
|
|
|
- Use a lower res video to improve the layout (thanks jimmac!)
|
|
|
|
|
2020-09-08 21:56:30 +00:00
|
|
|
* Tue Sep 08 2020 Kalev Lember <klember@redhat.com> - 3.37.92-1
|
|
|
|
- Update to 3.37.92
|
|
|
|
|
2020-08-27 16:09:02 +00:00
|
|
|
* Thu Aug 27 2020 Kalev Lember <klember@redhat.com> - 3.37.91-2
|
|
|
|
- Add provides for bundled rust crates (#1873108)
|
|
|
|
- Clarify licensing for bundled rust crates (#1873108)
|
|
|
|
|
|
|
|
* Thu Aug 27 2020 Kalev Lember <klember@redhat.com> - 3.37.91-1
|
|
|
|
- Initial Fedora packaging
|