source: projects/specs/tags/6_0_REL/m/missile/missile-vl.spec @ 4178

Revision 4178, 2.1 KB checked in by kazutaka, 13 years ago (diff)

Vine Linux 6 向けに更新

Line 
1Summary: A clone of the Atari save-your-city-from-impending-nuclear-doom game.
2Summary(ja): ミサイルで都市を防衛するゲーム
3Name: missile
4Version: 1.0.1
5Release: 2%{?_dist_release}
6License: GPL
7URL: http://missile.sourceforge.net/
8Group: Applications/Games
9Source: missile-%{version}.tar.gz
10Patch0: missile.userbuild.patch
11Patch1: missile.desktop.patch
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: SDL-devel, SDL_image-devel, SDL_mixer-devel
15Requires: SDL, SDL_image, SDL_mixer
16Vendor: Project Vine
17Distribution: Vine Linux
18#Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
19
20%description
21Protect your city from nuclear disaster by destroying incoming
22warheads with your anti-missile SAMs.
23
24%description -l ja
25地対空ミサイルを使って、飛来するミサイルから都市を防衛せよ。
26
27%prep
28%setup
29%patch0 -p1
30%patch1 -p1
31
32%build
33make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" game_prefix=%{_prefix}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make install game_prefix=$RPM_BUILD_ROOT%{_prefix}
38
39#hackery to get the conf files in the right places
40#make create_etc_conf game_prefix=%{prefix}
41#mkdir -p $RPM_BUILD_ROOT/etc
42#mv /etc/missilecommand.conf $RPM_BUILD_ROOT/etc/missilecommand.conf
43
44# install desktop
45mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
46install -p -m0644  %{name}.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,games)
53%doc README INSTALL COPYING.GPL missile.kdelnk
54# %config /etc/missilecommand.conf
55%{_bindir}/missile
56%{_datadir}/missile
57%{_datadir}/pixmaps/missile_icon_*.png
58%{_datadir}/applications/
59
60%changelog
61* Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.1-2
62- rebuild for Vine Linux 6
63
64* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-1vl5
65- applied new versioning policy, spec in utf-8
66
67* Thu Oct 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-0vl1
68- updated to 1.0.1
69- changed Group to Applications/Games
70
71* Fri Feb 5 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.0.0-1vl1
72- based on orginal rpm
73- userbuild
74- add desktop category
75
76* Thu Jun 29 2000 Julian Peterson <weaver@earthcorp.com>
77- first release as a rpm
Note: See TracBrowser for help on using the repository browser.