Files
Raboneko 9b9d1c0d91 bump: anki-bin discord-canary-openasar discord-canary discord-openasar discord-ptb-openasar discord-ptb discord fontviewer komikku nekoray ruffle-nightly elementary-appcenter elementary-camera elementary-capnet-assist elementary-code elementary-files elementary-greeter elementary-icon-theme elementary-notifications elementary-onboarding elementary-photos elementary-screenshot-tool elementary-settings-daemon elementary-shortcut-overlay elementary-sideload elementary-terminal elementary-theme gala granite-7 pantheon-agent-polkit switchboard-plug-about switchboard-plug-applications switchboard-plug-bluetooth switchboard-plug-datetime switchboard-plug-display switchboard-plug-keyboard switchboard-plug-locale switchboard-plug-mouse-touchpad switchboard-plug-networking switchboard-plug-onlineaccounts switchboard-plug-pantheon-shell switchboard-plug-parental-controls switchboard-plug-power switchboard-plug-printers switchboard-plug-security-privacy switchboard-plug-sharing switchboard-plug-sound switchboard-plug-tweaks switchboard-plug-useraccounts switchboard-plug-wacom switchboard wingpanel-applications-menu wingpanel-indicator-power wingpanel-indicator-sound wingpanel xdg-desktop-portal-pantheon lomiri-system-settings lomiri-url-dispatcher bun-bin zed-preview zed maple-fonts heroic-games-launcher inputplumber osu-lazer prismlauncher-qt5 chezmoi golang-github-xyproto-textoutput golang-github-xyproto-vt100 nimble python-pip-system-certs python-pywal16 zig-master-bootstrap libhelium tdlib-nightly sass uutils-coreutils helium-gtk-theme arduino-cli rust-mise electron yt-dlp-git
2025-06-15 14:51:44 +00:00

115 lines
3.1 KiB
RPMSpec

%global srcname greeter
%global appname io.elementary.greeter
Name: elementary-greeter
Summary: LightDM Login Screen for the elementary desktop
Version: 8.0.1
Release: 1%?dist
License: GPL-3.0
URL: https://github.com/elementary/greeter
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
Source1: 40-%{appname}.conf
Patch0: https://github.com/elementary/greeter/compare/7.0.0..42320c266395606b0c20782603e7407124c3f7a4.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: fdupes
BuildRequires: mesa-libEGL-devel
BuildRequires: pkgconfig(accountsservice)
BuildRequires: pkgconfig(clutter-gtk-1.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(granite) >= 5.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(liblightdm-gobject-1)
BuildRequires: pkgconfig(mutter-clutter-14)
BuildRequires: pkgconfig(mutter-cogl-14)
BuildRequires: pkgconfig(mutter-cogl-pango-14)
BuildRequires: pkgconfig(x11)
Provides: pantheon-greeter = %{version}-%{release}
Obsoletes: pantheon-greeter < 3.2.0-7
Requires: lightdm%{?_isa}
Requires: wingpanel%{?_isa}
# runtime requirement for numlock capture
Requires: numlockx
# requirements for default artwork
Requires: elementary-icon-theme
Requires: elementary-theme-gtk3
Requires: elementary-wallpapers
# requirements for accountsservice extension
Requires: pantheon-session-settings >= 30.90
# all LightDM greeters provide this
Provides: lightdm-greeter = 1.2
# alternate descriptive names
Provides: lightdm-%{name} = %{version}-%{release}
Provides: lightdm-%{name}%{?_isa} = %{version}-%{release}
%description
The elementary Greeter is a styled Login Screen for LightDM.
%prep
%autosetup -p1 -n %{srcname}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{appname}
%fdupes %buildroot%_datadir/icons/hicolor/
# install LightDM configuration file
mkdir -p %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d
install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d/
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
%files -f %{appname}.lang
%doc README.md
%license LICENSE
%config(noreplace) %{_sysconfdir}/lightdm/%{appname}.conf
%config(noreplace) %{_sysconfdir}/lightdm/lightdm.conf.d/40-%{appname}.conf
%{_bindir}/%{appname}-compositor
%{_sbindir}/%{appname}
%{_datadir}/xgreeters/%{appname}.desktop
%{_datadir}/metainfo/%{appname}.metainfo.xml
%{_datadir}/lightdm/lightdm.conf.d/40-%appname.conf
%changelog
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com> - 6.1.0-1
- Repackaged for Terra