diff --git a/.gitignore b/.gitignore index 0a9facc..9a83ba0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /QGnomePlatform-0.1.tar.gz +/qgnomeplatform.env diff --git a/qgnomeplatform.spec b/qgnomeplatform.spec index 5281ae8..3bb3606 100644 --- a/qgnomeplatform.spec +++ b/qgnomeplatform.spec @@ -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 - 0.1-2 +- Install qgnomeplatform.env to gdm to automatically use it after we log in + * Tue Feb 16 2016 Jan Grulich - 0.1-1 - First version diff --git a/sources b/sources index 11c7297..b14e770 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ b99cc26a1cdd85dfcd1856890ff9e9c4 QGnomePlatform-0.1.tar.gz +a413c4fd00aaf988f28d64a6ae584f27 qgnomeplatform.env