Install qgnomeplatform.env to gdm to automatically use it after we log in

This commit is contained in:
Jan Grulich 2016-02-25 09:49:33 +01:00
parent 7bd3f10ecc
commit 4524819abe
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/QGnomePlatform-0.1.tar.gz
/qgnomeplatform.env

View File

@ -9,13 +9,15 @@
Name: qgnomeplatform
Version: 0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Qt Platform Theme aimed to accommodate Gnome settings
License: LGPLv2+
URL: https://github.com/MartinBriza/QGnomePlatform
Source0: https://github.com/MartinBriza/QGnomePlatform/archive/0.1.tar.gz#/QGnomePlatform-%{version}.tar.gz
Source10: qgnomeplatform.env
# Upstream patches
BuildRequires: pkgconfig(gio-2.0)
@ -26,6 +28,7 @@ BuildRequires: libXrender-devel
BuildRequires: qt5-qtbase-devel >= %{qt5_ver}.0 qt5-qtbase-devel <= %{qt5_ver}.100
BuildRequires: qt5-qtbase-static
Requires: gdm
Requires: qt5-qtbase%{?_isa} = %{qt5_version}
%description
@ -50,13 +53,18 @@ make %{?_smp_mflags} -C %{_target_platform}
%install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
install -m 0644 -p -D %{SOURCE10} %{buildroot}%{_datadir}/gdm/env.d/qgnomeplatform.env
%files
%doc README.md
%license LICENSE
%{_datadir}/gdm/env.d/qgnomeplatform.env
%{_qt5_libdir}/qt5/plugins/platformthemes/libqgnomeplatform.so
%changelog
* Thu Feb 25 2016 Jan Grulich <jgrulich@redhat.com> - 0.1-2
- Install qgnomeplatform.env to gdm to automatically use it after we log in
* Tue Feb 16 2016 Jan Grulich <jgrulich@redhat.com> - 0.1-1
- First version

View File

@ -1 +1,2 @@
b99cc26a1cdd85dfcd1856890ff9e9c4 QGnomePlatform-0.1.tar.gz
a413c4fd00aaf988f28d64a6ae584f27 qgnomeplatform.env