Import pantheon-session-settings-35.0-1.el9

This commit is contained in:
Sofia Boldyreva 2023-03-17 20:42:19 +01:00
commit 2f96d1c653
3 changed files with 257 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/session-settings-35.0.tar.gz

View File

@ -0,0 +1 @@
066ed25d799f4082597a0e1b31288df3eda5a924 SOURCES/session-settings-35.0.tar.gz

View File

@ -0,0 +1,255 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.5)
%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 session-settings
Name: pantheon-session-settings
Summary: Pantheon session configuration files
Version: 35.0
Release: %autorelease
License: GPLv3
URL: https://pagure.io/pantheon-fedora/session-settings
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
Requires: elementary-settings-daemon
Requires: gala
Requires: gnome-disk-utility
Requires: gnome-keyring
Requires: gnome-session
Requires: gnome-session-xsession
Requires: gnome-settings-daemon
Requires: orca
Requires: pantheon-agent-geoclue2
Requires: pantheon-agent-polkit
Requires: plank
Requires: xdg-user-dirs-gtk
Requires: wingpanel
# experimental wayland session is not provided anymore
Obsoletes: %{name}-wayland < 0.9.90-3
# cerbere is obsolete and retired on fedora 32+
Obsoletes: cerbere < 2.5.0-5
# merged overrides into main package on fedora 34
Obsoletes: %{name}-overrides < 33.91-1
Provides: %{name}-overrides = %{version}-%{release}
# default fonts, icons, sounds, and GTK theme
Requires: elementary-icon-theme
Requires: elementary-sound-theme
Requires: elementary-theme
Requires: open-sans-fonts
%description
Configuration files and settings overrides for the Pantheon desktop session.
%prep
%autosetup -n %{srcname}-%{version} -p1
%install
# copy / create autostart entries for the Pantheon session
mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart
cp -p autostart/* %{buildroot}/%{_sysconfdir}/xdg/autostart/
# copy Pantheon gnome-session configuration files
mkdir -p %{buildroot}/%{_datadir}/gnome-session/sessions
cp -p gnome-session/* %{buildroot}/%{_datadir}/gnome-session/sessions/
# copy list of default application overrides for Pantheon
mkdir -p %{buildroot}/%{_datadir}/applications
cp -p applications/pantheon-mimeapps.list %{buildroot}/%{_datadir}/applications
# copy Pantheon xsession configuration file
mkdir -p %{buildroot}/%{_datadir}/xsessions
cp -p xsessions/pantheon.desktop %{buildroot}/%{_datadir}/xsessions/
# copy Overrides schema to appropriate location
mkdir -p %{buildroot}/%{_datadir}/glib-2.0/schemas
cp -p overrides/io.elementary.desktop.gschema.override %{buildroot}/%{_datadir}/glib-2.0/schemas/
#iInstall accountsservice extension files
mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces
cp -p accountsservice/io.elementary.pantheon.AccountsService.xml \
%{buildroot}/%{_datadir}/dbus-1/interfaces/
mkdir -p %{buildroot}/%{_datadir}/polkit-1/actions
cp -p accountsservice/io.elementary.pantheon.AccountsService.policy \
%{buildroot}/%{_datadir}/polkit-1/actions/
mkdir -p %{buildroot}/%{_datadir}/accountsservice/interfaces
ln -s ../../dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml \
%{buildroot}/%{_datadir}/accountsservice/interfaces/io.elementary.pantheon.AccountsService.xml
# these scriptlets are apparently still necessary, because
# .override files don't seem to trigger schema recompilation
%postun
if [ $1 -eq 0 ] ; then
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files
%license COPYING
%doc README.md NEWS.md
%config(noreplace) %{_sysconfdir}/xdg/autostart/*.desktop
%{_datadir}/applications/pantheon-mimeapps.list
%{_datadir}/accountsservice/interfaces/io.elementary.pantheon.AccountsService.xml
%{_datadir}/dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml
%{_datadir}/glib-2.0/schemas/io.elementary.desktop.gschema.override
%{_datadir}/gnome-session/sessions/pantheon.session
%{_datadir}/polkit-1/actions/io.elementary.pantheon.AccountsService.policy
%{_datadir}/xsessions/pantheon.desktop
%changelog
* Mon Mar 14 2022 Fabio Valentini <decathorpe@gmail.com> 35.0-1
- Update to version 35.0; Fixes RHBZ#2041420
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 34.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jul 31 2021 Fabio Valentini <decathorpe@gmail.com> - 34.1-3
- Ensure that accountsservice interface extension is installed correctly.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 34.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 14 2021 Fabio Valentini <decathorpe@gmail.com> - 34.1-1
- Update to version 34.1.
* Thu Mar 11 2021 Fabio Valentini <decathorpe@gmail.com> - 33.93-2
- Add dependency on new elementary-settings-daemon session component.
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 33.93-1
- Update to version 33.93.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 33.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Jan 23 2021 Fabio Valentini <decathorpe@gmail.com> - 33.91-1
- Update to version 33.91.
- Merge overrides into main package.
* Mon Aug 31 2020 Fabio Valentini <decathorpe@gmail.com> - 33.1-1
- Update to version 33.1.
* Sun Aug 09 2020 Fabio Valentini <decathorpe@gmail.com> - 32.2-1
- Update to version 32.2.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 32.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Apr 30 2020 Fabio Valentini <decathorpe@gmail.com> - 32.1-1
- Update to version 32.1.
* Tue Mar 03 2020 Fabio Valentini <decathorpe@gmail.com> - 32.0-1
- Update to version 32.0.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 31.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 18 2019 Fabio Valentini <decathorpe@gmail.com> - 31.0-2
- Include missing Requires: gnome-disk-utility.
* Mon Oct 28 2019 Fabio Valentini <decathorpe@gmail.com> - 31.0-1
- Update to version 31.0.
* Sat Sep 07 2019 Fabio Valentini <decathorpe@gmail.com> - 30.92-1
- Update to version 30.92.
* Wed Sep 04 2019 Fabio Valentini <decathorpe@gmail.com> - 30.91-1
- Update to version 30.91.
* Mon Sep 02 2019 Fabio Valentini <decathorpe@gmail.com> - 30.90-1
- Update to version 30.90.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 30.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jul 20 2019 Fabio Valentini <decathorpe@gmail.com> - 30.1-1
- Update to version 30.1.
* Fri May 10 2019 Fabio Valentini <decathorpe@gmail.com> - 30.0-1
- Update to version 30.0.
* Sat Feb 23 2019 Fabio Valentini <decathorpe@gmail.com> - 29.90-1
- Update to version 29.90.
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 29.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Oct 13 2018 Fabio Valentini <decathorpe@gmail.com> - 29.0-1
- Update to version 29.0.
* Wed Sep 12 2018 Fabio Valentini <decathorpe@gmail.com> - 28.92-1
- Update to version 28.92.
* Tue Aug 07 2018 Fabio Valentini <decathorpe@gmail.com> - 28.91-1
- Update to version 28.91.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 28.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jun 03 2018 Fabio Valentini <decathorpe@gmail.com> - 28.90-1
- Update to version 28.90.
* Tue May 29 2018 Fabio Valentini <decathorpe@gmail.com> - 28.1-2
- Add Requires on Pantheon polkit and geoclue 2 agents.
* Sun May 13 2018 Fabio Valentini <decathorpe@gmail.com> - 28.1-1
- Update to version 28.1.
* Sat May 12 2018 Fabio Valentini <decathorpe@gmail.com> - 28.0-1
- Update to version 28.0.
* Thu Mar 08 2018 Fabio Valentini <decathorpe@gmail.com> - 27.90-1
- Update to version 27.90.
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 27.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Nov 11 2017 Fabio Valentini <decathorpe@gmail.com> - 27.0-1
- Update to version 27.0.
* Tue Aug 29 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.91-1
- Update to version 0.9.91.
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 18 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.90-1
- Update to version 0.9.90.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.2-1
- Update to version 0.9.2.
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com>
- Fix License tag to match upstream license.
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.1-1
- Update to version 0.9.1.
* Fri Jan 20 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9-1
- Initial package.