source: projects/specs/trunk/b/blinken/blinken-vl.spec @ 8056

Revision 8056, 3.2 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.11.4
exiv2-0.24
wireshark-1.10.5, etc...

Line 
1Name: blinken
2Summary: KDE version of the Simon electronic memory game
3Version: 4.11.4
4Release: 1%{?_dist_release}
5
6License: GPLv2+
7Group: Applications/Edutainment
8URL: http://edu.kde.org/blinken/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12## upstream patches
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: desktop-file-utils
16BuildRequires: kdelibs4-devel >= %{version}
17
18Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
19
20Conflicts: kdeedu4 < 4.6.50
21
22%description
23Blinken is based on an electronic game released in 1978, which
24challenges players to remember sequences of increasing length.
25On the face of the device, there are 4 different color buttons,
26each with its own distinctive sound. These buttons light up randomly,
27creating the sequence that the player must then recall. If the
28player is successful in remembering the sequence of lights in
29the correct order, they advance to the next stage, where an identical
30sequence with one extra step is presented.
31
32This package is part of the KDE education module.
33
34%prep
35%setup -q
36
37%build
38mkdir -p %{_target_platform}
39pushd %{_target_platform}
40%cmake \
41    -DCMAKE_BUILD_TYPE=release \
42    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
43    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
44    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
45    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
46    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
47    ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%check
61for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
62    desktop-file-validate $f
63done
64
65
66%post
67touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
68
69%posttrans
70update-desktop-database -q &> /dev/null ||:
71gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
72
73%postun
74if [ $1 -eq 0 ] ; then
75    update-desktop-database -q &> /dev/null ||:
76    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
77    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
78fi
79
80%files
81%defattr(-,root,root)
82%doc COPYING COPYING.DOC
83%{_bindir}/blinken
84%{_datadir}/applications/kde4/blinken.desktop
85%{_datadir}/config.kcfg/blinken.kcfg
86%{_datadir}/icons/hicolor/*/*/*
87%{_datadir}/kde4/apps/blinken
88%doc %{_docdir}/HTML/en/blinken/
89
90%changelog
91* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
92- new upstream release
93
94* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
95- new upstream release
96
97* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
98- new upstream release
99
100* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
101- new upstream release
102
103* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
104- new upstream release
105
106* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
107- new upstream release
108
109* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
110- new upstream release
111
112* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
113- new upstream release
114
115* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
116- split from kdeedu
117
Note: See TracBrowser for help on using the repository browser.