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