cvsextras 6c531b4
Name:           gl-117
970974f
Version:        1.3.2
f329abd
Release:        15%{?dist}
952bf81
Summary:        Action flight simulator
cvsextras 6c531b4
Group:          Amusements/Games
f087781
License:        GPLv2
970974f
URL:            http://www.heptargon.de/gl-117/gl-117.htm
1c41f7b
Source0:        http://dl.sf.net/sourceforge/gl-117/gl-117-%{version}-src.tar.bz2
952bf81
Source1:        gl-117.desktop
952bf81
Source2:        gl-117.png
cvsextras 6c531b4
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras 6c531b4
BuildRequires:  SDL-devel, SDL_mixer-devel
a9bbb67
BuildRequires:  freeglut-devel
952bf81
BuildRequires:  desktop-file-utils
61198e9
Requires:       opengl-games-utils
cvsextras 6c531b4
cvsextras 6c531b4
%description
a9bbb67
GL-117 is an action flight simulator. Enter the Eagle Squadron and succeed
a9bbb67
in several challanging missions leading though different landscapes. Five
a9bbb67
predefined levels of video quality and an amount of viewing ranges let you
a9bbb67
perfectly adjust the game to the performance of your system. Joystick,
a9bbb67
mouse, sound effects, music...
cvsextras 6c531b4
cvsextras 6c531b4
%prep
cvsextras 6c531b4
%setup -q -n %{name}-%{version}-src
cvsextras 6c531b4
07be6b0
sed -i -e 's/\r//' AUTHORS ChangeLog FAQ NEWS
07be6b0
f087781
sed -i -e 's/ -lSDLmain\>//' configure
f087781
cvsextras 6c531b4
%build
a9bbb67
%configure
cvsextras 6c531b4
make %{?_smp_mflags}
cvsextras 6c531b4
cvsextras 6c531b4
%install
cvsextras 6c531b4
rm -rf $RPM_BUILD_ROOT
61198e9
cvsextras 6c531b4
make install DESTDIR=$RPM_BUILD_ROOT
61198e9
61198e9
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications \
61198e9
         $RPM_BUILD_ROOT/%{_datadir}/pixmaps \
61198e9
         $RPM_BUILD_ROOT/%{_mandir}/man6
61198e9
cvsextras 6c531b4
install -m 644 doc/%{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6/
cvsextras 6c531b4
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
61198e9
cvsextras 6c531b4
desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
8ae16c2
    %{SOURCE1}
cvsextras 6c531b4
61198e9
ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
61198e9
cvsextras 6c531b4
%clean
cvsextras 6c531b4
rm -rf $RPM_BUILD_ROOT
cvsextras 6c531b4
cvsextras 6c531b4
%files
cvsextras 6c531b4
%defattr(-,root,root,-)
07be6b0
%doc AUTHORS ChangeLog COPYING FAQ NEWS README doc/%{name}.pdf
61198e9
%{_bindir}/%{name}
61198e9
%{_bindir}/%{name}-wrapper
cvsextras 6c531b4
%{_datadir}/%{name}
cvsextras 6c531b4
%{_datadir}/applications/*
cvsextras 6c531b4
%{_datadir}/pixmaps/*
cvsextras 6c531b4
%{_mandir}/man6/*
cvsextras 6c531b4
cvsextras 6c531b4
%changelog
f329abd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-15
f329abd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f329abd
8ae16c2
* Thu Apr 11 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.2-14
8ae16c2
- Drop desktop vendor tag.
8ae16c2
7050f33
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-13
7050f33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7050f33
64f75ca
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-12
64f75ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
64f75ca
5d7be9e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-11
5d7be9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5d7be9e
bb60241
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-10
bb60241
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bb60241
6942166
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-9
6942166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6942166
daf28d7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-8
daf28d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
daf28d7
61198e9
* Thu Jul 03 2008 Steven Pritchard <steve@kspei.com> 1.3.2-7
61198e9
- Fix BZ#304841.
61198e9
  - Use opengl-game-wrapper.
61198e9
  - Update .desktop file.
61198e9
  - Drop "--add-category X-Fedora".
61198e9
f087781
* Thu Jul 03 2008 Steven Pritchard <steve@kspei.com> 1.3.2-6
f087781
- Update License tag.
f087781
- Drop -lSDLmain.
f087781
8d8190c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.2-5
8d8190c
- Autorebuild for GCC 4.3
8d8190c
07be6b0
* Mon Apr 09 2007 Steven Pritchard <steve@kspei.com> 1.3.2-4
07be6b0
- Quiet "wrong-file-end-of-line-encoding" warnings from rpmlint.
07be6b0
a6ea9c2
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1.3.2-3
a6ea9c2
- Rebuild
a6ea9c2
6f66d04
* Sat Feb 11 2006 Steven Pritchard <steve@kspei.com> 1.3.2-2
a9bbb67
- Drop BR: xorg-x11-devel, since it should be pulled in by SDL-devel
a9bbb67
- Don't hard-code path to X libs
a9bbb67
- Drop hard-coded LDFLAGS
a9bbb67
- Drop redundant "for Linux..." from description
a9bbb67
970974f
* Mon Sep 26 2005 Steven Pritchard <steve@kspei.com> 1.3.2-1
970974f
- Update to 1.3.2 (#169275)
970974f
- BR xorg-x11-devel instead of XFree86-devel
970974f
- Change URL to the gl-117 home page
970974f
970974f
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.3.1-2
eaf4df2
- rebuilt
eaf4df2
1c41f7b
* Tue Dec 21 2004 Panu Matilainen <pmatilai@welho.com> 0:1.3.1-1
1c41f7b
- update to 1.3.1
1c41f7b
1c41f7b
* Sat Jun 19 2004 Panu Matilainen <pmatilai@welho.com> 0:1.3-0.lvn.1
1c41f7b
- update to 1.3
1c41f7b
1c41f7b
* Fri May 21 2004 Panu Matilainen <pmatilai@welho.com> 0:1.2-0.lvn.1
1c41f7b
- update to 1.2
1c41f7b
- dont include document sources
1c41f7b
- put manpage where it belongs
1c41f7b
1c41f7b
* Thu Nov 27 2003 Panu Matilainen <pmatilai@welho.com> 0:1.0.1-0.lvn.2.2
1c41f7b
- remove ldflags patch (it would've required autoconf), pass LDFLAGS on
1c41f7b
  configure line instead
1c41f7b
1c41f7b
* Thu Nov 27 2003 Panu Matilainen <pmatilai@welho.com> 0:1.0.1-0.lvn.1.2
1c41f7b
- Initial packaging.