|
|
71d1d7a |
%global srcname greeter
|
|
|
71d1d7a |
%global appname io.elementary.greeter
|
|
|
71d1d7a |
|
|
|
71d1d7a |
Name: elementary-greeter
|
|
|
71d1d7a |
Summary: LightDM Login Screen for the elementary desktop
|
|
|
07ca1c2 |
Version: 3.3.1
|
|
|
6a80070 |
Release: 2%{?dist}
|
|
|
71d1d7a |
License: GPLv3
|
|
|
71d1d7a |
|
|
|
71d1d7a |
URL: https://github.com/elementary/%{srcname}
|
|
|
71d1d7a |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
71d1d7a |
Source1: 40-%{appname}.conf
|
|
|
71d1d7a |
Source2: %{appname}.whitelist
|
|
|
71d1d7a |
|
|
|
07ca1c2 |
# Add upstreamed patch to fix ubuntu-specifc GSettings on fedora
|
|
|
07ca1c2 |
# https://github.com/elementary/greeter/pull/182
|
|
|
07ca1c2 |
Patch0: 00-gsettings-conditional-compilation.patch
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Set default wallpaper to the default location on fedora
|
|
|
71d1d7a |
Patch1: 01-set-default-wallpaper.patch
|
|
|
71d1d7a |
|
|
|
6a80070 |
# Hard-code default themes to "elementary" to fix visual glitches
|
|
|
6a80070 |
Patch2: 02-set-default-themes.patch
|
|
|
6a80070 |
|
|
|
71d1d7a |
BuildRequires: desktop-file-utils
|
|
|
71d1d7a |
BuildRequires: gettext
|
|
|
71d1d7a |
BuildRequires: meson
|
|
|
71d1d7a |
BuildRequires: vala
|
|
|
71d1d7a |
|
|
|
71d1d7a |
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gdk-x11-3.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gee-0.8)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gl)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(granite)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(liblightdm-gobject-1)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(mutter-clutter-2)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(mutter-cogl-2)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(mutter-cogl-pango-2)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(mutter-cogl-path-2)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(wingpanel-2.0)
|
|
|
71d1d7a |
BuildRequires: pkgconfig(x11)
|
|
|
71d1d7a |
|
|
|
71d1d7a |
Provides: pantheon-greeter = %{version}-%{release}
|
|
|
71d1d7a |
Obsoletes: pantheon-greeter < 3.2.0-7
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
Requires: lightdm%{?_isa}
|
|
|
71d1d7a |
Requires: wingpanel%{?_isa}
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Raleway font is used for interface elements
|
|
|
71d1d7a |
Requires: impallari-raleway-fonts
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Runtime requirement for numlock capture
|
|
|
71d1d7a |
Requires: numlockx
|
|
|
71d1d7a |
|
|
|
6a80070 |
# Requirements for default artwork
|
|
|
6a80070 |
Requires: elementary-icon-theme
|
|
|
6a80070 |
Requires: elementary-theme-gtk3
|
|
|
71d1d7a |
Requires: elementary-wallpapers
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# All LightDM greeters provide this
|
|
|
71d1d7a |
Provides: lightdm-greeter = 1.2
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Alternate, more descriptive names
|
|
|
71d1d7a |
Provides: lightdm-%{name} = %{version}-%{release}
|
|
|
71d1d7a |
Provides: lightdm-%{name}%{?_isa} = %{version}-%{release}
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%description
|
|
|
71d1d7a |
The elementary Greeter is a styled Login Screen for LightDM.
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%prep
|
|
|
71d1d7a |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%build
|
|
|
07ca1c2 |
%meson -Dubuntu-patched-gsd=false
|
|
|
71d1d7a |
%meson_build
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%install
|
|
|
71d1d7a |
%meson_install
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%find_lang %{appname}
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Install LightDM configuration file
|
|
|
71d1d7a |
mkdir -p %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d
|
|
|
71d1d7a |
install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d/
|
|
|
71d1d7a |
|
|
|
71d1d7a |
# Install wingpanel overrides for the greeter
|
|
|
71d1d7a |
mkdir -p %{buildroot}%{_sysconfdir}/wingpanel.d
|
|
|
71d1d7a |
install -pm 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/wingpanel.d
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%files -f %{appname}.lang
|
|
|
71d1d7a |
%doc README.md
|
|
|
71d1d7a |
%license LICENSE
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%config(noreplace) %{_sysconfdir}/lightdm/%{appname}.conf
|
|
|
71d1d7a |
%config(noreplace) %{_sysconfdir}/lightdm/lightdm.conf.d/40-%{appname}.conf
|
|
|
71d1d7a |
%config(noreplace) %{_sysconfdir}/wingpanel.d/%{appname}.whitelist
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%{_bindir}/%{appname}-compositor
|
|
|
71d1d7a |
%{_sbindir}/%{appname}
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%{_datadir}/xgreeters/%{appname}.desktop
|
|
|
71d1d7a |
|
|
|
71d1d7a |
|
|
|
71d1d7a |
%changelog
|
|
|
6a80070 |
* Fri Apr 26 2019 Fabio Valentini <decathorpe@gmail.com> - 3.3.1-2
|
|
|
6a80070 |
- Hard-code GTK and icon theme to fix visual glitches.
|
|
|
6a80070 |
|
|
|
07ca1c2 |
* Wed Nov 07 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.1-1
|
|
|
07ca1c2 |
- Update to version 3.3.1.
|
|
|
07ca1c2 |
- Switch to upstreamed version of my GSettings fixes patch.
|
|
|
07ca1c2 |
|
|
|
0d32016 |
* Tue Oct 30 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-2
|
|
|
0d32016 |
- Update GSettings patch to fix gnome-settings-daemon.
|
|
|
0d32016 |
|
|
|
71d1d7a |
* Tue Oct 02 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
|
|
|
71d1d7a |
- Initial package renamed from pantheon-greeter.
|
|
|
71d1d7a |
|