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