source: projects/specs/trunk/x/xsoldier/xsoldier-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name xsoldier
2%define version 1.4
3%define release 1%{?_dist_release}
4
5Summary: xsoldier is a X11 shoot-em up game for Linux.
6Summary(ja): X11上で動くシューティングゲーム
7Name: %{name}
8Version: %{version}
9Release: %{release}
10Source0: %{name}-%{version}.tar.gz
11License: GNU General Public License
12Group: Applications/Games
13URL: http://www.interq.or.jp/libra/oohara/xsoldier/
14
15Requires: SDL, SDL_image
16BuildRequires:  SDL_image-devel
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19
20%description
21xsoldier is a X11 shoot-em up game for Linux. It was created by Yuusuke HASHIMOTO <hachi@surfline.ne.jp>. The webpage of the original author is [http://www.surfline.ne.jp/hachi/xsoldier.html]. I took over the development of xsoldier.
22
23#%desctiption -l ja
24
25
26%prep
27rm -rf ${RPM_BUILD_ROOT}
28
29%setup -q
30
31%build
32./configure --prefix=/usr --with-sdl
33make
34
35%install
36make DESTDIR=${RPM_BUILD_ROOT} mandir=%{_mandir} install
37mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
38cat >  ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
39[Desktop Entry]
40Name=xsoldier
41Comment=xsoldier is a X11 shoot-em up game for Linux.
42TryExec=xsoldier
43Exec=/usr/bin/xsoldier
44Icon=
45Terminal=0
46Type=Application
47Categories=GNOME;Application;Game
48EOF
49
50%clean
51rm -rf ${RPM_BUILD_ROOT}
52
53
54%files
55%defattr(-,root,root)
56/usr/bin/xsoldier
57/usr/share/games/xsoldier
58/usr/var/games/xsoldier/xsoldier.scores
59/usr/share/applications/%{name}.desktop
60%{_mandir}/man6/xsoldier.6.gz
61
62
63%changelog
64* Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-1vl5
65- applied new versioning policy, spec in utf-8
66- updated man-path to %%{_mandir}
67
68* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4-0vl2
69- rebuild for VineSeed
70
71* Wed Mar 21 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4-0vl1
72- initial build for Vine Linux
73
74# end of file
Note: See TracBrowser for help on using the repository browser.