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

Revision 4685, 1.9 KB checked in by munepi, 13 years ago (diff)

updated xbat-vl.spec; updated xsoldier-vl.spec; added xgalaga/xgalaga-vl.spec

Line 
1%define name xsoldier
2%define version 1.8
3%define release 1%{?_dist_release}
4
5Summary: X11 shoot-em up game
6Summary(ja): X11上で動くシューティングゲーム
7Name: %{name}
8Version: %{version}
9Release: %{release}
10Source0: %{name}-%{version}.tar.gz
11SOURCE10: %{name}.desktop
12SOURCE11: %{name}.png
13License: GPLv2+
14Group: Applications/Games
15URL: http://www.interq.or.jp/libra/oohara/xsoldier/
16
17Requires:       SDL SDL_image libX11 libXpm
18BuildRequires:  SDL_image-devel libX11-devel libXpm-devel
19BuildRequires:  desktop-file-utils
20BuildRoot: %{_tmppath}/%{name}-%{version}-root
21
22
23%description
24xsoldier is a X11 shoot-em up game for Linux.
25
26
27%prep
28%__rm -rf ${RPM_BUILD_ROOT}
29
30%setup -q
31
32%build
33%configure --with-sdl
34%__make
35
36%install
37%__make DESTDIR=${RPM_BUILD_ROOT} mandir=%{_mandir} install
38%__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/applications
39%__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
40desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE10}
41%__cp -a %{SOURCE11} %{buildroot}%{_datadir}/pixmaps/
42
43%clean
44%__rm -rf ${RPM_BUILD_ROOT}
45
46
47%files
48%defattr(-,root,root)
49%doc README LICENSE INSTALL GPL ChangeLog COPYING
50%{_bindir}/xsoldier
51%{_datadir}/games/xsoldier
52%attr(666,root,root) %{_localstatedir}/games/xsoldier/xsoldier.scores
53%{_datadir}/applications/%{name}.desktop
54%{_datadir}/pixmaps/%{name}.png
55%{_mandir}/man*/xsoldier.*.gz
56
57
58%changelog
59* Mon Aug 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
60- new upstream release
61- stored xsoldier.scores to /var/games/xsoldier
62- added xsoldier.desktop
63- added BuildRequires: libX11-devel libXpm-devel desktop-file-utils
64
65* Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-1vl5
66- applied new versioning policy, spec in utf-8
67- updated man-path to %%{_mandir}
68
69* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4-0vl2
70- rebuild for VineSeed
71
72* Wed Mar 21 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4-0vl1
73- initial build for Vine Linux
74
75# end of file
Note: See TracBrowser for help on using the repository browser.