source: projects/specs/trunk/m/missile/missile-vl.spec @ 9291

Revision 9291, 2.3 KB checked in by Takemikaduchi, 9 years ago (diff)

libdbi-drivers,goffice08,guile18: NEW package
geda-gaf,missile,rrdtool,trackballs,trackballs-music,ulogd,xkeycaps,xorg-x11-jpfonts: rebuild
others: new upstream release

Line 
1Summary: A clone of the Atari save-your-city-from-impending-nuclear-doom game.
2Summary(ja): ミサイルで都市を防衛するゲーム
3Name: missile
4Version: 1.0.1
5Release: 3%{?_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
33sed -i 's|$(SND_LIBS)|$(SND_LIBS) -lm|' Makefile
34make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" game_prefix=%{_prefix}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make install game_prefix=$RPM_BUILD_ROOT%{_prefix}
39
40#hackery to get the conf files in the right places
41#make create_etc_conf game_prefix=%{prefix}
42#mkdir -p $RPM_BUILD_ROOT/etc
43#mv /etc/missilecommand.conf $RPM_BUILD_ROOT/etc/missilecommand.conf
44
45# install desktop
46mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
47install -p -m0644  %{name}.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(-,root,games)
54%doc README INSTALL COPYING.GPL missile.kdelnk
55%{_bindir}/%{name}
56%{_datadir}/%{name}
57%{_datadir}/pixmaps/missile_icon_*.png
58%{_datadir}/applications/%{name}.desktop
59
60%changelog
61* Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-3
62- rebuild with VineSeed environment
63
64* Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0.1-2
65- rebuild for Vine Linux 6
66
67* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.1-1vl5
68- applied new versioning policy, spec in utf-8
69
70* Thu Oct 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-0vl1
71- updated to 1.0.1
72- changed Group to Applications/Games
73
74* Sat Feb 5 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.0.0-1vl1
75- based on orginal rpm
76- userbuild
77- add desktop category
78
79* Thu Jun 29 2000 Julian Peterson <weaver@earthcorp.com>
80- first release as a rpm
Note: See TracBrowser for help on using the repository browser.