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

Revision 5594, 2.4 KB checked in by munepi, 12 years ago (diff)

updated blockrage-vl.spec

RevLine 
[521]1Summary: Block Rage is a "falling-blocks" arcade game,
2Summary(ja): コラムスみたいなゲーム
[5594]3Name: blockrage
4Version: 0.2.3
5Release: 2%{?_dist_release}
[521]6Source0: %{name}-%{version}.tar.gz
[5594]7Source1: blockrage.desktop
8License: GPLv2+
[521]9Group: Applications/Games
10URL: http://blockrage.sourceforge.net/
11
[5594]12Requires(post,postun): desktop-file-utils
[521]13Requires: SDL >= 1.2.0
14BuildRequires:  SDL-devel
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17%description
18Block Rage is a "falling-blocks" arcade game, inspired by a DOS
19classic. It features a two-player hotseat mode. In the future
20it should also feature nice graphics and sound.
21
22
23%prep
24%setup -q
25
26%build
27./configure \
[5594]28    --prefix=%{_prefix} \
29    --bindir=%{_bindir} \
30    --datadir=%{_datadir}/games \
31    --sysconfdir=%{_sysconfdir} \
32    --mandir=%{_mandir} \
33    ;
34%__make %{?_smp_mflags}
[521]35
36%install
[5594]37%__rm -rf ${RPM_BUILD_ROOT}
38%__make DESTDIR=${RPM_BUILD_ROOT} install
[521]39
[5594]40%__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/applications
41%__install -m0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications
42
[521]43%clean
[5594]44%__rm -rf ${RPM_BUILD_ROOT}
[521]45
[5594]46%post
47# touch --no-create %{_datadir}/icons/hicolor
48# if [ -x %{_bindir}/gtk-update-icon-cache ]; then
49#   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
50# fi
51%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
[521]52
[5594]53%postun
54%{_bindir}/update-desktop-database --quiet %{_datadir}/applications
55# touch --no-create %{_datadir}/icons/hicolor
56# if [ -x %{_bindir}/gtk-update-icon-cache ]; then
57#   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
58# fi || :
59
60
[521]61%files
62%defattr(-,root,root)
[5594]63%doc COPYING ChangeLog INSTALL.txt KNOWN_BUGS README TODO
64%{_datadir}/games/%{name}
65%{_bindir}/blockrage
66%{_datadir}/applications/%{name}.desktop
[521]67%{_mandir}/man6/blockrage.6.gz
[5594]68%{_sysconfdir}/%{name}
[521]69
70
71%changelog
[5594]72* Wed Feb  8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-2
73- fixed License tag
74
[521]75* Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.3-1vl5
76- applied new versioning policy, spec in utf-8
77- updated man-path to %%{_mandir}
78
79* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl2
80- rebuild for VineSeed
81
82* Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl1
83- initial build for Vine Linux
84
85# * Tue Oct 25 2005 0.2.3-0vl1
86# - update
87
88# * Mon Sep 26 2005 0.2.2-0vl1
89# - initial build for Vine Linux
90
91# end of file
Note: See TracBrowser for help on using the repository browser.