Import elementary-greeter-6.1.0-1.el9

This commit is contained in:
Sofia Boldyreva 2023-03-16 18:35:38 +01:00
parent 0e3792b12c
commit a6e88f7758

View File

@ -1,197 +0,0 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.6)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
%global srcname greeter
%global appname io.elementary.greeter
Name: elementary-greeter
Summary: LightDM Login Screen for the elementary desktop
Version: 6.1.0
Release: %autorelease
License: GPLv3
URL: https://github.com/elementary/greeter
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
Source1: 40-%{appname}.conf
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
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-8)
BuildRequires: pkgconfig(mutter-cogl-8)
BuildRequires: pkgconfig(mutter-cogl-pango-8)
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 -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{appname}
# 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}.appdata.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}.appdata.xml
%changelog
* Tue Jun 07 2022 Fabio Valentini <decathorpe@gmail.com> 6.1.0-1
- Update to version 6.1.0; Fixes RHBZ#2084160
* Wed Mar 02 2022 Fabio Valentini <decathorpe@gmail.com> 6.0.2-1
- Update to version 6.0.2; Fixes RHBZ#2059400
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 18 2022 Fabio Valentini <decathorpe@gmail.com> 6.0.1-2
- Include upstream PR for mutter 42 / libmutter-10 support
* Tue Sep 28 2021 Fabio Valentini <decathorpe@gmail.com> 6.0.1-1
- Update to version 6.0.1
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> 6.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> 6.0.0-1
- Update to version 6.0.0
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 5.0.4-7.20210218.gita06ee94
- Bump to commit a06ee94 for wingpanel 3 support.
- Rebuilt for granite 6 soname bump.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 28 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.4-5
- Add backported patch to fix the compositor with libmutter-7.
* Thu Aug 27 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.4-4
- Include upstreamed patch for mutter 3.38 / libmutter-7 support.
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.4-1
- Update to version 5.0.4.
* Sun Apr 05 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.3-1
- Update to version 5.0.3.
* Fri Apr 03 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.2-220200402.git671dd75
- Bump to commit 671dd75.
* Wed Feb 26 2020 Fabio Valentini <decathorpe@gmail.com> - 5.0.2-1
- Update to version 5.0.2.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 01 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0.1-1
- Update to version 5.0.1.
* Wed Sep 11 2019 Fabio Valentini <decathorpe@gmail.com> - 5.0-1
- Update to version 5.0.
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Apr 26 2019 Fabio Valentini <decathorpe@gmail.com> - 3.3.1-3
- Hard-code GTK and icon theme to fix visual glitches.
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 07 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.1-1
- Update to version 3.3.1.
- Switch to upstreamed version of my GSettings fixes patch.
* Tue Oct 30 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-2
- Update GSettings patch to fix gnome-settings-daemon.
* Tue Oct 02 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
- Initial package renamed from pantheon-greeter.