Raymond Wooninck 2015-12-15 18:42:48 +00:00 committed by Git OBS Bridge
parent 8be3a6fde6
commit acbb5d8264

View File

@ -25,9 +25,12 @@ Group: Productivity/Other
Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
BuildRequires: gettext-tools
BuildRequires: libkde4-devel
BuildRequires: extra-cmake-modules
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: kconfig-devel
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This package allows KDE applications to show thumbnails
@ -37,12 +40,11 @@ and previews of po files.
%setup -q
%build
%cmake_kde4 -d build
%cmake_kf5 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%kde_post_install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
@ -51,8 +53,5 @@ and previews of po files.
%files
%defattr(-,root,root)
%doc COPYING
%{_kde4_configkcfgdir}/pocreatorsettings.kcfg
%{_kde4_modulesdir}/pothumbnail.so
%{_kde4_servicesdir}/pothumbnail.desktop
%changelog