]> git.pld-linux.org Git - packages/ka5-blinken.git/blame - ka5-blinken.spec
- updated to 18.12.1; ninja
[packages/ka5-blinken.git] / ka5-blinken.spec
CommitLineData
970a470b 1%define kdeappsver 18.12.1
4238ef64 2%define qtver 5.9.0
70aafa2f
WF
3%define kaname blinken
4Summary: Blinken
5Name: ka5-%{kaname}
970a470b 6Version: 18.12.1
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
970a470b 11# Source0-md5: 121130657067286198300cdef9e40059
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
970a470b 26BuildRequires: ninja
4238ef64 27BuildRequires: phonon-qt5-devel
70aafa2f
WF
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: shared-mime-info
31BuildRequires: tar >= 1:1.22
32BuildRequires: xz
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
4238ef64
WF
36Blinken is based on an electronic game released in 1978, which
37challenges players to remember sequences of increasing length. On the
38face of the device, there are 4 different color buttons, each one with
39their own distinctive sound. These buttons light up randomly, creating
40the sequence that the player must then recall. If the player is
41successful in remembering the sequence of lights in the correct order,
42he advances to the next stage, where an identical sequence with one
43extra step is presented. If the player makes a mistake, the game is
44lost, and the player must start again from the beginning. The goal is
45to get a high score - each step in the sequence is worth one point, so
46correct entry of a sequence of 8 lights is worth 8 points on the high
47score table.
70aafa2f
WF
48
49%prep
50%setup -q -n %{kaname}-%{version}
51
52%build
53install -d build
54cd build
55%cmake \
970a470b 56 -G Ninja \
70aafa2f
WF
57 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
58 ..
970a470b 59%ninja_build
70aafa2f
WF
60
61%install
62rm -rf $RPM_BUILD_ROOT
970a470b 63%ninja_install -C build
70aafa2f
WF
64
65%find_lang %{kaname} --all-name --with-kde
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files -f %{kaname}.lang
74%defattr(644,root,root,755)
75%attr(755,root,root) %{_bindir}/blinken
76%{_desktopdir}/org.kde.blinken.desktop
77%{_datadir}/blinken
78%{_datadir}/config.kcfg/blinken.kcfg
79%{_iconsdir}/hicolor/128x128/apps/blinken.png
80%{_iconsdir}/hicolor/16x16/apps/blinken.png
81%{_iconsdir}/hicolor/22x22/apps/blinken.png
82%{_iconsdir}/hicolor/32x32/apps/blinken.png
83%{_iconsdir}/hicolor/48x48/apps/blinken.png
84%{_iconsdir}/hicolor/64x64/apps/blinken.png
85%{_iconsdir}/hicolor/scalable/apps/blinken.svgz
86%{_datadir}/metainfo/org.kde.blinken.appdata.xml
This page took 0.113733 seconds and 4 git commands to generate.