]> git.pld-linux.org Git - packages/ka5-bovo.git/blame - ka5-bovo.spec
- updated to 22.12.3
[packages/ka5-bovo.git] / ka5-bovo.spec
CommitLineData
9919c2e8
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
43802a8e 4%define kdeappsver 22.12.3
e53a5f72
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
5800ec29 7%define kaname bovo
16a2b047 8Summary: A Gomoku like game
5800ec29 9Name: ka5-%{kaname}
43802a8e 10Version: 22.12.3
c89e0646 11Release: 1
5800ec29 12License: GPL v2+/LGPL v2.1+
16a2b047 13Group: X11/Applications/Games
93a0a7a8 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
43802a8e 15# Source0-md5: 7b0e6e0ec7c3bc70928f8d732bb31351
5800ec29 16URL: http://www.kde.org/
16a2b047 17BuildRequires: Qt5Concurrent-devel
5800ec29 18BuildRequires: Qt5Core-devel >= %{qtver}
16a2b047
WF
19BuildRequires: Qt5Gui-devel >= 5.11.1
20BuildRequires: Qt5Qml-devel >= 5.11.1
21BuildRequires: Qt5Quick-devel >= 5.11.1
22BuildRequires: Qt5Svg-devel
23BuildRequires: Qt5Widgets-devel
5800ec29 24BuildRequires: cmake >= 2.8.12
16a2b047 25BuildRequires: gettext-devel
92d4929e 26BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
01fc0b5b
WF
27BuildRequires: kf5-extra-cmake-modules >= %{kframever}
28BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
29BuildRequires: kf5-kcrash-devel >= %{kframever}
30BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
31BuildRequires: kf5-kdoctools-devel >= %{kframever}
32BuildRequires: kf5-kxmlgui-devel >= %{kframever}
92d4929e 33BuildRequires: ninja
5800ec29
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
16a2b047
WF
42Bovo is a Gomoku like game for two players, where the opponents
43alternate in placing their respective pictogram on the game board.
44(Also known as: Connect Five, Five in a row, X and O, Naughts and
45Crosses)
5800ec29 46
31e912f7
WF
47%description -l pl.UTF-8
48Bovo to gra w kółko i krzyżyk (do pięciu w rzędzie).
49
5800ec29
WF
50%prep
51%setup -q -n %{kaname}-%{version}
52
53%build
54install -d build
55cd build
56%cmake \
92d4929e 57 -G Ninja \
9919c2e8 58 %{!?with_tests:-DBUILD_TESTING=OFF} \
01fc0b5b 59 -DHTML_INSTALL_DIR=%{_kdedocdir} \
5800ec29
WF
60 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
61 ..
92d4929e 62%ninja_build
5800ec29 63
9919c2e8
WF
64%if %{with tests}
65ctest
66%endif
67
68
5800ec29
WF
69%install
70rm -rf $RPM_BUILD_ROOT
92d4929e 71%ninja_install -C build
5800ec29
WF
72
73%find_lang %{kaname} --all-name --with-kde
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
81%files -f %{kaname}.lang
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_bindir}/bovo
84%{_desktopdir}/org.kde.bovo.desktop
85%{_datadir}/bovo
86%{_iconsdir}/hicolor/128x128/apps/bovo.png
87%{_iconsdir}/hicolor/16x16/apps/bovo.png
88%{_iconsdir}/hicolor/22x22/apps/bovo.png
89%{_iconsdir}/hicolor/32x32/apps/bovo.png
90%{_iconsdir}/hicolor/48x48/apps/bovo.png
91%{_iconsdir}/hicolor/64x64/apps/bovo.png
5800ec29 92%{_datadir}/metainfo/org.kde.bovo.appdata.xml
This page took 1.644948 seconds and 4 git commands to generate.