|
|
cc165c9 |
Name: pantheon-session-settings
|
|
|
cc165c9 |
Summary: Pantheon session configuration files
|
|
|
47b18e1 |
Version: 27.0
|
|
|
4621395 |
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 |
|
|
|
cc165c9 |
Requires: cerbere
|
|
|
4621395 |
Requires: gala
|
|
|
47b18e1 |
Requires: gnome-keyring
|
|
|
cc165c9 |
Requires: gnome-session
|
|
|
cc165c9 |
Requires: gnome-settings-daemon
|
|
|
47b18e1 |
Requires: orca
|
|
|
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}
|
|
|
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 |
|
|
|
cc165c9 |
rm autostart/cerbere.desktop
|
|
|
cc165c9 |
cp -p autostart/* %{buildroot}/%{_sysconfdir}/xdg/autostart/
|
|
|
cc165c9 |
ln -s %{_datadir}/applications/cerbere.desktop %{buildroot}/%{_sysconfdir}/xdg/autostart/cerbere.desktop
|
|
|
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
|
|
|
cc165c9 |
cp -p overrides/20-org.pantheon.desktop-interface.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 |
|
|
|
cc165c9 |
%files overrides
|
|
|
cc165c9 |
%{_datadir}/glib-2.0/schemas/20-org.pantheon.desktop-interface.gschema.override
|
|
|
cc165c9 |
|
|
|
cc165c9 |
|
|
|
cc165c9 |
%changelog
|
|
|
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 |
|