[521] | 1 | %define dataversion 0.9.2 |
---|
| 2 | |
---|
| 3 | Summary: a Linux port of wonderful puzzle game Fish Fillets |
---|
| 4 | Summary(ja): 海をモチーフにした倉庫番形式のパズルゲーム |
---|
| 5 | Name: fillets-ng |
---|
| 6 | Version: 0.9.2 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | Source0: %{name}-%{version}.tar.gz |
---|
| 9 | Source1: %{name}-data-%{dataversion}.tar.gz |
---|
| 10 | License: GNU GENERAL PUBLIC LICENSE Version 2 |
---|
| 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 SDL_mixer-devel SDL_image-devel SDL_ttf-devel |
---|
| 17 | BuildRequires: lua-devel |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | Obsoletes: fillets-ng-data < 0.9.0 |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: munepi |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Fish Fillets NG is a Linux port of wonderful puzzle game Fish Fillets from ALTAR interactive. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | Fish Fillets NG は,ALTAR interactive による不可思議なパズルゲーム |
---|
| 32 | Fish 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 |
---|
| 49 | tar 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 | |
---|
| 58 | cat > ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop <<EOF |
---|
| 59 | [Desktop Entry] |
---|
| 60 | Name=Fish Fillets - Next Generation |
---|
| 61 | Comment=Fish Fillets is strictly a puzzle game. |
---|
| 62 | TryExec=fillets |
---|
| 63 | Exec=/usr/bin/fillets systemdir="%{_datadir}/games/fillets-ng" |
---|
| 64 | Icon=fillets.png |
---|
| 65 | Terminal=false |
---|
| 66 | Type=Application |
---|
| 67 | Categories=GNOME;Application;Game |
---|
| 68 | EOF |
---|
| 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 | * Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.2-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
| 88 | * Sun Aug 02 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1 |
---|
| 89 | - new upstream release |
---|
| 90 | - added Summary(ja) tag |
---|
| 91 | - obsoleted fillets-ng-data < 0.9.0 |
---|
| 92 | |
---|
| 93 | * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.1-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
| 96 | * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-1vl5 |
---|
| 97 | - applied new versioning policy, spec in utf-8 |
---|
| 98 | |
---|
| 99 | * Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl4 |
---|
| 100 | - rebuilt |
---|
| 101 | |
---|
| 102 | * Sun Jan 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl3 |
---|
| 103 | - added "--datadir=%%{_datadir}/games/fillets-ng" to configure |
---|
| 104 | |
---|
| 105 | * Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl2 |
---|
| 106 | - new upstream release |
---|
| 107 | - updated desktop file |
---|
| 108 | |
---|
| 109 | * Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.4-0vl1 |
---|
| 110 | - initial build for Vine Linux 4.1 |
---|
| 111 | - new upstream release for Vine Linux 4.1 |
---|
| 112 | - drop fillets-ng-0.7.4-lua-pkgconfig.patch |
---|
| 113 | |
---|
| 114 | * Fri Dec 16 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.3-0vl1 |
---|
| 115 | - update base system to 0.7.3 (but data version is 0.7.1) |
---|
| 116 | |
---|
| 117 | * Sat Jul 23 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.1-0vl1 |
---|
| 118 | - initial build for Vine Linux 3.2 |
---|
| 119 | |
---|
| 120 | # end of file |
---|