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

Revision 9222, 3.5 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

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