]> git.pld-linux.org Git - packages/ka5-klines.git/blame - ka5-klines.spec
- pl description
[packages/ka5-klines.git] / ka5-klines.spec
CommitLineData
33a938a3 1%define kdeappsver 21.04.3
00676d72 2%define kframever 5.56.0
9d6a6c6e
WF
3%define qtver 5.9.0
4%define kaname klines
5Summary: klines
6Name: ka5-%{kaname}
33a938a3 7Version: 21.04.3
9d6a6c6e
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Applications/Games
1e9c149d 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
33a938a3 12# Source0-md5: 517e775101e56e7a0a970a7956e822c7
9d6a6c6e
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Gui-devel >= 5.11.1
16BuildRequires: Qt5Qml-devel >= 5.11.1
17BuildRequires: Qt5Quick-devel >= 5.11.1
18BuildRequires: Qt5Widgets-devel
19BuildRequires: cmake >= 2.8.12
20BuildRequires: gettext-devel
8495cdb6 21BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
00676d72
WF
22BuildRequires: kf5-extra-cmake-modules >= %{kframever}
23BuildRequires: kf5-kconfig-devel >= %{kframever}
24BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
25BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
26BuildRequires: kf5-kcrash-devel >= %{kframever}
27BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
28BuildRequires: kf5-kdoctools-devel >= %{kframever}
29BuildRequires: kf5-ki18n-devel >= %{kframever}
30BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
31BuildRequires: kf5-kxmlgui-devel >= %{kframever}
8495cdb6 32BuildRequires: ninja
9d6a6c6e
WF
33BuildRequires: qt5-build >= %{qtver}
34BuildRequires: rpmbuild(macros) >= 1.164
35BuildRequires: shared-mime-info
36BuildRequires: tar >= 1:1.22
37BuildRequires: xz
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41KLines is a simple but highly addictive one player game. The player
42has to move the colored balls around the game board, gathering them
43into the lines of the same color by five. Once the line is complete it
44is removed from the board, therefore freeing precious space.
45
fef799c4
WF
46%description -l pl.UTF-8
47KLines jest prostą albo bardzo wciągającą grą dla jednej osoby. Gracz
48ma przemieszczać kolorowe piłki po planszy, zbierając je po pięć
49w linii jednego koloru. Kompletne linie są usuwane z planszy
50zwalniając cenne miejsce.
51
9d6a6c6e
WF
52%prep
53%setup -q -n %{kaname}-%{version}
54
55%build
56install -d build
57cd build
58%cmake \
8495cdb6 59 -G Ninja \
00676d72 60 -DHTML_INSTALL_DIR=%{_kdedocdir} \
9d6a6c6e
WF
61 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62 ..
8495cdb6 63%ninja_build
9d6a6c6e
WF
64
65%install
66rm -rf $RPM_BUILD_ROOT
8495cdb6 67%ninja_install -C build
9d6a6c6e
WF
68
69%find_lang %{kaname} --all-name --with-kde
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files -f %{kaname}.lang
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/klines
77%{_desktopdir}/org.kde.klines.desktop
78%{_datadir}/config.kcfg/klines.kcfg
79%{_iconsdir}/hicolor/128x128/apps/klines.png
80%{_iconsdir}/hicolor/16x16/apps/klines.png
81%{_iconsdir}/hicolor/22x22/apps/klines.png
82%{_iconsdir}/hicolor/32x32/apps/klines.png
83%{_iconsdir}/hicolor/48x48/apps/klines.png
84%{_iconsdir}/hicolor/64x64/apps/klines.png
85%{_datadir}/klines
86%{_datadir}/metainfo/org.kde.klines.appdata.xml
1e9c149d 87%{_datadir}/qlogging-categories5/klines.categories
This page took 0.095981 seconds and 4 git commands to generate.