Blame pantheon-session-settings.spec

cc165c9
Name:           pantheon-session-settings
cc165c9
Summary:        Pantheon session configuration files
99dc301
Version:        28.92
ca4e9f2
Release:        1%{?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
cc165c9
BuildRequires:  coreutils
cc165c9
cc165c9
143d54c
Requires:       cerbere >= 0.2.3
4621395
Requires:       gala
47b18e1
Requires:       gnome-keyring
cc165c9
Requires:       gnome-session
cc165c9
Requires:       gnome-settings-daemon
47b18e1
Requires:       orca
6461208
Requires:       pantheon-agent-geoclue2
6461208
Requires:       pantheon-agent-polkit
47b18e1
Requires:       xdg-user-dirs-gtk
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:       google-roboto-mono-fonts
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
%build
cc165c9
# Nothing to do
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
cc165c9
mkdir -p %{buildroot}/%{_datadir}/pantheon/applications
cc165c9
cp -p applications/defaults.list %{buildroot}/%{_datadir}/pantheon/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
cc165c9
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
cc165c9
%{_datadir}/gnome-session/sessions/pantheon.session
cc165c9
%{_datadir}/pantheon/
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
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
cc165c9