source: projects/specs/trunk/f/fillets-ng/fillets-ng-vl.spec @ 1402

Revision 1402, 3.5 KB checked in by munepi, 14 years ago (diff)

updated fillets-ng

Line 
1%define dataversion 0.9.2
2
3Summary:        a Linux port of wonderful puzzle game Fish Fillets
4Summary(ja):    海をモチーフにした倉庫番形式のパズルゲーム
5Name:           fillets-ng
6Version:        0.9.3
7Release:        1%{?_dist_release}
8Source0:        %{name}-%{version}.tar.gz
9Source1:        %{name}-data-%{dataversion}.tar.gz
10License:        GNU GENERAL PUBLIC LICENSE Version 2
11Group:          Applications/Games
12URL:            http://fillets.sourceforge.net/
13
14Requires:       SDL SDL_mixer SDL_image SDL_ttf
15Requires:       lua
16BuildRequires:  SDL-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel
17BuildRequires:  lua-devel
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21Obsoletes:      fillets-ng-data < 0.9.0
22
23Vendor:         Project Vine
24Distribution:   Vine Linux
25Packager:       munepi
26
27%description
28Fish Fillets NG is a Linux port of wonderful puzzle game Fish Fillets from ALTAR interactive.
29
30%description -l ja
31Fish Fillets NG は,ALTAR interactive による不可思議なパズルゲーム
32Fish Fillets の Linux port です.
33
34
35%prep
36%__rm -rf ${RPM_BUILD_ROOT}
37%setup -q
38
39%build
40%configure --datadir=%{_datadir}/games/fillets-ng
41%{__make} %{?_smp_mflags}
42
43%install
44%__rm -rf ${RPM_BUILD_ROOT}
45%makeinstall
46
47# dataファイルのインストール
48%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/games
49tar zxf %{SOURCE1} -C ${RPM_BUILD_ROOT}/%{_datadir}/games
50%__mv ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}-data-%{dataversion} \
51    ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}
52
53%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
54%__install -m 644 ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}/images/icon.png \
55    ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/fillets.png
56%__install -d ${RPM_BUILD_ROOT}/%{_datadir}/applications
57
58cat >  ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop <<EOF
59[Desktop Entry]
60Name=Fish Fillets - Next Generation
61Comment=Fish Fillets is strictly a puzzle game.
62TryExec=fillets
63Exec=/usr/bin/fillets systemdir="%{_datadir}/games/fillets-ng"
64Icon=fillets.png
65Terminal=false
66Type=Application
67Categories=GNOME;Application;Game
68EOF
69
70
71%clean
72%__rm -rf ${RPM_BUILD_ROOT}
73
74
75%files
76%defattr(-,root,root)
77%{_bindir}/fillets
78%{_datadir}/pixmaps/fillets.png
79%{_datadir}/applications/%{name}.desktop
80%{_mandir}/man6/fillets.6.gz
81%{_datadir}/games/%{name}/
82
83
84%changelog
85* Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.3-1
86- new upstream release
87
88* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.2-1
89- new upstream release
90
91* Sun Aug 02 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
92- new upstream release
93- added Summary(ja) tag
94- obsoleted fillets-ng-data < 0.9.0
95
96* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.1-1
97- new upstream release
98
99* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-1vl5
100- applied new versioning policy, spec in utf-8
101
102* Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl4
103- rebuilt
104
105* Sun Jan 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl3
106- added "--datadir=%%{_datadir}/games/fillets-ng" to configure
107
108* Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl2
109- new upstream release
110- updated desktop file
111
112* Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.4-0vl1
113- initial build for Vine Linux 4.1
114 - new upstream release for Vine Linux 4.1
115 - drop fillets-ng-0.7.4-lua-pkgconfig.patch
116
117* Fri Dec 16 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.3-0vl1
118- update base system to 0.7.3 (but data version is 0.7.1)
119
120* Sat Jul 23 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.1-0vl1
121- initial build for Vine Linux 3.2
122
123# end of file
Note: See TracBrowser for help on using the repository browser.