1
0

osc copypac from project:KDE:Unstable:Frameworks package:kde-gtk-config5 revision:50

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kde-gtk-config5?expand=0&rev=1
This commit is contained in:
2016-09-15 09:14:02 +00:00
committed by Git OBS Bridge
parent 27778c920d
commit 9e56b2f972
8 changed files with 135 additions and 89 deletions

View File

@@ -18,7 +18,7 @@
%bcond_without lang
Name: kde-gtk-config5
Version: 5.7.4
Version: 5.6.0
Release: 0
Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE
License: LGPL-3.0+ and GPL-3.0+
@@ -28,6 +28,7 @@ Source1: kde_gtk_config.suse.sh
Source2: gtkrc-2.0-kde4.template
Source3: gtk3-settings.ini-kde4.template
Source: kde-gtk-config-%{version}.tar.xz
Source99: kde-gtk-config5-rpmlintrc
BuildRequires: extra-cmake-modules >= 0.0.9
BuildRequires: kf5-filesystem
BuildRequires: xz
@@ -73,14 +74,11 @@ Among its many features, it lets you:
%setup -q -n kde-gtk-config-%{version}
%build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
%make_jobs
%install
%kf5_makeinstall -C build
%if %{with lang}
%kf5_find_lang
%endif
install -Dpm 0755 %{SOURCE1} %{buildroot}%{_kf5_configdir}/plasma-workspace/env/kde_gtk_config.suse.sh
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template
@@ -105,7 +103,9 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.
%{_kf5_sharedir}/icons/hicolor/*/*/*.*
%if %{with lang}
%files lang -f %{name}.lang
%files lang
%defattr(-,root,root)
%{_kf5_localedir}/
%endif
%changelog