Blame pantheon-session-settings.spec

cc165c9
Name:           pantheon-session-settings
cc165c9
Summary:        Pantheon session configuration files
ff274a8
Version:        31.0
378d62f
Release:        2%{?dist}
cc165c9
License:        GPLv3
cc165c9
ed70cc1
URL:            https://github.com/decathorpe/%{name}
ed70cc1
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
cc165c9
cc165c9
BuildArch:      noarch
cc165c9
143d54c
Requires:       cerbere >= 0.2.3
4621395
Requires:       gala
378d62f
Requires:       gnome-disk-utility
47b18e1
Requires:       gnome-keyring
cc165c9
Requires:       gnome-session
ff274a8
Requires:       gnome-session-xsession
cc165c9
Requires:       gnome-settings-daemon
47b18e1
Requires:       orca
6461208
Requires:       pantheon-agent-geoclue2
6461208
Requires:       pantheon-agent-polkit
6c2cef0
Requires:       plank
47b18e1
Requires:       xdg-user-dirs-gtk
6c2cef0
Requires:       wingpanel
cc165c9
4621395
Obsoletes:      %{name}-wayland < 0.9.90-3
4621395
cc165c9
cc165c9
%description
cc165c9
Configuration files for the Pantheon desktop session.
cc165c9
cc165c9
cc165c9
%package        overrides
cc165c9
Summary:        Pantheon session default settings overrides
4621395
cc165c9
Requires:       %{name} = %{version}-%{release}
ca4e9f2
ca4e9f2
Requires:       elementary-icon-theme
ca4e9f2
Requires:       elementary-sound-theme
ca4e9f2
Requires:       elementary-theme
cc165c9
Requires:       open-sans-fonts
4621395
cc165c9
%description    overrides
cc165c9
Configuration files for the Pantheon desktop session.
cc165c9
cc165c9
This subpackage contains system-wide overrides for Pantheon-specific
cc165c9
default settings.
cc165c9
cc165c9
cc165c9
%prep
cc165c9
%autosetup
cc165c9
cc165c9
cc165c9
%install
cc165c9
# Copy / create autostart entries for the Pantheon session
cc165c9
mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart
cc165c9
cp -p autostart/* %{buildroot}/%{_sysconfdir}/xdg/autostart/
cc165c9
cc165c9
# Copy Pantheon gnome-session configuration files
cc165c9
mkdir -p %{buildroot}/%{_datadir}/gnome-session/sessions
cc165c9
cp -p gnome-session/* %{buildroot}/%{_datadir}/gnome-session/sessions/
cc165c9
cc165c9
# Copy list of default application overrides for Pantheon
ff274a8
mkdir -p %{buildroot}/%{_datadir}/applications
ff274a8
cp -p applications/pantheon-mimeapps.list %{buildroot}/%{_datadir}/applications
cc165c9
cc165c9
# Copy Pantheon xsession configuration file
cc165c9
mkdir -p %{buildroot}/%{_datadir}/xsessions
cc165c9
cp -p xsessions/pantheon.desktop %{buildroot}/%{_datadir}/xsessions/
cc165c9
cc165c9
# Copy Overrides schema to appropriate location
cc165c9
mkdir -p %{buildroot}/%{_datadir}/glib-2.0/schemas
ca4e9f2
cp -p overrides/20-io.elementary.desktop.gschema.override %{buildroot}/%{_datadir}/glib-2.0/schemas/
cc165c9
b1b71ad
# Install accountsservice extension files
b1b71ad
mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces
b1b71ad
cp -p accountsservice/io.elementary.pantheon.AccountsService.xml \
b1b71ad
    %{buildroot}/%{_datadir}/dbus-1/interfaces/
b1b71ad
b1b71ad
mkdir -p %{buildroot}/%{_datadir}/polkit-1/actions
b1b71ad
cp -p accountsservice/io.elementary.pantheon.AccountsService.policy \
b1b71ad
    %{buildroot}/%{_datadir}/polkit-1/actions/
b1b71ad
b1b71ad
mkdir -p %{buildroot}/%{_datadir}/accountsservice/interfaces
b1b71ad
ln -s %{_datadir}/dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml \
b1b71ad
    %{buildroot}/%{_datadir}/accountsservice/interfaces/io.elementary.pantheon.AccountsService.xml
cc165c9
ff274a8
cc165c9
# These scriptlets are needed because .override files don't trigger the schema recompilation
4621395
%postun    overrides
cc165c9
if [ $1 -eq 0 ] ; then
cc165c9
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
cc165c9
fi
cc165c9
4621395
%posttrans overrides
cc165c9
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
cc165c9
cc165c9
cc165c9
%files
cc165c9
%license COPYING
cc165c9
cc165c9
%config(noreplace) %{_sysconfdir}/xdg/autostart/*.desktop
cc165c9
ff274a8
%{_datadir}/applications/pantheon-mimeapps.list
b1b71ad
%{_datadir}/accountsservice/interfaces/io.elementary.pantheon.AccountsService.xml
b1b71ad
%{_datadir}/dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml
cc165c9
%{_datadir}/gnome-session/sessions/pantheon.session
b1b71ad
%{_datadir}/polkit-1/actions/io.elementary.pantheon.AccountsService.policy
cc165c9
%{_datadir}/xsessions/pantheon.desktop
cc165c9
11b2057
%files overrides
ca4e9f2
%{_datadir}/glib-2.0/schemas/20-io.elementary.desktop.gschema.override
cc165c9
cc165c9
cc165c9
%changelog
378d62f
* Wed Dec 18 2019 Fabio Valentini <decathorpe@gmail.com> - 31.0-2
378d62f
- Include missing Requires: gnome-disk-utility.
378d62f
ff274a8
* Mon Oct 28 2019 Fabio Valentini <decathorpe@gmail.com> - 31.0-1
ff274a8
- Update to version 31.0.
ff274a8
b1b71ad
* Sat Sep 07 2019 Fabio Valentini <decathorpe@gmail.com> - 30.92-1
b1b71ad
- Update to version 30.92.
b1b71ad
b1b71ad
* Wed Sep 04 2019 Fabio Valentini <decathorpe@gmail.com> - 30.91-1
b1b71ad
- Update to version 30.91.
b1b71ad
b1b71ad
* Mon Sep 02 2019 Fabio Valentini <decathorpe@gmail.com> - 30.90-1
b1b71ad
- Update to version 30.90.
b1b71ad
429585d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 30.1-2
429585d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
429585d
be859a2
* Sat Jul 20 2019 Fabio Valentini <decathorpe@gmail.com> - 30.1-1
be859a2
- Update to version 30.1.
be859a2
6c2cef0
* Fri May 10 2019 Fabio Valentini <decathorpe@gmail.com> - 30.0-1
6c2cef0
- Update to version 30.0.
6c2cef0
a253520
* Sat Feb 23 2019 Fabio Valentini <decathorpe@gmail.com> - 29.90-1
a253520
- Update to version 29.90.
a253520
efdf9c3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 29.0-2
efdf9c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
efdf9c3
b0743a1
* Sat Oct 13 2018 Fabio Valentini <decathorpe@gmail.com> - 29.0-1
b0743a1
- Update to version 29.0.
b0743a1
99dc301
* Wed Sep 12 2018 Fabio Valentini <decathorpe@gmail.com> - 28.92-1
99dc301
- Update to version 28.92.
99dc301
ca4e9f2
* Tue Aug 07 2018 Fabio Valentini <decathorpe@gmail.com> - 28.91-1
ca4e9f2
- Update to version 28.91.
ca4e9f2
532d148
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 28.90-2
532d148
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
532d148
143d54c
* Sun Jun 03 2018 Fabio Valentini <decathorpe@gmail.com> - 28.90-1
143d54c
- Update to version 28.90.
143d54c
6461208
* Tue May 29 2018 Fabio Valentini <decathorpe@gmail.com> - 28.1-2
6461208
- Add Requires on Pantheon polkit and geoclue 2 agents.
6461208
ae88903
* Sun May 13 2018 Fabio Valentini <decathorpe@gmail.com> - 28.1-1
ae88903
- Update to version 28.1.
ae88903
11b2057
* Sat May 12 2018 Fabio Valentini <decathorpe@gmail.com> - 28.0-1
11b2057
- Update to version 28.0.
11b2057
af12e77
* Thu Mar 08 2018 Fabio Valentini <decathorpe@gmail.com> - 27.90-1
af12e77
- Update to version 27.90.
af12e77
c222b85
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 27.0-2
c222b85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c222b85
47b18e1
* Sat Nov 11 2017 Fabio Valentini <decathorpe@gmail.com> - 27.0-1
47b18e1
- Update to version 27.0.
47b18e1
4621395
* Tue Aug 29 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.91-1
4621395
- Update to version 0.9.91.
4621395
3ec3cbf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.90-2
3ec3cbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ec3cbf
ed70cc1
* Sun Jun 18 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.90-1
ed70cc1
- Update to version 0.9.90.
ed70cc1
8f5a1e0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
8f5a1e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8f5a1e0
cc165c9
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.2-1
cc165c9
- Update to version 0.9.2.
cc165c9
cc165c9
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com>
cc165c9
- Fix License tag to match upstream license.
cc165c9
cc165c9
* Sat Jan 21 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9.1-1
cc165c9
- Update to version 0.9.1.
cc165c9
cc165c9
* Fri Jan 20 2017 Fabio Valentini <decathorpe@gmail.com> - 0.9-1
cc165c9
- Initial package.
cc165c9