]> git.pld-linux.org Git - packages/ka5-blinken.git/blame - ka5-blinken.spec
- updated to 18.12.0
[packages/ka5-blinken.git] / ka5-blinken.spec
CommitLineData
4238ef64
WF
1%define kdeappsver 18.12.0
2%define qtver 5.9.0
70aafa2f
WF
3%define kaname blinken
4Summary: Blinken
5Name: ka5-%{kaname}
4238ef64 6Version: 18.12.0
70aafa2f
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
4238ef64 9Group: X11/Applications/Games
70aafa2f 10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
4238ef64 11# Source0-md5: 8704b3557a68782affb34cda12bab06a
70aafa2f
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
4238ef64
WF
14BuildRequires: Qt5Gui-devel >= 5.11.1
15BuildRequires: Qt5Svg-devel
16BuildRequires: Qt5Widgets-devel
70aafa2f 17BuildRequires: cmake >= 2.8.12
4238ef64
WF
18BuildRequires: gettext-devel
19BuildRequires: kf5-extra-cmake-modules >= 5.53.0
20BuildRequires: kf5-kcrash-devel >= 5.46.0
21BuildRequires: kf5-kdbusaddons-devel >= 5.46.0
22BuildRequires: kf5-kdoctools-devel >= 5.46.0
23BuildRequires: kf5-kguiaddons-devel >= 5.46.0
24BuildRequires: kf5-ki18n-devel >= 5.46.0
25BuildRequires: kf5-kxmlgui-devel >= 5.46.0
26BuildRequires: phonon-qt5-devel
70aafa2f
WF
27BuildRequires: qt5-build >= %{qtver}
28BuildRequires: rpmbuild(macros) >= 1.164
29BuildRequires: shared-mime-info
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
4238ef64
WF
35Blinken is based on an electronic game released in 1978, which
36challenges players to remember sequences of increasing length. On the
37face of the device, there are 4 different color buttons, each one with
38their own distinctive sound. These buttons light up randomly, creating
39the sequence that the player must then recall. If the player is
40successful in remembering the sequence of lights in the correct order,
41he advances to the next stage, where an identical sequence with one
42extra step is presented. If the player makes a mistake, the game is
43lost, and the player must start again from the beginning. The goal is
44to get a high score - each step in the sequence is worth one point, so
45correct entry of a sequence of 8 lights is worth 8 points on the high
46score table.
70aafa2f
WF
47
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56 ..
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61%{__make} -C build install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%find_lang %{kaname} --all-name --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files -f %{kaname}.lang
73%defattr(644,root,root,755)
74%attr(755,root,root) %{_bindir}/blinken
75%{_desktopdir}/org.kde.blinken.desktop
76%{_datadir}/blinken
77%{_datadir}/config.kcfg/blinken.kcfg
78%{_iconsdir}/hicolor/128x128/apps/blinken.png
79%{_iconsdir}/hicolor/16x16/apps/blinken.png
80%{_iconsdir}/hicolor/22x22/apps/blinken.png
81%{_iconsdir}/hicolor/32x32/apps/blinken.png
82%{_iconsdir}/hicolor/48x48/apps/blinken.png
83%{_iconsdir}/hicolor/64x64/apps/blinken.png
84%{_iconsdir}/hicolor/scalable/apps/blinken.svgz
85%{_datadir}/metainfo/org.kde.blinken.appdata.xml
This page took 0.031611 seconds and 4 git commands to generate.