File opensuse-welcome.spec of Package opensuse-welcome

# spec file for package opensuse-welcome
# Copyright (c) 2024 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define __builder ninja
%define _name openSUSE-welcome

Name:           opensuse-welcome
Version:        0.1.9+git.55.08b0379
Release:        0
Summary:        Welcome utility for openSUSE
License:        GPL-3.0-or-later AND MIT
Group:          System/X11/Utilities
Source0:        %{_name}-%{version}.tar.xz
# Source file to produce
# REcommend the lang package based on installed locales
# the -lang package actually does not install the translations
# to a standard location, which results in the lang not having the
# relevant supplements added.
BuildRequires:  hicolor-icon-theme
BuildRequires:  hicolor-icon-theme-branding-openSUSE
BuildRequires:  libqt5-linguist
BuildRequires:  meson
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5WebChannel)
BuildRequires:  pkgconfig(Qt5WebEngine)
%include %{SOURCE99}


A welcome utility built to welcome new users to openSUSE.

%setup -q -n %{_name}-%{version}


%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}%{_datadir}/openSUSE-Welcome/*

%license LICENSE
%dir %{_datadir}/openSUSE-Welcome

%files lang

openSUSE Build Service is sponsored by