%define kdeframever 5.43 %define qtver 5.3.2 %define kfname kguiaddons Summary: Utilities for graphical user interfaces Name: kf5-%{kfname} Version: 5.43.0 Release: 1 License: LGPL v2.1+ Group: X11/Libraries Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz # Source0-md5: 29a133ec1b1edf43fdcb64cdc0b3484a URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5Gui-devel >= %{qtver} BuildRequires: Qt5Test-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} BuildRequires: Qt5X11Extras-devel >= %{qtver} BuildRequires: cmake >= 2.8.12 BuildRequires: kf5-extra-cmake-modules >= 1.4.0 BuildRequires: pkgconfig BuildRequires: qt5-linguist >= %{qtver} BuildRequires: rpmbuild(macros) >= 1.164 BuildRequires: tar >= 1:1.22 BuildRequires: xz Requires: kf5-dirs BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define qt5dir %{_libdir}/qt5 %description The KDE GUI addons provide utilities for graphical user interfaces in the areas of colors, fonts, text, images, keyboard input. %package devel Summary: Header files for %{kfname} development Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files for %{kfname} development. %description devel -l pl.UTF-8 Pliki nagłówkowe dla programistów używających %{kfname}. %prep %setup -q -n %{kfname}-%{version} %build install -d build cd build %cmake \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ ../ %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} -C build/ install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc README.md %attr(755,root,root) %ghost %{_libdir}/libKF5GuiAddons.so.5 %attr(755,root,root) %{_libdir}/libKF5GuiAddons.so.*.* %files devel %defattr(644,root,root,755) %{_includedir}/KF5/KGuiAddons %{_includedir}/KF5/kguiaddons_version.h %{_libdir}/cmake/KF5GuiAddons %attr(755,root,root) %{_libdir}/libKF5GuiAddons.so %{qt5dir}/mkspecs/modules/qt_KGuiAddons.pri