forked from pool/kde-gtk-config5
This commit is contained in:
committed by
Git OBS Bridge
parent
1c684a2418
commit
a57fae824a
@@ -23,9 +23,11 @@ Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Un
|
||||
License: LGPL-3.0+ and GPL-3.0+
|
||||
Group: System/GUI/KDE
|
||||
Url: https://projects.kde.org/projects/playground/base/kde-gtk-config/
|
||||
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
|
||||
Patch0: append5.diff
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: karchive-devel
|
||||
BuildRequires: kcmutils-devel
|
||||
@@ -38,6 +40,7 @@ BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
Conflicts: kde-gtk-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -54,7 +57,6 @@ Among its many features, it lets you:
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q -n kde-gtk-config-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||
@@ -63,6 +65,10 @@ Among its many features, it lets you:
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
install -Dpm 0755 %{SOURCE1} %{buildroot}%{_kf5_configdir}/env/kde_gtk_config.suse.sh
|
||||
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template
|
||||
install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.ini-kde4.template
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
@@ -70,6 +76,8 @@ Among its many features, it lets you:
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
%{_kf5_configdir}/env/kde_gtk_config.suse.sh
|
||||
%{_kf5_sharedir}/%{name}/
|
||||
%config %{_kf5_configdir}/cgcicon.knsrc
|
||||
%config %{_kf5_configdir}/cgctheme.knsrc
|
||||
%config %{_kf5_configdir}/cgcgtk3.knsrc
|
||||
|
Reference in New Issue
Block a user