Summary: A clone of the Atari save-your-city-from-impending-nuclear-doom game. Summary(ja): ミサイルで都市を防衛するゲーム Name: missile Version: 1.0.1 Release: 3%{?_dist_release} License: GPL URL: http://missile.sourceforge.net/ Group: Applications/Games Source: missile-%{version}.tar.gz Patch0: missile.userbuild.patch Patch1: missile.desktop.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: SDL-devel, SDL_image-devel, SDL_mixer-devel Requires: SDL, SDL_image, SDL_mixer Vendor: Project Vine Distribution: Vine Linux #Packager: OOI Keita %description Protect your city from nuclear disaster by destroying incoming warheads with your anti-missile SAMs. %description -l ja 地対空ミサイルを使って、飛来するミサイルから都市を防衛せよ。 %prep %setup %patch0 -p1 %patch1 -p1 %build sed -i 's|$(SND_LIBS)|$(SND_LIBS) -lm|' Makefile make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" game_prefix=%{_prefix} %install rm -rf $RPM_BUILD_ROOT make install game_prefix=$RPM_BUILD_ROOT%{_prefix} #hackery to get the conf files in the right places #make create_etc_conf game_prefix=%{prefix} #mkdir -p $RPM_BUILD_ROOT/etc #mv /etc/missilecommand.conf $RPM_BUILD_ROOT/etc/missilecommand.conf # install desktop mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications install -p -m0644 %{name}.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,games) %doc README INSTALL COPYING.GPL missile.kdelnk %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/pixmaps/missile_icon_*.png %{_datadir}/applications/%{name}.desktop %changelog * Sun Jan 25 2015 Yoji TOYODA 1.0.1-3 - rebuild with VineSeed environment * Sat Jun 18 2011 Kazutaka HARADA 1.0.1-2 - rebuild for Vine Linux 6 * Sat Oct 04 2008 Shu KONNO 1.0.1-1vl5 - applied new versioning policy, spec in utf-8 * Thu Oct 19 2006 Ryoichi INAGAKI - 1.0.1-0vl1 - updated to 1.0.1 - changed Group to Applications/Games * Sat Feb 5 2005 OOI Keita - 1.0.0-1vl1 - based on orginal rpm - userbuild - add desktop category * Thu Jun 29 2000 Julian Peterson - first release as a rpm