File lightdm-arctica-greeter-branding-openSUSE.spec of Package lightdm-arctica-greeter-branding-openSUSE
#
# spec file for package lightdm-arctica-greeter-branding-openSUSE
#
# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define lightdm_arctica_greeter_version %(rpm -q --queryformat "%%{version}" lightdm-arctica-greeter)
Name: lightdm-arctica-greeter-branding-openSUSE
Version: 1.2
Release: 0
Summary: openSUSE branding of lightdm-arctica-greeter
License: GPL-3.0-or-later
Group: System/X11/Displaymanagers
URL: https://github.com/ArcticaProject/arctica-greeter
Source0: 30_arctica-greeter-theme-openSUSE.gschema.override
Source1: lightdm-arctica-greeter-opensuse.png
BuildRequires: lightdm
BuildRequires: lightdm-arctica-greeter
BuildRequires: lightdm-arctica-greeter-branding-upstream
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
#!BuildIgnore: numix-icon-theme
# default background image
Requires: wallpaper-branding
# default gtk3 theme
Requires: gtk3-metatheme-greybird-geeko
Requires: lightdm-arctica-greeter = %{lightdm_arctica_greeter_version}
Provides: lightdm-arctica-greeter-branding = %{lightdm_arctica_greeter_version}
Conflicts: lightdm-arctica-greeter-branding = %{lightdm_arctica_greeter_version}
Supplements: (lightdm-arctica-greeter and branding-openSUSE)
BuildArch: noarch
%glib2_gsettings_schema_requires
%description
This package provides the openSUSE look and feel for
lightdm-arctica-greeter.
%prep
%build
cp %{_defaultlicensedir}/lightdm-arctica-greeter/COPYING .
%install
install -D -p -m 644 %{SOURCE0} %{buildroot}%{_datadir}/glib-2.0/schemas/30_arctica-greeter-theme-openSUSE.gschema.override
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/lightdm-arctica-greeter-opensuse.png
%files
%defattr(-,root,root)
%license COPYING
%{_datadir}/glib-2.0/schemas/30_arctica-greeter-theme-openSUSE.gschema.override
%{_datadir}/pixmaps/lightdm-arctica-greeter-opensuse.png
%changelog