This commit is contained in:
parent
8c1c946a78
commit
23c4c50fac
42
picmi.spec
42
picmi.spec
@ -17,8 +17,21 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: picmi
|
Name: picmi
|
||||||
BuildRequires: libkdegames4-devel
|
BuildRequires: libkdegames-devel
|
||||||
BuildRequires: xz
|
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
|
Summary: Nonogram Logic game
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Amusements/Games/Board/Logic
|
Group: Amusements/Games/Board/Logic
|
||||||
@ -27,7 +40,6 @@ Version: 15.07.90
|
|||||||
Release: 0
|
Release: 0
|
||||||
Source0: picmi-%{version}.tar.xz
|
Source0: picmi-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%kde4_runtime_requires
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A nonogram logic game for KDE
|
A nonogram logic game for KDE
|
||||||
@ -37,14 +49,12 @@ A nonogram logic game for KDE
|
|||||||
%setup -q -n picmi-%{version}
|
%setup -q -n picmi-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kf5 -d build
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%kf5_makeinstall -C build
|
||||||
%makeinstall
|
%suse_update_desktop_file -r org.kde.picmi Game LogicGame
|
||||||
%suse_update_desktop_file -r picmi Game LogicGame
|
|
||||||
%kde_post_install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -52,12 +62,14 @@ A nonogram logic game for KDE
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_kde4_bindir}/picmi
|
%{_kf5_bindir}/picmi
|
||||||
%{_kde4_htmldir}/en/picmi/
|
%{_kf5_htmldir}/en/picmi/
|
||||||
%{_kde4_applicationsdir}/picmi.desktop
|
%{_kf5_applicationsdir}/org.kde.picmi.desktop
|
||||||
%dir %{_kde4_iconsdir}/hicolor/256x256
|
%dir %{_kf5_iconsdir}/hicolor/256x256
|
||||||
%dir %{_kde4_iconsdir}/hicolor/256x256/apps
|
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
|
||||||
%{_kde4_iconsdir}/hicolor/*/apps/picmi.*
|
%{_kf5_iconsdir}/hicolor/*/apps/picmi.*
|
||||||
%{_kde4_appsdir}/picmi/
|
%{_kf5_appsdir}/picmi/
|
||||||
|
%_kf5_kxmlguidir/picmi/
|
||||||
|
%{_datadir}/appdata/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user