]> git.pld-linux.org Git - packages/ka5-blinken.git/blame - ka5-blinken.spec
- updated to 21.12.3
[packages/ka5-blinken.git] / ka5-blinken.spec
CommitLineData
0fd4bbed 1%define kdeappsver 21.12.3
fb6603a0 2%define kframever 5.56.0
4238ef64 3%define qtver 5.9.0
70aafa2f
WF
4%define kaname blinken
5Summary: Blinken
6Name: ka5-%{kaname}
0fd4bbed 7Version: 21.12.3
70aafa2f
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
4238ef64 10Group: X11/Applications/Games
505ffbf9 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
0fd4bbed 12# Source0-md5: 80d446f51694a6887ccfde2b97005583
70aafa2f
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
4238ef64
WF
15BuildRequires: Qt5Gui-devel >= 5.11.1
16BuildRequires: Qt5Svg-devel
17BuildRequires: Qt5Widgets-devel
70aafa2f 18BuildRequires: cmake >= 2.8.12
4238ef64 19BuildRequires: gettext-devel
fb6603a0
WF
20BuildRequires: kf5-extra-cmake-modules >= %{kframever}
21BuildRequires: kf5-kcrash-devel >= %{kframever}
22BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
23BuildRequires: kf5-kdoctools-devel >= %{kframever}
24BuildRequires: kf5-kguiaddons-devel >= %{kframever}
25BuildRequires: kf5-ki18n-devel >= %{kframever}
26BuildRequires: kf5-kxmlgui-devel >= %{kframever}
970a470b 27BuildRequires: ninja
4238ef64 28BuildRequires: phonon-qt5-devel
70aafa2f
WF
29BuildRequires: qt5-build >= %{qtver}
30BuildRequires: rpmbuild(macros) >= 1.164
31BuildRequires: shared-mime-info
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
4238ef64
WF
37Blinken is based on an electronic game released in 1978, which
38challenges players to remember sequences of increasing length. On the
39face of the device, there are 4 different color buttons, each one with
40their own distinctive sound. These buttons light up randomly, creating
41the sequence that the player must then recall. If the player is
42successful in remembering the sequence of lights in the correct order,
43he advances to the next stage, where an identical sequence with one
44extra step is presented. If the player makes a mistake, the game is
45lost, and the player must start again from the beginning. The goal is
46to get a high score - each step in the sequence is worth one point, so
47correct entry of a sequence of 8 lights is worth 8 points on the high
48score table.
70aafa2f 49
3de771d9
WF
50%description -l pl.UTF-8
51Blinken jest oparty na grze elektronicznej wydanej w 1978 roku.
52Wyzwaniem dla gracza jest zapamiętywanie coraz dłuższych sekwencji. Na
53urządzeniu są 4 różne kolorowe przyciski, każdy z odróżnialnym
54dźwiękiem. Przyciski te zapalają się losowo, tworząc sekwencję, którą
55gracz musi zapamiętać i odtworzyć. Jeśli mu się to uda, przechodzi do
56następnego poziomu, gdzie do identycznej sekwencji dodawany jest jeden
57element. Jeśli gracz się pomyli, przegrywa i musi zacząć od początku.
58Celem jest uzyskanie rekordu, każdy krok w sekwencji jest warty 1
59punkt, więc prawidłowe powtórzenie 8 świateł jest warte 8 punktów w
60tabeli rekordów.
61
70aafa2f
WF
62%prep
63%setup -q -n %{kaname}-%{version}
64
65%build
66install -d build
67cd build
68%cmake \
970a470b 69 -G Ninja \
fb6603a0 70 -DHTML_INSTALL_DIR=%{_kdedocdir} \
70aafa2f
WF
71 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
72 ..
970a470b 73%ninja_build
70aafa2f
WF
74
75%install
76rm -rf $RPM_BUILD_ROOT
970a470b 77%ninja_install -C build
70aafa2f
WF
78
79%find_lang %{kaname} --all-name --with-kde
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files -f %{kaname}.lang
88%defattr(644,root,root,755)
89%attr(755,root,root) %{_bindir}/blinken
90%{_desktopdir}/org.kde.blinken.desktop
91%{_datadir}/blinken
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
This page took 0.046613 seconds and 4 git commands to generate.