]> git.pld-linux.org Git - packages/kp5-kde-gtk-config.git/blame - kp5-kde-gtk-config.spec
- updated to 5.25.4
[packages/kp5-kde-gtk-config.git] / kp5-kde-gtk-config.spec
CommitLineData
67b31f1b
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
72eb53d7 4%define kdeplasmaver 5.25.4
5f678f16 5%define qtver 5.15.2
fcfbcf4c
AM
6%define kpname kde-gtk-config
7Summary: GTK2 and GTK3 Configurator for KDE
8Name: kp5-%{kpname}
72eb53d7 9Version: 5.25.4
cb807159 10Release: 1
fcfbcf4c
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
07b216ad 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
72eb53d7 14# Source0-md5: 6b6cf6c6faa28d7593e3065befe8cf8d
ed9ad830 15Patch0: x32.patch
40293ee5 16%define specflags -I/usr/include/harfbuzz
fcfbcf4c
AM
17URL: http://www.kde.org/
18BuildRequires: Qt5Core-devel >= %{qtver}
19BuildRequires: cmake >= 2.8.12
8bdb3d64
WF
20BuildRequires: gsettings-desktop-schemas
21BuildRequires: gsettings-desktop-schemas-devel
dcb01a42
WF
22BuildRequires: gtk+2-devel
23BuildRequires: gtk+3-devel
fcfbcf4c
AM
24BuildRequires: kf5-extra-cmake-modules >= 1.4.0
25BuildRequires: kf5-karchive-devel
41cb347c
JR
26BuildRequires: kf5-kauth-devel
27BuildRequires: kf5-kbookmarks-devel
fcfbcf4c 28BuildRequires: kf5-kcmutils-devel
41cb347c
JR
29BuildRequires: kf5-kcmutils-devel
30BuildRequires: kf5-kconfigwidgets-devel
fcfbcf4c
AM
31BuildRequires: kf5-kconfigwidgets-devel
32BuildRequires: kf5-ki18n-devel
33BuildRequires: kf5-kiconthemes-devel
34BuildRequires: kf5-kio-devel
41cb347c
JR
35BuildRequires: kf5-kio-devel
36BuildRequires: kf5-knewstuff-devel
fcfbcf4c 37BuildRequires: kf5-knewstuff-devel
41cb347c 38BuildRequires: kf5-kxmlgui-devel
a42aa6da 39BuildRequires: kp5-kdecoration-devel >= 5.23.0
99d694b6 40BuildRequires: ninja
fcfbcf4c
AM
41BuildRequires: qt5-build >= %{qtver}
42BuildRequires: rpmbuild(macros) >= 1.164
43BuildRequires: tar >= 1:1.22
44BuildRequires: xz
45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47%description
48GTK2 and GTK3 Configurator for KDE.
49
50%prep
51%setup -q -n %{kpname}-%{version}
40293ee5 52#%%patch0 -p1
fcfbcf4c
AM
53
54%build
55install -d build
56cd build
99d694b6 57%cmake -G Ninja \
67b31f1b 58 %{!?with_tests:-DBUILD_TESTING=OFF} \
fcfbcf4c 59 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
40293ee5 60 -DHTML_INSTALL_DIR=%{_kdedocdir} \
fcfbcf4c 61 ..
99d694b6 62%ninja_build
fcfbcf4c 63
67b31f1b
WF
64%if %{with tests}
65ctest
66%endif
67
fcfbcf4c
AM
68%install
69rm -rf $RPM_BUILD_ROOT
99d694b6 70%ninja_install -C build
fcfbcf4c 71
40293ee5 72sed -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
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
40293ee5 80%files
fcfbcf4c 81%defattr(644,root,root,755)
40293ee5
WF
82%attr(755,root,root) %{_prefix}/libexec/gtk3_preview
83%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/gtkconfig.so
84%attr(755,root,root) %{_libdir}/kconf_update_bin/gtk_theme
85%{_datadir}/kconf_update/gtkconfig.upd
86%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcolorreload-gtk-module.so
87%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libwindow-decorations-gtk-module.so
88%attr(755,root,root) %{_datadir}/kconf_update/remove_window_decorations_from_gtk_css.sh
89%{_datadir}/themes/Breeze/window_decorations.css
d21686e8 90%dir %{_datadir}/kcm-gtk-module
005f18bd 91%{_datadir}/kcm-gtk-module/preview.ui
e3565445 92%attr(755,root,root) %{_libdir}/kconf_update_bin/remove_deprecated_gtk4_option
This page took 0.285453 seconds and 4 git commands to generate.