|
|
03a8bd2 |
Name: vegastrike
|
|
|
41a5d10 |
Version: 0.5.1
|
|
|
6cde00a |
Release: 4.r1%{?dist}
|
|
|
03a8bd2 |
Summary: 3D OpenGL spaceflight simulator
|
|
|
03a8bd2 |
Group: Amusements/Games
|
|
|
fda1ae1 |
License: GPLv2+
|
|
|
03a8bd2 |
URL: http://vegastrike.sourceforge.net/
|
|
|
a66dfc3 |
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2
|
|
|
8b09588 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.r1.tar.bz2
|
|
|
cf48725 |
# Found in the mandriva srpm, origin Debian ?
|
|
|
03a8bd2 |
Source1: %{name}-manpages.tar.bz2
|
|
|
cf48725 |
Source2: %{name}-wrapper.sh
|
|
|
03a8bd2 |
Source3: %{name}.desktop
|
|
|
a5b0dc6 |
Patch0: vegastrike-0.5.1-char-fix.patch
|
|
|
beb8e13 |
Patch1: vegastrike-0.5.1-paths-fix.patch
|
|
|
cf48725 |
Patch2: vegastrike-0.4.2-posh-fix.patch
|
|
|
cf48725 |
Patch3: vegastrike-0.4.2-vssetup-fix.patch
|
|
|
cf48725 |
Patch4: vegastrike-0.4.3-64-bit.patch
|
|
|
73d524d |
Patch5: vegastrike-0.5.1-openal.patch
|
|
|
88ea0c2 |
Patch6: vegastrike-0.5.1-sys-python.patch
|
|
|
7bbb68a |
Patch8: vegastrike-0.5.1-gcc44.patch
|
|
|
5fb32f8 |
Patch9: vegastrike-0.5.0-glext.patch
|
|
|
af27ed2 |
Patch12: vegastrike-0.5.1-boost146.patch
|
|
|
bef59ad |
Patch14: vegastrike-0.5.1-gcc47.patch
|
|
|
c4610da |
Patch15: vegastrike-0.5.1-music.patch
|
|
|
03a8bd2 |
BuildRequires: libGLU-devel freeglut-devel libXi-devel libXmu-devel gtk2-devel
|
|
|
03a8bd2 |
BuildRequires: libjpeg-devel libpng-devel boost-devel expat-devel python-devel
|
|
|
ac80a43 |
BuildRequires: SDL_mixer-devel openal-soft-devel freealut-devel
|
|
|
ac80a43 |
BuildRequires: libvorbis-devel ogre-devel cegui-devel desktop-file-utils
|
|
|
01279ed |
Requires: %{name}-data = %{version}, hicolor-icon-theme, xdg-utils
|
|
|
3e011f8 |
Requires: opengl-games-utils
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%description
|
|
|
03a8bd2 |
Vega Strike is a GPL 3D OpenGL Action RPG space sim that allows a player to
|
|
|
03a8bd2 |
trade and bounty hunt. You start in an old beat up Wayfarer cargo ship, with
|
|
|
03a8bd2 |
endless possibility before you and just enough cash to scrape together a life.
|
|
|
03a8bd2 |
Yet danger lurks in the space beyond.
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%prep
|
|
|
aaff35f |
%setup -q -a 1 -n %{name}-src-%{version}.r1
|
|
|
a5b0dc6 |
%patch0 -p0
|
|
|
beb8e13 |
%patch1 -p0
|
|
|
cf48725 |
%patch2 -p1
|
|
|
cf48725 |
%patch3 -p1
|
|
|
cf48725 |
%patch4 -p1
|
|
|
73d524d |
%patch5 -p0
|
|
|
88ea0c2 |
%patch6 -p0
|
|
|
7bbb68a |
%patch8 -p0
|
|
|
5fb32f8 |
%patch9 -p1
|
|
|
af27ed2 |
%patch12 -p0
|
|
|
bef59ad |
%patch14 -p1
|
|
|
08a8bed |
%patch15 -p3
|
|
|
cf48725 |
iconv -f ISO-8859-1 -t UTF-8 README > README.tmp
|
|
|
cf48725 |
touch -r README README.tmp
|
|
|
cf48725 |
mv README.tmp README
|
|
|
cf48725 |
sed -i 's/-lboost_python-st/-lboost_python/g' Makefile.in
|
|
|
2a892ef |
# we want to use the system version of expat.h
|
|
|
2a892ef |
rm objconv/mesher/expat.h
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%build
|
|
|
cf48725 |
%configure --with-data-dir=%{_datadir}/%{name} --with-boost=system \
|
|
|
d97bb46 |
--enable-release --enable-flags="-DBOOST_PYTHON_NO_PY_SIGNATURES $RPM_OPT_FLAGS" --disable-ffmpeg \
|
|
|
cf48725 |
--enable-stencil-buffer
|
|
|
03a8bd2 |
make %{?_smp_mflags}
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%install
|
|
|
cf48725 |
#make install PREFIX=$RPM_BUILD_ROOT doesn't work
|
|
|
03a8bd2 |
%makeinstall
|
|
|
cf48725 |
install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name}
|
|
|
cf48725 |
chmod +x $RPM_BUILD_ROOT%{_prefix}/objconv/*
|
|
|
cf48725 |
mv $RPM_BUILD_ROOT%{_prefix}/objconv/* \
|
|
|
cf48725 |
$RPM_BUILD_ROOT%{_libexecdir}/%{name}
|
|
|
cf48725 |
for i in asteroidgen base_maker mesh_xml mesher replace tempgen trisort \
|
|
|
cf48725 |
vsrextract vsrmake; do
|
|
|
03a8bd2 |
mv $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_libexecdir}/%{name}
|
|
|
03a8bd2 |
done
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6
|
|
|
03a8bd2 |
install -p -m 644 *.6 $RPM_BUILD_ROOT%{_mandir}/man6
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
# below is the desktop file and icon stuff.
|
|
|
03a8bd2 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
03a8bd2 |
desktop-file-install --vendor fedora \
|
|
|
03a8bd2 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
03a8bd2 |
%{SOURCE3}
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%files
|
|
|
03a8bd2 |
%doc AUTHORS COPYING DOCUMENTATION README ToDo.txt
|
|
|
cf48725 |
%{_bindir}/vega*
|
|
|
03a8bd2 |
%{_bindir}/vs*
|
|
|
03a8bd2 |
%{_libexecdir}/%{name}
|
|
|
03a8bd2 |
%{_mandir}/man6/*
|
|
|
03a8bd2 |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
%changelog
|
|
|
6cde00a |
* Sun Aug 12 2012 Bruno Wolff III <bruno@wolff.to> - 0.5.1-3.r1
|
|
|
6cde00a |
- Rebuild for boost 1.50
|
|
|
6cde00a |
|
|
|
fa31eac |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3.r1
|
|
|
fa31eac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fa31eac |
|
|
|
0643ff4 |
* Sun Apr 29 2012 Bruno Wolff III <bruno@wolff.to> - 0.5.1-2.r1
|
|
|
0643ff4 |
- Apply upstream patch to fix music issue
|
|
|
0643ff4 |
|
|
|
aaff35f |
* Wed Apr 04 2012 Bruno Wolff III <bruno@wolff.to> - 0.5.1-1.r1
|
|
|
aaff35f |
- Update to 0.5.1 release
|
|
|
aaff35f |
|
|
|
d5eb10c |
* Sun Apr 01 2012 Bruno Wolff III <bruno@wolff.to> - 0.5.1-0.8.beta1.2
|
|
|
d5eb10c |
- Rebuild for ogre 1.7.4
|
|
|
d5eb10c |
|
|
|
6921cfb |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-0.7.beta1.2
|
|
|
6921cfb |
- Rebuilt for c++ ABI breakage
|
|
|
6921cfb |
|
|
|
bef59ad |
* Tue Jan 17 2012 Hans de Goede <hdegoede@redhat.com> - 0.5.1-0.6.beta1.2
|
|
|
bef59ad |
- Fix building with gcc-4.7
|
|
|
bef59ad |
|
|
|
aa5038e |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-0.5.beta1.2
|
|
|
aa5038e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
aa5038e |
|
|
|
3c807c6 |
* Sun Nov 20 2011 Bruno Wolff III <bruno@wolff.to> - 0.5.1-0.4.beta1.2
|
|
|
3c807c6 |
- Rebuild for boost soname bump
|
|
|
3c807c6 |
|
|
|
3c807c6 |
* Sun Nov 06 2011 Bruno Wolff III <bruno@wolff.to> - 0.5.1-0.3.beta1.2
|
|
|
df3b7d0 |
- Change direct png struct reference to use an accessor for linpng 1.5
|
|
|
10c93cf |
|
|
|
3c807c6 |
* Fri Jul 22 2011 Bruno Wolff III <bruno@wolff.to> - 0.5.1-0.2.beta1.2
|
|
|
e885b41 |
- Rebuild for boost 1.47
|
|
|
e885b41 |
|
|
|
3c807c6 |
* Tue Jul 09 2011 Bruno Wolff III <bruno@wolff.to> - 0.5.1-0.1.beta1.2
|
|
|
41a5d10 |
- Update to upstream 0.5.1.beta1-2
|
|
|
af27ed2 |
- Adjust existing patches for the update
|
|
|
af27ed2 |
- Handle the boost_thread to boost_thread_mt change.
|
|
|
41a5d10 |
|
|
|
eba3efe |
* Tue May 17 2011 Bruno Wolff III <bruno@wolff.to> - 0.5.0-23
|
|
|
eba3efe |
- Rebuild for ogre 1.7.3
|
|
|
eba3efe |
|
|
|
2a28708 |
* Thu Apr 07 2011 Hans de Goede <hdegoede@redhat.com> - 0.5.0-22
|
|
|
2a28708 |
- Rebuild for new boost
|
|
|
2a28708 |
|
|
|
e1d5b2e |
* Thu Feb 10 2011 Hans de Goede <hdegoede@redhat.com> - 0.5.0-21
|
|
|
e1d5b2e |
- Rebuild for new boost
|
|
|
e1d5b2e |
- Fix building with gcc-4.6
|
|
|
e1d5b2e |
|
|
|
f980690 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-20
|
|
|
f980690 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f980690 |
|
|
|
21be7c5 |
* Mon Jan 3 2011 Hans de Goede <hdegoede@redhat.com> 0.5.0-19
|
|
|
21be7c5 |
- Rebuild for new ogre
|
|
|
21be7c5 |
|
|
|
cb57166 |
* Sat Jul 31 2010 Hans de Goede <hdegoede@redhat.com> 0.5.0-18
|
|
|
cb57166 |
- Fix building with gcc-4.5
|
|
|
cb57166 |
|
|
|
cee74c4 |
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-17
|
|
|
cee74c4 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
cee74c4 |
|
|
|
38bb20b |
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.0-16
|
|
|
38bb20b |
- Rebuild for Boost soname bump
|
|
|
38bb20b |
|
|
|
0688f21 |
* Thu Dec 10 2009 Hans de Goede <hdegoede@redhat.com> 0.5.0-15
|
|
|
0688f21 |
- Rebuild for silent boost-python ABI breakage (#540277)
|
|
|
0688f21 |
|
|
Alexey Torkhov |
80bf589 |
* Mon Sep 28 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.5.0-14
|
|
Alexey Torkhov |
80bf589 |
- Rebuild for new ogre
|
|
Alexey Torkhov |
80bf589 |
|
|
|
ac80a43 |
* Sun Aug 16 2009 Hans de Goede <hdegoede@redhat.com> 0.5.0-13
|
|
|
ac80a43 |
- Switch to openal-soft
|
|
|
ac80a43 |
|
|
|
5fb32f8 |
* Mon Aug 3 2009 Hans de Goede <hdegoede@redhat.com> 0.5.0-12
|
|
|
5fb32f8 |
- Fix building with latest OpenGL headers
|
|
|
5fb32f8 |
|
|
|
b31716c |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-11
|
|
|
b31716c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b31716c |
|
|
|
3caf264 |
* Sat May 23 2009 Hans de Goede <hdegoede@redhat.com> 0.5.0-10
|
|
|
3caf264 |
- Rebuild for new boost and new ogre
|
|
|
3caf264 |
|
|
Alexey Torkhov |
0d19e42 |
* Tue Mar 03 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.5.0-9
|
|
Alexey Torkhov |
0d19e42 |
- Rebuild for new ogre
|
|
Alexey Torkhov |
0d19e42 |
|
|
|
c75ce11 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-8
|
|
|
c75ce11 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c75ce11 |
|
|
|
d97bb46 |
* Fri Dec 19 2008 Benjamin Kosnik <bkoz@redhat.com> - 0.5.0-7
|
|
|
d97bb46 |
- Add boost-make_shared.patch
|
|
|
d97bb46 |
- Use -DBOOST_PYTHON_NO_PY_SIGNATURES.
|
|
|
d97bb46 |
- Rebuild for boost-1.37.0.
|
|
|
d97bb46 |
|
|
|
9e19833 |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5.0-6
|
|
|
9e19833 |
- Rebuild for Python 2.6
|
|
|
9e19833 |
|
|
Alexey Torkhov |
f64f691 |
* Thu Oct 2 2008 Alexey Torkhov <atorkhov@gmail.com> 0.5.0-5
|
|
Alexey Torkhov |
f64f691 |
- Rebuild for new ogre
|
|
Alexey Torkhov |
f64f691 |
|
|
|
c78170a |
* Sun Sep 7 2008 Hans de Goede <hdegoede@redhat.com> 0.5.0-4
|
|
|
c78170a |
- Fix patch fuzz build failure
|
|
|
c78170a |
|
|
|
608da69 |
* Wed Jul 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5.0-3
|
|
|
608da69 |
- Rebuild for new ogre
|
|
|
608da69 |
|
|
|
7c474cf |
* Tue May 13 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5.0-2
|
|
|
7c474cf |
- Rebuild for new ogre
|
|
|
7c474cf |
|
|
|
cf48725 |
* Sat May 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.5.0-1
|
|
|
cf48725 |
- New upstream release 0.5.0
|
|
|
cf48725 |
|
|
|
01279ed |
* Sun Apr 13 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-9
|
|
|
01279ed |
- Use xdg-open instead of gedit to show the user the readme (bz 442063)
|
|
|
01279ed |
|
|
|
049d121 |
* Thu Feb 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-8
|
|
|
049d121 |
- Fix building with gcc 4.3
|
|
|
049d121 |
- Rebuild for gcc 4.3
|
|
|
049d121 |
|
|
|
3e011f8 |
* Mon Sep 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-7
|
|
|
3e011f8 |
- Use opengl-games-utils wrapper to show error dialog when DRI is missing
|
|
|
3e011f8 |
|
|
|
2a892ef |
* Tue Aug 28 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-6
|
|
|
2a892ef |
- Rebuild for new expat 2.0
|
|
|
2a892ef |
|
|
|
e68818f |
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-5
|
|
|
e68818f |
- Rebuild for buildId
|
|
|
e68818f |
|
|
|
fda1ae1 |
* Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-4
|
|
|
fda1ae1 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
fda1ae1 |
- Rebuild against new boost
|
|
|
fda1ae1 |
|
|
|
03a8bd2 |
* Wed May 9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-3
|
|
|
03a8bd2 |
- Add some missing files including COPYING to %%doc
|
|
|
fe6d19d |
- Fix PPC compilation
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
* Mon Apr 23 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-2
|
|
|
03a8bd2 |
- Add some missing BuildRequires
|
|
|
03a8bd2 |
- Keep system python paths in python path
|
|
|
03a8bd2 |
|
|
|
03a8bd2 |
* Fri Mar 23 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.3-1
|
|
|
03a8bd2 |
- Initial Fedora Extras package, partially based on Mandriva contrib SRPM
|