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