|
@@ -1,13 +1,10 @@
|
|
-%define prefix /usr
|
|
|
|
-
|
|
|
|
Summary: A clone of the Atari save-your-city-from-impending-nuclear-doom game.
|
|
Summary: A clone of the Atari save-your-city-from-impending-nuclear-doom game.
|
|
Summary(ja): ミサイルで都市を防衛するゲーム
|
|
Summary(ja): ミサイルで都市を防衛するゲーム
|
|
Name: missile
|
|
Name: missile
|
|
-Prefix: %prefix
|
|
|
|
Version: 1.0.1
|
|
Version: 1.0.1
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
-Url: http://missile.sourceforge.net/
|
|
|
|
|
|
+URL: http://missile.sourceforge.net/
|
|
Group: Applications/Games
|
|
Group: Applications/Games
|
|
Source: missile-%{version}.tar.gz
|
|
Source: missile-%{version}.tar.gz
|
|
Patch0: missile.userbuild.patch
|
|
Patch0: missile.userbuild.patch
|
|
@@ -18,7 +15,7 @@ BuildRequires: SDL-devel, SDL_image-devel, SDL_mixer-devel
|
|
Requires: SDL, SDL_image, SDL_mixer
|
|
Requires: SDL, SDL_image, SDL_mixer
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
-Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
|
|
|
|
|
|
+#Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
|
|
|
|
|
|
%description
|
|
%description
|
|
Protect your city from nuclear disaster by destroying incoming
|
|
Protect your city from nuclear disaster by destroying incoming
|
|
@@ -33,11 +30,11 @@ warheads with your anti-missile SAMs.
|
|
%patch1 -p1
|
|
%patch1 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" game_prefix=%{prefix}
|
|
|
|
|
|
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" game_prefix=%{_prefix}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-make install game_prefix=$RPM_BUILD_ROOT%{prefix}
|
|
|
|
|
|
+make install game_prefix=$RPM_BUILD_ROOT%{_prefix}
|
|
|
|
|
|
#hackery to get the conf files in the right places
|
|
#hackery to get the conf files in the right places
|
|
#make create_etc_conf game_prefix=%{prefix}
|
|
#make create_etc_conf game_prefix=%{prefix}
|
|
@@ -55,19 +52,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
%defattr(-,root,games)
|
|
%defattr(-,root,games)
|
|
%doc README INSTALL COPYING.GPL missile.kdelnk
|
|
%doc README INSTALL COPYING.GPL missile.kdelnk
|
|
# %config /etc/missilecommand.conf
|
|
# %config /etc/missilecommand.conf
|
|
-
|
|
|
|
-%{prefix}/bin/missile
|
|
|
|
-%{prefix}/share/missile
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_black.png
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_blue.png
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_green.png
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_red.png
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_white.png
|
|
|
|
-%{prefix}/share/pixmaps/missile_icon_yellow.png
|
|
|
|
|
|
+%{_bindir}/missile
|
|
|
|
+%{_datadir}/missile
|
|
|
|
+%{_datadir}/pixmaps/missile_icon_*.png
|
|
%{_datadir}/applications/
|
|
%{_datadir}/applications/
|
|
|
|
|
|
-
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.1-2
|
|
|
|
+- rebuild for Vine Linux 6
|
|
|
|
+
|
|
* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-1vl5
|
|
* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-1vl5
|
|
- applied new versioning policy, spec in utf-8
|
|
- applied new versioning policy, spec in utf-8
|
|
|
|
|