Raymond Wooninck 2015-08-07 09:51:59 +00:00 committed by Git OBS Bridge
parent 8c1c946a78
commit 23c4c50fac

View File

@ -17,8 +17,21 @@
Name: picmi
BuildRequires: libkdegames4-devel
BuildRequires: xz
BuildRequires: libkdegames-devel
BuildRequires: extra-cmake-modules
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: kcoreaddons-devel
BuildRequires: kdeclarative-devel
BuildRequires: ki18n-devel
BuildRequires: kdelibs4support-devel
BuildRequires: knewstuff-devel
BuildRequires: kxmlgui-devel
BuildRequires: update-desktop-files
Summary: Nonogram Logic game
License: GPL-2.0+
Group: Amusements/Games/Board/Logic
@ -27,7 +40,6 @@ Version: 15.07.90
Release: 0
Source0: picmi-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
A nonogram logic game for KDE
@ -37,14 +49,12 @@ A nonogram logic game for KDE
%setup -q -n picmi-%{version}
%build
%cmake_kde4 -d build
%cmake_kf5 -d build
%make_jobs
%install
cd build
%makeinstall
%suse_update_desktop_file -r picmi Game LogicGame
%kde_post_install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.picmi Game LogicGame
%clean
rm -rf $RPM_BUILD_ROOT
@ -52,12 +62,14 @@ A nonogram logic game for KDE
%files
%defattr(-,root,root)
%doc COPYING
%{_kde4_bindir}/picmi
%{_kde4_htmldir}/en/picmi/
%{_kde4_applicationsdir}/picmi.desktop
%dir %{_kde4_iconsdir}/hicolor/256x256
%dir %{_kde4_iconsdir}/hicolor/256x256/apps
%{_kde4_iconsdir}/hicolor/*/apps/picmi.*
%{_kde4_appsdir}/picmi/
%{_kf5_bindir}/picmi
%{_kf5_htmldir}/en/picmi/
%{_kf5_applicationsdir}/org.kde.picmi.desktop
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%{_kf5_iconsdir}/hicolor/*/apps/picmi.*
%{_kf5_appsdir}/picmi/
%_kf5_kxmlguidir/picmi/
%{_datadir}/appdata/
%changelog