e4a6c82
Summary: Fish Fillets Next Generation, a puzzle game with 70 levels
e4a6c82
Name: fillets-ng
0ec99de
Version: 1.0.1
58422d0
Release: 18%{?dist}
55ef1e9
License: GPLv2+
e4a6c82
URL: http://fillets.sourceforge.net/
7e50b0e
Source0: http://downloads.sf.net/fillets/fillets-ng-%{version}.tar.gz
e4a6c82
Source1: fillets.desktop
b2085ab
# fillets.svg is based on doc/html/img/icon.png from upstreams fillets-ng-data.
b2085ab
# inkscape was used to smooth things out and the outer boundries were converted 
b2085ab
# to exact cirles.
b2085ab
Source2: fillets.svg
6cb8162
Patch0: fillets-ng-0.8.1-gcc43.patch
3d401b8
# http://sourceforge.net/p/fillets/bugs/7/
3d401b8
Patch1: fillets-ng-1.0.1-lua-5.2.patch
3d401b8
Requires: fillets-ng-data >= 1.0.1-4
1f08c9b
Requires: hicolor-icon-theme
38d66d2
BuildRequires:  gcc-c++
f964997
BuildRequires: SDL-devel
f964997
BuildRequires: SDL_mixer-devel
f964997
BuildRequires: SDL_image-devel
f964997
BuildRequires: SDL_ttf-devel
64f61c4
BuildRequires: pkgconfig(fribidi)
3d401b8
BuildRequires: pkgconfig(lua)
f964997
BuildRequires: desktop-file-utils
36458ad
BuildRequires: /usr/bin/appstream-util
f964997
Requires(post): coreutils
f964997
Requires(postun): coreutils
a583a56
a583a56
%description
a583a56
Fish Fillets is strictly a puzzle game. The goal in every of the
a583a56
seventy levels is always the same: find a safe way out. The fish utter
a583a56
witty remarks about their surroundings, the various inhabitants of
a583a56
their underwater realm quarrel among themselves or comment on the
a583a56
efforts of your fish. The whole game is accompanied by quiet,
a583a56
comforting music.
a583a56
a583a56
a583a56
%prep
a583a56
%setup -q
b348601
%patch0 -p1 -b .gcc43
3d401b8
%patch1 -p0 -b .lua52
a583a56
a583a56
a583a56
%build
3d401b8
%configure --datadir=%{_datadir}/fillets-ng
a583a56
%{__make} %{?_smp_mflags}
a583a56
a583a56
a583a56
%install
7e50b0e
%{__make} install DESTDIR=%{buildroot}
a583a56
a583a56
# Install desktop file
a583a56
%{__mkdir_p} %{buildroot}%{_datadir}/applications
7e50b0e
desktop-file-install \
7e50b0e
    --vendor="" \
e4a6c82
    --dir %{buildroot}%{_datadir}/applications \
e4a6c82
    %{SOURCE1}
a583a56
a583a56
# Install themeable icon
7e50b0e
%{__install} -D -p -m 0644 %{SOURCE2} \
b2085ab
    %{buildroot}%{_datadir}/icons//hicolor/scalable/apps/fillets.svg
a583a56
Richard Hughes ea89d6d
# Register as an application to be visible in the software center
Richard Hughes ea89d6d
#
Richard Hughes ea89d6d
# NOTE: It would be *awesome* if this file was maintained by the upstream
Richard Hughes ea89d6d
# project, translated and installed into the right place during `make install`.
Richard Hughes ea89d6d
#
Richard Hughes ea89d6d
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
Richard Hughes ea89d6d
#
Richard Hughes ea89d6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
Richard Hughes ea89d6d
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/fillets.appdata.xml <
Richard Hughes ea89d6d
Richard Hughes ea89d6d
Richard Hughes ea89d6d
Richard Hughes ea89d6d
EmailAddress: ivo@danihelka.net
Richard Hughes ea89d6d
SentUpstream: 2014-09-24
Richard Hughes ea89d6d
-->
Richard Hughes ea89d6d
<application>
Richard Hughes ea89d6d
  <id type="desktop">fillets.desktop</id>
Richard Hughes ea89d6d
  <metadata_license>CC0-1.0</metadata_license>
