]> git.pld-linux.org Git - packages/ka5-kblocks.git/blame - ka5-kblocks.spec
- updated to 18.12.1; ninja
[packages/ka5-kblocks.git] / ka5-kblocks.spec
CommitLineData
fcf7818e 1%define kdeappsver 18.12.1
483e87bb
WF
2%define qtver 5.9.0
3%define kaname kblocks
4Summary: Kblocks
5Name: ka5-%{kaname}
fcf7818e 6Version: 18.12.1
483e87bb
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Applications/Games
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
fcf7818e 11# Source0-md5: 6407acfb7713d4c82d04d1c06aedc45a
483e87bb
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= 5.11.1
15BuildRequires: Qt5Network-devel
16BuildRequires: Qt5Qml-devel >= 5.11.1
17BuildRequires: Qt5Quick-devel >= 5.11.1
18BuildRequires: Qt5Svg-devel
19BuildRequires: Qt5Widgets-devel
20BuildRequires: cmake >= 2.8.12
21BuildRequires: gettext-devel
fcf7818e 22BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
483e87bb
WF
23BuildRequires: kf5-extra-cmake-modules >= 5.53.0
24BuildRequires: kf5-kconfig-devel >= 5.30.0
25BuildRequires: kf5-kconfigwidgets-devel >= 5.30.0
26BuildRequires: kf5-kcoreaddons-devel >= 5.30.0
27BuildRequires: kf5-kcrash-devel >= 5.30.0
28BuildRequires: kf5-kdbusaddons-devel >= 5.30.0
29BuildRequires: kf5-kdoctools-devel >= 5.30.0
30BuildRequires: kf5-ki18n-devel >= 5.30.0
31BuildRequires: kf5-kwidgetsaddons-devel >= 5.30.0
32BuildRequires: kf5-kxmlgui-devel >= 5.30.0
fcf7818e 33BuildRequires: ninja
483e87bb
WF
34BuildRequires: qt5-build >= %{qtver}
35BuildRequires: rpmbuild(macros) >= 1.164
36BuildRequires: shared-mime-info
37BuildRequires: tar >= 1:1.22
38BuildRequires: xz
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42KBlocks is the classic falling blocks game. The idea is to stack the
43falling blocks to create horizontal lines without any gaps. When a
44line is completed it is removed, and more space is available in the
45play area. When there is not enough space for blocks to fall, the game
46is over.
47
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
fcf7818e 55 -G Ninja \
483e87bb
WF
56 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57 ..
fcf7818e 58%ninja_build
483e87bb
WF
59
60%install
61rm -rf $RPM_BUILD_ROOT
fcf7818e 62%ninja_install -C build
483e87bb
WF
63
64%find_lang %{kaname} --all-name --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{kaname}.lang
70%defattr(644,root,root,755)
71/etc/xdg/kblocks.categories
72/etc/xdg/kblocks.knsrc
73%attr(755,root,root) %{_bindir}/kblocks
74%{_desktopdir}/org.kde.kblocks.desktop
75%{_datadir}/config.kcfg/kblocks.kcfg
76%{_iconsdir}/hicolor/128x128/apps/kblocks.png
77%{_iconsdir}/hicolor/16x16/apps/kblocks.png
78%{_iconsdir}/hicolor/22x22/apps/kblocks.png
79%{_iconsdir}/hicolor/32x32/apps/kblocks.png
80%{_iconsdir}/hicolor/48x48/apps/kblocks.png
81%{_iconsdir}/hicolor/64x64/apps/kblocks.png
82%{_datadir}/kblocks
83%{_datadir}/kxmlgui5/kblocks
84%{_datadir}/metainfo/org.kde.kblocks.appdata.xml
This page took 0.102075 seconds and 4 git commands to generate.