]> git.pld-linux.org Git - packages/ka5-kbounce.git/blame - ka5-kbounce.spec
rebuild with qt5-5.15.6
[packages/ka5-kbounce.git] / ka5-kbounce.spec
CommitLineData
a246d97c
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e681507e 4%define kdeappsver 22.08.1
16868cc0
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
5d985db1
WF
7%define kaname kbounce
8Summary: Kbounce
9Name: ka5-%{kaname}
e681507e 10Version: 22.08.1
229a429e 11Release: 2
5d985db1
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications/Games
724bc6c1 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
e681507e 15# Source0-md5: 7c1b2662440921e2e168ac522a935a16
5d985db1
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Qml-devel >= 5.11.1
20BuildRequires: Qt5Quick-devel >= 5.11.1
21BuildRequires: Qt5Svg-devel
22BuildRequires: Qt5Widgets-devel
23BuildRequires: cmake >= 2.8.12
24BuildRequires: gettext-devel
29211501 25BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
a16740f4
WF
26BuildRequires: kf5-extra-cmake-modules >= %{kframever}
27BuildRequires: kf5-kcompletion-devel >= %{kframever}
28BuildRequires: kf5-kconfig-devel >= %{kframever}
29BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
30BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
31BuildRequires: kf5-kcrash-devel >= %{kframever}
32BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
33BuildRequires: kf5-kdoctools-devel >= %{kframever}
34BuildRequires: kf5-ki18n-devel >= %{kframever}
35BuildRequires: kf5-kio-devel >= %{kframever}
36BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
37BuildRequires: kf5-kxmlgui-devel >= %{kframever}
29211501 38BuildRequires: ninja
5d985db1
WF
39BuildRequires: qt5-build >= %{qtver}
40BuildRequires: rpmbuild(macros) >= 1.164
41BuildRequires: shared-mime-info
42BuildRequires: tar >= 1:1.22
43BuildRequires: xz
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47KBounce is a single player arcade game with the elements of puzzle. It
48is played on a field, surrounded by wall, with two or more balls
49bouncing around within the walls. The object of the game is to build
50new walls to decrease the size of the active field.
51
667e92d1
WF
52%description -l pl.UTF-8
53KBounce jest jednoosobową grą zręcznościową z elementami zagadki. Jest
54rozgrywana na polu otoczonym ścianami, z dwoma lub więcej piłkami
55odbijającymi się od ścian. Celem gry jest budowanie nowych ścian, żeby
56zmniejszać rozmiar aktywnego pola gry.
57
5d985db1
WF
58%prep
59%setup -q -n %{kaname}-%{version}
60
61%build
62install -d build
63cd build
64%cmake \
29211501 65 -G Ninja \
a246d97c 66 %{!?with_tests:-DBUILD_TESTING=OFF} \
a16740f4 67 -DHTML_INSTALL_DIR=%{_kdedocdir} \
5d985db1
WF
68 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
69 ..
29211501 70%ninja_build
5d985db1 71
a246d97c
WF
72%if %{with tests}
73ctest
74%endif
75
76
5d985db1
WF
77%install
78rm -rf $RPM_BUILD_ROOT
29211501 79%ninja_install -C build
5d985db1
WF
80
81%find_lang %{kaname} --all-name --with-kde
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files -f %{kaname}.lang
87%defattr(644,root,root,755)
88%attr(755,root,root) %{_bindir}/kbounce
89%{_desktopdir}/org.kde.kbounce.desktop
90%{_iconsdir}/hicolor/128x128/apps/kbounce.png
91%{_iconsdir}/hicolor/16x16/apps/kbounce.png
92%{_iconsdir}/hicolor/22x22/apps/kbounce.png
93%{_iconsdir}/hicolor/32x32/apps/kbounce.png
94%{_iconsdir}/hicolor/48x48/apps/kbounce.png
95%{_iconsdir}/hicolor/64x64/apps/kbounce.png
96%{_datadir}/kbounce
5d985db1 97%{_datadir}/metainfo/org.kde.kbounce.appdata.xml
18d4b4bd 98%{_datadir}/qlogging-categories5/kbounce.categories
This page took 0.300941 seconds and 4 git commands to generate.