]> git.pld-linux.org Git - packages/ka5-kolf.git/blame - ka5-kolf.spec
- updated to 22.12.3
[packages/ka5-kolf.git] / ka5-kolf.spec
CommitLineData
638e4be2
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
1bbd68f4 4%define kdeappsver 22.12.3
892e06c0
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
81ee6e04
WF
7%define kaname kolf
8Summary: kolf
9Name: ka5-%{kaname}
1bbd68f4 10Version: 22.12.3
a42f49f1 11Release: 1
81ee6e04
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications/Games
5366e419 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
1bbd68f4 15# Source0-md5: 7dc5e4514ad8e6e84c1242b41186063b
81ee6e04
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Qml-devel >= 5.11.1
19BuildRequires: Qt5Quick-devel >= 5.11.1
20BuildRequires: Qt5Widgets-devel
21BuildRequires: cmake >= 2.8.12
22BuildRequires: gettext-devel
926c061b 23BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
65a8c2ca
WF
24BuildRequires: kf5-kcompletion-devel >= %{kframever}
25BuildRequires: kf5-kconfig-devel >= %{kframever}
26BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
27BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
28BuildRequires: kf5-kcrash-devel >= %{kframever}
29BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
30BuildRequires: kf5-kdelibs4support-devel >= %{kframever}
31BuildRequires: kf5-kdoctools-devel >= %{kframever}
32BuildRequires: kf5-ki18n-devel >= %{kframever}
33BuildRequires: kf5-kio-devel >= %{kframever}
34BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
35BuildRequires: kf5-kxmlgui-devel >= %{kframever}
926c061b 36BuildRequires: ninja
81ee6e04
WF
37BuildRequires: qt5-build >= %{qtver}
38BuildRequires: rpmbuild(macros) >= 1.164
39BuildRequires: shared-mime-info
40BuildRequires: tar >= 1:1.22
41BuildRequires: xz
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45Kolf is a miniature golf game. The game is played from an overhead
46view, with a short bar representing the golf club. Kolf features many
47different types of objects, such water hazards, slopes, sand traps,
48and black holes (warps), among others.
49
a254f86e
WF
50%description -l pl.UTF-8
51Kolf jest miniaturową grą w golfa. Gra jest pokazywana z z góry,
52z małą poprzeczką reprezentującą klub golfowy. Kolf zawiera
53wiele różnych typów obiektów, takich jak pułapki wodne, zbocza,
54pułapki piaskowe i czarne dziury.
55
81ee6e04
WF
56%prep
57%setup -q -n %{kaname}-%{version}
58
59%build
60install -d build
61cd build
62%cmake \
926c061b 63 -G Ninja \
638e4be2 64 %{!?with_tests:-DBUILD_TESTING=OFF} \
65a8c2ca 65 -DHTML_INSTALL_DIR=%{_kdedocdir} \
81ee6e04
WF
66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
67 ..
926c061b 68%ninja_build
81ee6e04 69
638e4be2
WF
70%if %{with tests}
71ctest
72%endif
73
74
81ee6e04
WF
75%install
76rm -rf $RPM_BUILD_ROOT
926c061b 77%ninja_install -C build
81ee6e04
WF
78
79%find_lang %{kaname} --all-name --with-kde
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files -f %{kaname}.lang
85%defattr(644,root,root,755)
86%attr(755,root,root) %{_bindir}/kolf
81ee6e04
WF
87%{_desktopdir}/org.kde.kolf.desktop
88%{_iconsdir}/hicolor/128x128/apps/kolf.png
89%{_iconsdir}/hicolor/16x16/apps/kolf.png
90%{_iconsdir}/hicolor/22x22/apps/kolf.png
91%{_iconsdir}/hicolor/32x32/apps/kolf.png
92%{_iconsdir}/hicolor/48x48/apps/kolf.png
93%{_iconsdir}/hicolor/64x64/apps/kolf.png
65a8c2ca 94%{_iconsdir}/hicolor/scalable/apps/kolf.svgz
81ee6e04
WF
95%{_datadir}/kolf
96%{_datadir}/kxmlgui5/kolf
97%{_datadir}/metainfo/org.kde.kolf.appdata.xml
This page took 0.238771 seconds and 4 git commands to generate.