]> git.pld-linux.org Git - packages/kp5-kde-gtk-config.git/blame - kp5-kde-gtk-config.spec
- updated to 5.22.1
[packages/kp5-kde-gtk-config.git] / kp5-kde-gtk-config.spec
CommitLineData
e5eda097 1%define kdeplasmaver 5.22.1
99d694b6 2%define qtver 5.9.0
fcfbcf4c
AM
3%define kpname kde-gtk-config
4Summary: GTK2 and GTK3 Configurator for KDE
5Name: kp5-%{kpname}
e5eda097 6Version: 5.22.1
0178dc87 7Release: 1
fcfbcf4c
AM
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
e5eda097 11# Source0-md5: b4610ac61deb1996360d6c4451af4734
ed9ad830 12Patch0: x32.patch
40293ee5 13%define specflags -I/usr/include/harfbuzz
fcfbcf4c
AM
14URL: http://www.kde.org/
15BuildRequires: Qt5Core-devel >= %{qtver}
16BuildRequires: cmake >= 2.8.12
17BuildRequires: kf5-extra-cmake-modules >= 1.4.0
18BuildRequires: kf5-karchive-devel
41cb347c
JR
19BuildRequires: kf5-kauth-devel
20BuildRequires: kf5-kbookmarks-devel
fcfbcf4c 21BuildRequires: kf5-kcmutils-devel
41cb347c
JR
22BuildRequires: kf5-kcmutils-devel
23BuildRequires: kf5-kconfigwidgets-devel
fcfbcf4c
AM
24BuildRequires: kf5-kconfigwidgets-devel
25BuildRequires: kf5-ki18n-devel
26BuildRequires: kf5-kiconthemes-devel
27BuildRequires: kf5-kio-devel
41cb347c
JR
28BuildRequires: kf5-kio-devel
29BuildRequires: kf5-knewstuff-devel
fcfbcf4c 30BuildRequires: kf5-knewstuff-devel
41cb347c 31BuildRequires: kf5-kxmlgui-devel
99d694b6 32BuildRequires: ninja
fcfbcf4c
AM
33BuildRequires: qt5-build >= %{qtver}
34BuildRequires: rpmbuild(macros) >= 1.164
35BuildRequires: tar >= 1:1.22
36BuildRequires: xz
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40GTK2 and GTK3 Configurator for KDE.
41
42%prep
43%setup -q -n %{kpname}-%{version}
40293ee5 44#%%patch0 -p1
fcfbcf4c
AM
45
46%build
47install -d build
48cd build
99d694b6 49%cmake -G Ninja \
fcfbcf4c 50 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
40293ee5 51 -DHTML_INSTALL_DIR=%{_kdedocdir} \
fcfbcf4c 52 ..
99d694b6 53%ninja_build
fcfbcf4c
AM
54
55%install
56rm -rf $RPM_BUILD_ROOT
99d694b6 57%ninja_install -C build
fcfbcf4c 58
40293ee5 59sed -i -e 's|/usr/bin/env sh|/bin/bash|' $RPM_BUILD_ROOT/usr/share/kconf_update/remove_window_decorations_from_gtk_css.sh
fcfbcf4c
AM
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65%postun -p /sbin/ldconfig
66
40293ee5 67%files
fcfbcf4c 68%defattr(644,root,root,755)
40293ee5
WF
69%attr(755,root,root) %{_prefix}/libexec/gtk3_preview
70%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/gtkconfig.so
71%attr(755,root,root) %{_libdir}/kconf_update_bin/gtk_theme
72%{_datadir}/kconf_update/gtkconfig.upd
73%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcolorreload-gtk-module.so
74%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libwindow-decorations-gtk-module.so
75%attr(755,root,root) %{_datadir}/kconf_update/remove_window_decorations_from_gtk_css.sh
76%{_datadir}/themes/Breeze/window_decorations.css
005f18bd 77%{_datadir}/kcm-gtk-module/preview.ui
This page took 0.083581 seconds and 4 git commands to generate.