source: projects/specs/trunk/k/killbots/killbots-vl.spec @ 10564

Revision 10564, 2.9 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: killbots
2Summary: Evading killer robots game for KDE
3Version: 4.14.3
4Release: 2%{?_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
25Killbots is a simple game of evading killer robots. Who created the robots and why
26they have been programmed to destroy, no one knows. All that is known is that the
27robots are numerous and their sole objective is to destroy you. Fortunately for you,
28their creator has focused on quantity rather than quality and as a result the robots
29are severely lacking in intelligence. Your superior wit and a fancy teleportation
30device are your only weapons against the never-ending stream of mindless automatons.
31
32
33%prep
34%setup -q
35
36%build
37mkdir -p %{_target_platform}
38pushd %{_target_platform}
39%cmake \
40    -DCMAKE_BUILD_TYPE=release \
41    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
42    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
43    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
44    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
45    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
46    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
47    ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
56
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
63
64%posttrans
65gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
66update-desktop-database -q &> /dev/null ||:
67
68%postun
69if [ $1 -eq 0 ] ; then
70    touch --no-create %{_datadir}/icons/hicolor &> /dev/null
71    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
72        update-desktop-database -q &> /dev/null ||:
73fi
74
75
76%files
77%defattr(-,root,root)
78%doc COPYING COPYING.DOC
79%{_bindir}/%{name}
80%{_datadir}/applications/kde4/%{name}.desktop
81%{_datadir}/config.kcfg/%{name}.kcfg
82%{_datadir}/icons/hicolor/*/*/*
83%{_datadir}/kde4/apps/%{name}
84%doc %{_docdir}/HTML/en/%{name}/
85
86
87%changelog
88* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
89- rebuild with gcc-5.4.0
90
91* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
92- new upstream release
93
94* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
95- new upstream release
96
97* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
98- new upstream release
99
100* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
101- new upstream release
102
103* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
104- new upstream release
105
106* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
107- initial build
Note: See TracBrowser for help on using the repository browser.