source: projects/specs/trunk/k/kgoldrunner/kgoldrunner-vl.spec @ 9222

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

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

Line 
1Name: kgoldrunner
2Summary: Hunt Gold, Dodge Enemies and Solve Puzzles for KDE
3Version: 4.14.3
4Release: 1%{?_dist_release}
5
6License: GPLv2
7Group: Applications/Games
8URL: http://www.kde.org/applications/games/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: desktop-file-utils
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libkdegames-devel >= %{version}
17
18Requires(posttrans,postun): desktop-file-utils
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24%description
25KGoldrunner is an action game where the hero runs through a maze, climbs stairs,
26dig holes and dodges enemies in order to collect all the gold nuggets and escape
27to the next level. Your enemies are also after the gold. Worse still, they are
28after you!.
29
30
31%prep
32%setup -q
33
34%build
35mkdir -p %{_target_platform}
36pushd %{_target_platform}
37%cmake \
38    -DCMAKE_BUILD_TYPE=release \
39    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
40    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
41    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
42    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
43    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
44    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
45    ..
46popd
47
48make %{?_smp_mflags} -C %{_target_platform}
49
50
51%install
52rm -rf $RPM_BUILD_ROOT
53make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
54
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%post
60touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
61
62%posttrans
63gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
64update-desktop-database -q &> /dev/null ||:
65
66%postun
67if [ $1 -eq 0 ] ; then
68    touch --no-create %{_datadir}/icons/hicolor &> /dev/null
69    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
70        update-desktop-database -q &> /dev/null ||:
71fi
72
73
74%files
75%defattr(-,root,root)
76%doc COPYING COPYING.DOC
77%{_bindir}/%{name}
78%{_datadir}/applications/kde4/KGoldrunner.desktop
79%{_datadir}/config/%{name}.knsrc
80%{_datadir}/icons/hicolor/*/*/*
81%{_datadir}/kde4/apps/%{name}
82%doc %{_docdir}/HTML/en/%{name}/
83
84
85%changelog
86* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
87- new upstream release
88
89* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
90- new upstream release
91
92* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
93- new upstream release
94
95* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
96- new upstream release
97
98* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
99- new upstream release
100
101* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
102- initial build
Note: See TracBrowser for help on using the repository browser.