1 %define kdeappsver 21.08.3
2 %define kframever 5.56.0
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: 02d2f19b696a37b00ca35f15e53e1f3f
13 URL: http://www.kde.org/
14 BuildRequires: Qt5Core-devel >= %{qtver}
15 BuildRequires: Qt5Gui-devel >= 5.11.1
16 BuildRequires: Qt5Svg-devel
17 BuildRequires: Qt5Widgets-devel
18 BuildRequires: cmake >= 2.8.12
19 BuildRequires: gettext-devel
20 BuildRequires: kf5-extra-cmake-modules >= %{kframever}
21 BuildRequires: kf5-kcrash-devel >= %{kframever}
22 BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
23 BuildRequires: kf5-kdoctools-devel >= %{kframever}
24 BuildRequires: kf5-kguiaddons-devel >= %{kframever}
25 BuildRequires: kf5-ki18n-devel >= %{kframever}
26 BuildRequires: kf5-kxmlgui-devel >= %{kframever}
28 BuildRequires: phonon-qt5-devel
29 BuildRequires: qt5-build >= %{qtver}
30 BuildRequires: rpmbuild(macros) >= 1.164
31 BuildRequires: shared-mime-info
32 BuildRequires: tar >= 1:1.22
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Blinken is based on an electronic game released in 1978, which
38 challenges players to remember sequences of increasing length. On the
39 face of the device, there are 4 different color buttons, each one with
40 their own distinctive sound. These buttons light up randomly, creating
41 the sequence that the player must then recall. If the player is
42 successful in remembering the sequence of lights in the correct order,
43 he advances to the next stage, where an identical sequence with one
44 extra step is presented. If the player makes a mistake, the game is
45 lost, and the player must start again from the beginning. The goal is
46 to get a high score - each step in the sequence is worth one point, so
47 correct entry of a sequence of 8 lights is worth 8 points on the high
50 %description -l pl.UTF-8
51 Blinken jest oparty na grze elektronicznej wydanej w 1978 roku.
52 Wyzwaniem dla gracza jest zapamiętywanie coraz dłuższych sekwencji. Na
53 urządzeniu są 4 różne kolorowe przyciski, każdy z odróżnialnym
54 dźwiękiem. Przyciski te zapalają się losowo, tworząc sekwencję, którą
55 gracz musi zapamiętać i odtworzyć. Jeśli mu się to uda, przechodzi do
56 następnego poziomu, gdzie do identycznej sekwencji dodawany jest jeden
57 element. Jeśli gracz się pomyli, przegrywa i musi zacząć od początku.
58 Celem jest uzyskanie rekordu, każdy krok w sekwencji jest warty 1
59 punkt, więc prawidłowe powtórzenie 8 świateł jest warte 8 punktów w
63 %setup -q -n %{kaname}-%{version}
70 -DHTML_INSTALL_DIR=%{_kdedocdir} \
71 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
76 rm -rf $RPM_BUILD_ROOT
77 %ninja_install -C build
79 %find_lang %{kaname} --all-name --with-kde
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
87 %files -f %{kaname}.lang
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/blinken
90 %{_desktopdir}/org.kde.blinken.desktop
92 %{_datadir}/config.kcfg/blinken.kcfg
93 %{_iconsdir}/hicolor/128x128/apps/blinken.png
94 %{_iconsdir}/hicolor/16x16/apps/blinken.png
95 %{_iconsdir}/hicolor/22x22/apps/blinken.png
96 %{_iconsdir}/hicolor/32x32/apps/blinken.png
97 %{_iconsdir}/hicolor/48x48/apps/blinken.png
98 %{_iconsdir}/hicolor/64x64/apps/blinken.png
99 %{_iconsdir}/hicolor/scalable/apps/blinken.svgz
100 %{_datadir}/metainfo/org.kde.blinken.appdata.xml