Richard Hughes ea89d6d
  <summary>solve the puzzle and help the fish escape</summary>
Richard Hughes ea89d6d
  <description>
Richard Hughes ea89d6d
    

Richard Hughes ea89d6d
      Fish Fillets is a puzzle game where the player has to guide a fish through a series
Richard Hughes ea89d6d
      of obstacles to escape the maze.
Richard Hughes ea89d6d
      Fish Fillets features over 70 levels of puzzles and a comforting soundtrack.
Richard Hughes ea89d6d
    

Richard Hughes ea89d6d
  </description>
Richard Hughes ea89d6d
  <url type="homepage">http://fillets.sourceforge.net/</url>
Richard Hughes ea89d6d
  <screenshots>
Richard Hughes ea89d6d
    <screenshot type="default">http://fillets.sourceforge.net/img/screenshot/ffng-pyramid.png</screenshot>
Richard Hughes ea89d6d
    <screenshot>http://fillets.sourceforge.net/img/screenshot/ffng-chest.png</screenshot>
Richard Hughes ea89d6d
  </screenshots>
Richard Hughes ea89d6d
</application>
Richard Hughes ea89d6d
EOF
a583a56
a583a56
36458ad
%check
36458ad
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/fillets.appdata.xml
36458ad
36458ad
a583a56
a583a56
%files
bfd1082
%doc AUTHORS ChangeLog NEWS README TODO
bfd1082
%license COPYING
a583a56
%{_bindir}/fillets
Richard Hughes ea89d6d
%{_datadir}/appdata/fillets.appdata.xml
7e50b0e
%{_datadir}/applications/fillets.desktop
b2085ab
%{_datadir}/icons/hicolor/scalable/apps/fillets.svg
a583a56
%{_mandir}/man6/fillets.6*
a583a56
a583a56
a583a56
%changelog
58422d0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-18
58422d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
58422d0
ff5047b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-17
ff5047b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ff5047b
24711c8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-16
24711c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
24711c8
c70a84e
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-15
c70a84e
- Remove obsolete scriptlets
c70a84e
b3f8a7e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-14
b3f8a7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b3f8a7e
16850e1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-13
16850e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
16850e1
2f58346
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12
2f58346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2f58346
66e9f5c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-11
66e9f5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
66e9f5c
bfd1082
* Fri Oct 02 2015 David King <amigadave@amigadave.com> - 1.0.1-10
bfd1082
- Use license macro for COPYING
247fdf5
- Remove obsolete clean and defattr statements
64f61c4
- Use pkgconfig for BuildRequires
3d401b8
- Use lua 5.2 patch from upstream bugtracker
1f08c9b
- Depend on hicolor-icon-theme for icon directory ownership
36458ad
- Validate AppData during check
bfd1082
5eaa048
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-9
5eaa048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5eaa048
b2085ab
* Thu May 14 2015 Bruno Wolff III <bruno@wolff.to> = 1.0.1-8
b2085ab
- Replace 32x32 icon with an svg icon (bz 1157529)
b2085ab
1a563e1
* Fri May 08 2015 Bruno Wolff III <bruno@wolff.to> = 1.0.1-7
1a563e1
- The lua 5.2 patch wasn't working, switch to using compat version for 5.1
1a563e1
f55dfca
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.1-6
f55dfca
- Rebuilt for GCC 5 C++11 ABI change
f55dfca
Richard Hughes ea89d6d
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 1.0.1-5
Richard Hughes ea89d6d
- Add an AppData file for the software center
Richard Hughes ea89d6d
db5fb6e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
db5fb6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
db5fb6e
2ef881c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
2ef881c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2ef881c
693cf5e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
693cf5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
693cf5e
0ec99de
* Tue May 14 2013 Tom Callaway <spot@fedoraproject.org> - 1.0.1-1
0ec99de
- update to 1.0.1
0ec99de
- lua 5.2 fix
0ec99de
eca8310
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
eca8310
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eca8310
6a443d1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
6a443d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6a443d1
e935ab3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
e935ab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e935ab3
2107334
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
2107334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2107334
0c3bf00
* Sat Sep 12 2009 Matthias Saou <http://freshrpms.net/> 0.9.1-1
0c3bf00
- Update to 0.9.1.
0c3bf00
7d2f1cf
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
7d2f1cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7d2f1cf
22515fb
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
22515fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
22515fb
eb87b55
* Fri Feb 13 2009 Matthias Saou <http://freshrpms.net/> 0.8.1-1
eb87b55
- Update to 0.8.1.
6cb8162
- Update gcc43 patch (still applied with fuzz, but...).
eb87b55
- Add LogicGame category to the desktop file (#485349).
eb87b55
f964997
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 0.8.0-2
f964997
- Add coreutils requirement for scriplets (#475931).
f964997
- Enclose gtk-update-icon-cache scriplet calls in "ifs".
f964997
b348601
* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 0.8.0-1
b348601
- Update to 0.8.0.
b348601
- Include patch to fix build with gcc 4.3.
b348601
- Include patch to fix build with fribidi 0.19.1.
b348601
b348601
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
df53ac0
- Autorebuild for GCC 4.3
df53ac0
a9beae1
* Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 0.7.4-3
a9beae1
- Rebuild for new BuildID feature.
a9beae1
55ef1e9
* Mon Aug  6 2007 Matthias Saou <http://freshrpms.net/> 0.7.4-2
55ef1e9
- Update License field.
55ef1e9
7e50b0e
* Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.7.4-1
7e50b0e
- Update to 0.7.4.
7e50b0e
- Switch to using downloads.sf.net source URL.
7e50b0e
- Switch to using the DESTDIR install method.
7e50b0e
- Remove the fedora desktop file prefix.
7e50b0e
- Remove all patches, no longer required, don't autoreconf anymore either.
7e50b0e
- Force datadir to be the new location of our fillets-ng-data package's files.
7e50b0e
a48de81
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.7.3-5
a48de81
- FC6 rebuild.
5706b20
- Add libX11 patch, link against X11 even when SDL isn't (#204594, #204600).
a48de81
a3ad318
* Wed May 31 2006 Matthias Saou <http://freshrpms.net/> 0.7.3-4
a3ad318
- Add patch to change lua detection from lua-config to pkgconfig since the
a3ad318
  latest lua packages no longer provide the config script.
a3ad318
d8484f1
* Mon Mar  6 2006 Matthias Saou <http://freshrpms.net/> 0.7.3-3
d8484f1
- FC5 rebuild.
d8484f1
e4a6c82
* Wed Feb  8 2006 Matthias Saou <http://freshrpms.net/> 0.7.3-2
e4a6c82
- Rebuild for new gcc/glibc.
e4a6c82
8d1d35f
* Wed Oct 12 2005 Matthias Saou <http://freshrpms.net/> 0.7.3-1
8d1d35f
- Update to 0.7.3.
8d1d35f
- Enable fribidi support.
8d1d35f
e56dc2c
* Tue Aug 23 2005 Richard Henderson <rth@redhat.com> 0.7.1-1
e56dc2c
- Update to version 0.7.1.
e56dc2c
a298ca7
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.6.0-2
5088efe
- rebuilt
5088efe
a583a56
* Tue Feb  1 2005 Matthias Saou <http://freshrpms.net/> 0.6.0-1
a583a56
- Split sources into separate source rpms (for data to be noarch).
a583a56
- Minor spec file tweaks.
a583a56
- Include icon from 0.6.1 data for the desktop entry.
a583a56
- Remove unneeded explicit vorbis dependency.
a583a56
- Added update-desktop-database calls.
a583a56
a583a56
* Sun Aug 22 2004 Michal Ambroz (O_O) <rebus@seznam.cz>
a583a56
- rebuild 0.5.1 for Fedora Core 2
a583a56
a583a56
* Thu Jul 15 2004 Michal Ambroz (O_O) <rebus@seznam.cz>
a583a56
- rebuild 0.4.1 for Fedora Core 2
a583a56
a583a56
* Thu Jul 15 2004 Michal Ambroz (O_O) <rebus@seznam.cz>
a583a56
- rebuild 0.4 for Fedora Core 2
a583a56
a583a56
* Mon May 10 2004 Michal Ambroz (O_O) <rebus@seznam.cz>
a583a56
- initial build for Fedora Core 2
a583a56