source: projects/specs/trunk/b/blockrage/blockrage-vl.spec @ 521

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

import VineSeed package specs

Line 
1%define name blockrage
2%define version 0.2.3
3%define release 1%{?_dist_release}
4
5Summary: Block Rage is a "falling-blocks" arcade game,
6Summary(ja): コラムスみたいなゲーム
7Name: %{name}
8Version: %{version}
9Release: %{release}
10#Source0: %{name}-%{version}.tar.bz2
11Source0: %{name}-%{version}.tar.gz
12License: GNU General Public License
13Group: Applications/Games
14URL: http://blockrage.sourceforge.net/
15
16Requires: SDL >= 1.2.0
17BuildRequires:  SDL-devel
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20%description
21Block Rage is a "falling-blocks" arcade game, inspired by a DOS
22classic. It features a two-player hotseat mode. In the future
23it should also feature nice graphics and sound.
24
25#%desctiption -l ja
26
27
28%prep
29rm -rf ${RPM_BUILD_ROOT}
30
31%setup -q
32
33%build
34./configure \
35    --bindir=/usr/bin \
36    --sysconfdir=/usr/share/games \
37    --datadir=/usr/share/games \
38    --mandir=%{_mandir}
39make
40
41%install
42make DESTDIR=${RPM_BUILD_ROOT} install
43mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
44cat >  ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
45[Desktop Entry]
46Name=Block Rage
47Comment=Block Rage is a "falling-blocks" arcade game.
48TryExec=blockrage
49Exec=/usr/bin/blockrage
50Icon=
51Terminal=0
52Type=Application
53Categories=GNOME;Application;Game
54EOF
55
56%clean
57rm -rf ${RPM_BUILD_ROOT}
58
59
60%files
61%defattr(-,root,root)
62/usr/share/games/blockrage
63/usr/bin/blockrage
64/usr/share/applications/%{name}.desktop
65%{_mandir}/man6/blockrage.6.gz
66
67
68%changelog
69* Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.3-1vl5
70- applied new versioning policy, spec in utf-8
71- updated man-path to %%{_mandir}
72
73* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl2
74- rebuild for VineSeed
75
76* Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl1
77- initial build for Vine Linux
78
79# * Tue Oct 25 2005 0.2.3-0vl1
80# - update
81
82# * Mon Sep 26 2005 0.2.2-0vl1
83# - initial build for Vine Linux
84
85# end of file
Note: See TracBrowser for help on using the repository browser.