]> git.pld-linux.org Git - packages/kp5-kde-gtk-config.git/blame - kp5-kde-gtk-config.spec
- updated to 5.27.11
[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
c996c584 4%define kdeplasmaver 5.27.11
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}
c996c584 9Version: 5.27.11
7e694464 10Release: 1
fcfbcf4c
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
7e694464 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
c996c584 14# Source0-md5: 1b83e41e34b91f06efff8f6c0b855043
ed9ad830 15Patch0: x32.patch
40293ee5 16%define specflags -I/usr/include/harfbuzz
fcfbcf4c 17URL: http://www.kde.org/
7e694464 18BuildRequires: Qt5Core-devel >= %{qtver}
d555dcc6 19BuildRequires: cmake >= 3.16.0
8bdb3d64
WF
20BuildRequires: gsettings-desktop-schemas
21BuildRequires: gsettings-desktop-schemas-devel
dcb01a42
WF
22BuildRequires: gtk+2-devel
23BuildRequires: gtk+3-devel
7e694464
WF
24BuildRequires: kf5-extra-cmake-modules >= 1.4.0
25BuildRequires: kf5-karchive-devel
26BuildRequires: kf5-kauth-devel
27BuildRequires: kf5-kbookmarks-devel
28BuildRequires: kf5-kcmutils-devel
29BuildRequires: kf5-kcmutils-devel
30BuildRequires: kf5-kconfigwidgets-devel
31BuildRequires: kf5-kconfigwidgets-devel
32BuildRequires: kf5-ki18n-devel
33BuildRequires: kf5-kiconthemes-devel
34BuildRequires: kf5-kio-devel
35BuildRequires: kf5-kio-devel
36BuildRequires: kf5-knewstuff-devel
37BuildRequires: kf5-knewstuff-devel
38BuildRequires: kf5-kxmlgui-devel
a42aa6da 39BuildRequires: kp5-kdecoration-devel >= 5.23.0
99d694b6 40BuildRequires: ninja
7e694464 41BuildRequires: qt5-build >= %{qtver}
fcfbcf4c
AM
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
d555dcc6
WF
55%cmake -B build \
56 -G Ninja \
67b31f1b 57 %{!?with_tests:-DBUILD_TESTING=OFF} \
fcfbcf4c 58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
d555dcc6
WF
59 -DHTML_INSTALL_DIR=%{_kdedocdir}
60%ninja_build -C build
fcfbcf4c 61
67b31f1b
WF
62%if %{with tests}
63ctest
64%endif
65
fcfbcf4c
AM
66%install
67rm -rf $RPM_BUILD_ROOT
99d694b6 68%ninja_install -C build
fcfbcf4c 69
40293ee5 70sed -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
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
40293ee5 78%files
fcfbcf4c 79%defattr(644,root,root,755)
40293ee5 80%attr(755,root,root) %{_prefix}/libexec/gtk3_preview
7e694464 81%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/gtkconfig.so
40293ee5
WF
82%attr(755,root,root) %{_libdir}/kconf_update_bin/gtk_theme
83%{_datadir}/kconf_update/gtkconfig.upd
84%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcolorreload-gtk-module.so
85%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libwindow-decorations-gtk-module.so
86%attr(755,root,root) %{_datadir}/kconf_update/remove_window_decorations_from_gtk_css.sh
87%{_datadir}/themes/Breeze/window_decorations.css
d21686e8 88%dir %{_datadir}/kcm-gtk-module
005f18bd 89%{_datadir}/kcm-gtk-module/preview.ui
e3565445 90%attr(755,root,root) %{_libdir}/kconf_update_bin/remove_deprecated_gtk4_option
This page took 0.826482 seconds and 4 git commands to generate.