|
|
70bec0f |
Name: pioneers
|
|
|
cbd68bb |
Version: 15.3
|
|
Richard Hughes |
d3f0774 |
Release: 2%{?dist}
|
|
|
70bec0f |
Summary: Turnbased board strategy game (colonize an island)
|
|
|
70bec0f |
Group: Amusements/Games
|
|
|
70bec0f |
License: GPLv2+
|
|
|
70bec0f |
URL: http://pio.sourceforge.net/
|
|
|
70bec0f |
Source0: http://downloads.sourceforge.net/pio/%{name}-%{version}.tar.gz
|
|
|
cbd68bb |
Patch0: pioneers-15.3-sanitize.patch
|
|
|
70bec0f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
907dbd4 |
BuildRequires: libgnome-devel gtk2-devel gettext scrollkeeper intltool
|
|
|
f1e770d |
BuildRequires: perl(XML::Parser) desktop-file-utils
|
|
|
70bec0f |
Requires: hicolor-icon-theme
|
|
|
70bec0f |
Requires(post): scrollkeeper
|
|
|
70bec0f |
Requires(postun): scrollkeeper
|
|
|
70bec0f |
|
|
|
70bec0f |
%description
|
|
|
70bec0f |
Pioneers is a computerized version of a well known strategy board game. The
|
|
|
70bec0f |
goal of the game is to colonize an island. The players play the first
|
|
|
70bec0f |
colonists hence the name pioneers.
|
|
|
70bec0f |
|
|
|
70bec0f |
Pioneers is a networkbased multiplayer game, this package contains the GUI
|
|
|
70bec0f |
client as well as both a GUI and CLI version of the server for local games.
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%package editor
|
|
|
70bec0f |
Summary: Pioneers Game Editor
|
|
|
70bec0f |
Group: Amusements/Games
|
|
|
70bec0f |
Requires: pioneers = %{version}-%{release}
|
|
|
70bec0f |
|
|
|
70bec0f |
%description editor
|
|
|
70bec0f |
Pioneers is a computerized version of a well known strategy board game. The
|
|
|
70bec0f |
goal of the game is to colonize an island. The players play the first
|
|
|
70bec0f |
colinists hence the name pioneers.
|
|
|
70bec0f |
|
|
|
70bec0f |
The game editor allows maps and game descriptions to be created and
|
|
|
70bec0f |
edited graphically.
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%prep
|
|
|
70bec0f |
%setup -q
|
|
|
cbd68bb |
%patch0 -p1 -z .sanitize
|
|
|
642356a |
|
|
|
70bec0f |
|
|
|
70bec0f |
%build
|
|
|
18266d7 |
# pioneers uses some GNU extensions
|
|
|
18266d7 |
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
|
|
70bec0f |
%configure
|
|
|
70bec0f |
make %{?_smp_mflags}
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%install
|
|
|
70bec0f |
rm -rf $RPM_BUILD_ROOT
|
|
|
70bec0f |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
70bec0f |
%find_lang %{name}
|
|
|
70bec0f |
|
|
|
70bec0f |
# Remove the too much like the original splashscreen
|
|
|
70bec0f |
rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/splash.png
|
|
|
70bec0f |
|
|
|
70bec0f |
# Reinstall the .desktop files
|
|
|
f0a0235 |
desktop-file-install --delete-original \
|
|
|
f0a0235 |
%if 0%{?fedora} && 0%{?fedora} < 19
|
|
|
f0a0235 |
--vendor fedora \
|
|
|
f0a0235 |
%endif
|
|
|
70bec0f |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
70bec0f |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop \
|
|
|
70bec0f |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}-editor.desktop \
|
|
|
70bec0f |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}-server.desktop
|
|
|
70bec0f |
|
|
Richard Hughes |
d3f0774 |
# Register as an application to be visible in the software center
|
|
Richard Hughes |
d3f0774 |
#
|
|
Richard Hughes |
d3f0774 |
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
|
Richard Hughes |
d3f0774 |
# project, translated and installed into the right place during `make install`.
|
|
Richard Hughes |
d3f0774 |
#
|
|
Richard Hughes |
d3f0774 |
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
|
Richard Hughes |
d3f0774 |
#
|
|
Richard Hughes |
d3f0774 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
Richard Hughes |
d3f0774 |
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
|
|
Richard Hughes |
d3f0774 |
|
|
Richard Hughes |
d3f0774 |
|
|
Richard Hughes |
d3f0774 |
|
|
Richard Hughes |
d3f0774 |
BugReportURL: https://sourceforge.net/p/pio/bugs/286/
|
|
Richard Hughes |
d3f0774 |
SentUpstream: 2014-09-25
|
|
Richard Hughes |
d3f0774 |
-->
|
|
Richard Hughes |
d3f0774 |
<application>
|
|
Richard Hughes |
d3f0774 |
<id type="desktop">pioneers.desktop</id>
|
|
Richard Hughes |
d3f0774 |
<metadata_license>CC0-1.0</metadata_license>
|
|
Richard Hughes |
d3f0774 |
<summary>Multiplayer board game inspired by The Settlers of Catan</summary>
|
|
Richard Hughes |
d3f0774 |
<description>
|
|
Richard Hughes |
d3f0774 |
|
|
Richard Hughes |
d3f0774 |
Pioneers is a free videogame implementation of the famous German game Settlers of Catan.
|
|
Richard Hughes |
d3f0774 |
The goal is to build towns, cities and roads on a board that is different every time, while accumulating various types of cards.
|
|
Richard Hughes |
d3f0774 |
It can be played online.
|
|
Richard Hughes |
d3f0774 |
|
|
Richard Hughes |
d3f0774 |
</description>
|
|
Richard Hughes |
d3f0774 |
<url type="homepage">http://pio.sourceforge.net/</url>
|
|
Richard Hughes |
d3f0774 |
<screenshots>
|
|
Richard Hughes |
d3f0774 |
<screenshot type="default">http://pio.sourceforge.net/screenshots0.11/client.png</screenshot>
|
|
Richard Hughes |
d3f0774 |
</screenshots>
|
|
Richard Hughes |
d3f0774 |
</application>
|
|
Richard Hughes |
d3f0774 |
EOF
|
|
|
70bec0f |
|
|
|
70bec0f |
%check
|
|
|
70bec0f |
if grep Catan `find $RPM_BUILD_ROOT ! -path "$RPM_BUILD_ROOT/usr/src/debug*"`;
|
|
|
70bec0f |
then
|
|
|
70bec0f |
exit 1
|
|
|
70bec0f |
fi
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%clean
|
|
|
70bec0f |
rm -rf $RPM_BUILD_ROOT
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%post
|
|
|
70bec0f |
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
|
|
|
70bec0f |
|
|
|
70bec0f |
%postun
|
|
|
70bec0f |
scrollkeeper-update -q || :
|
|
|
70bec0f |
|
|
|
70bec0f |
|
|
|
70bec0f |
%files -f %{name}.lang
|
|
|
70bec0f |
%defattr(-,root,root,-)
|
|
|
70bec0f |
%doc AUTHORS COPYING ChangeLog README NEWS
|
|
|
70bec0f |
%{_bindir}/%{name}
|
|
|
70bec0f |
%{_bindir}/%{name}ai
|
|
|
cbd68bb |
%{_bindir}/%{name}-metaserver
|
|
|
70bec0f |
%{_bindir}/%{name}-server-console
|
|
|
70bec0f |
%{_bindir}/%{name}-server-gtk
|
|
|
70bec0f |
%{_datadir}/games/%{name}
|
|
|
70bec0f |
%{_datadir}/pixmaps/%{name}
|
|
|
70bec0f |
%{_datadir}/omf/%{name}
|
|
|
70bec0f |
%{_datadir}/gnome/help/%{name}
|
|
|
70bec0f |
%{_mandir}/man6/%{name}*.6.gz
|
|
|
f0a0235 |
%if 0%{?fedora} && 0%{?fedora} < 19
|
|
|
70bec0f |
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
70bec0f |
%{_datadir}/applications/fedora-%{name}-server.desktop
|
|
|
f0a0235 |
%else
|
|
Richard Hughes |
d3f0774 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
f0a0235 |
%{_datadir}/applications/%{name}.desktop
|
|
|
f0a0235 |
%{_datadir}/applications/%{name}-server.desktop
|
|
|
f0a0235 |
%endif
|
|
|
70bec0f |
%{_datadir}/pixmaps/%{name}.png
|
|
|
70bec0f |
%{_datadir}/pixmaps/%{name}-server.png
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/48x48/apps/%{name}-server.png
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}-server.svg
|
|
|
70bec0f |
|
|
|
70bec0f |
%files editor
|
|
|
70bec0f |
%defattr(-,root,root,-)
|
|
|
70bec0f |
%{_bindir}/%{name}-editor
|
|
|
f0a0235 |
%{_datadir}/applications/%{name}-editor.desktop
|
|
|
70bec0f |
%{_datadir}/pixmaps/%{name}-editor.png
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/48x48/apps/%{name}-editor.png
|
|
|
5d7b376 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}-editor.svg
|
|
|
70bec0f |
|
|
|
70bec0f |
%changelog
|
|
Richard Hughes |
d3f0774 |
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 15.3-2
|
|
Richard Hughes |
d3f0774 |
- Add an AppData file for the software center
|
|
Richard Hughes |
d3f0774 |
|
|
|
cbd68bb |
* Mon Oct 27 2014 Paul W. Frields <stickster@gmail.com> - 15.3-1
|
|
|
cbd68bb |
- Update to upstream 15.3 (#1018594)
|
|
|
cbd68bb |
- Notes: http://sourceforge.net/p/pio/news/2014/10/pioneers-153-released/
|
|
|
cbd68bb |
|
|
|
f78b2ba |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.1-7
|
|
|
f78b2ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f78b2ba |
|
|
|
24f0883 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.1-6
|
|
|
24f0883 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
24f0883 |
|
|
|
e327e9c |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.1-5
|
|
|
e327e9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e327e9c |
|
|
|
f0a0235 |
* Mon Feb 18 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 14.1-4
|
|
|
f0a0235 |
- Removed --vendor from desktop-file-install for F19+ https://fedorahosted.org/fesco/ticket/1077
|
|
|
f0a0235 |
|
|
|
06ad5db |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.1-3
|
|
|
06ad5db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
06ad5db |
|
|
|
4ff5303 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.1-2
|
|
|
4ff5303 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4ff5303 |
|
|
|
5d7b376 |
* Fri Jul 6 2012 Paul W. Frields <stickster@gmail.com> - 14.1-1
|
|
|
5d7b376 |
- New upstream version 14.1
|
|
|
5d7b376 |
- Details: http://sourceforge.net/mailarchive/message.php?msg_id=29324203
|
|
|
5d7b376 |
- Update sanitize patch, remove obsolete user name change patch
|
|
|
5d7b376 |
|
|
|
25e5c4c |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.4-3
|
|
|
25e5c4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
25e5c4c |
|
|
|
dc46259 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.12.4-2
|
|
|
dc46259 |
- Rebuild for new libpng
|
|
|
dc46259 |
|
|
|
0253573 |
* Fri Jul 29 2011 Paul W. Frields <stickster@gmail.com> - 0.12.4-1
|
|
|
0253573 |
- Update to upstream 0.12.4
|
|
|
0253573 |
|
|
|
488f9ad |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3
|
|
|
488f9ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
488f9ad |
|
|
|
f06d910 |
* Thu Aug 5 2010 Paul W. Frields <stickster@gmail.com> - 0.12.3-2
|
|
|
f06d910 |
- Fix callback for name changes (#594858)
|
|
|
f06d910 |
|
|
|
907dbd4 |
* Mon Feb 15 2010 Paul W. Frields <stickster@gmail.com> - 0.12.3-1
|
|
|
907dbd4 |
- New upstream release 0.12.3
|
|
|
907dbd4 |
- Add patch for new default linker DSO behavior
|
|
|
907dbd4 |
|
|
|
c551a84 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.2-4
|
|
|
c551a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c551a84 |
|
|
|
ed54115 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.2-3
|
|
|
ed54115 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ed54115 |
|
|
|
ccf2974 |
* Sun Sep 7 2008 Hans de Goede <hdegoede@redhat.com> 0.12.2-2
|
|
|
ccf2974 |
- Fix patch fuzz build failure
|
|
|
ccf2974 |
|
|
|
60253f3 |
* Fri May 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.12.2-1
|
|
|
60253f3 |
- New upstream release 0.12.2
|
|
|
60253f3 |
|
|
|
642356a |
* Mon Apr 28 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.12.1-1
|
|
|
642356a |
- New upstream release 0.12.1
|
|
|
642356a |
|
|
|
18266d7 |
* Wed Feb 13 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.11.3-4
|
|
|
18266d7 |
- Fix building with latest glibc
|
|
|
18266d7 |
- Rebuild for gcc-4.3
|
|
|
18266d7 |
|
|
|
70bec0f |
* Tue Dec 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.11.3-3
|
|
|
70bec0f |
- Fix CVE-2007-6010 (potential server DOS)
|
|
|
70bec0f |
|
|
|
70bec0f |
* Thu Nov 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.11.3-2
|
|
|
70bec0f |
- Also sanitize the .po files just to be sure
|
|
|
70bec0f |
- Remove bogus pkgdatadir argument to make install
|
|
|
70bec0f |
- Add %%check section
|
|
|
70bec0f |
- Leave the icons in /usr/share/pixmaps so that the window icons work
|
|
|
70bec0f |
|
|
|
70bec0f |
* Tue Nov 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.11.3-1
|
|
|
70bec0f |
- Initial Fedora Package
|