|
|
0c09fa8 |
Name: xblast
|
|
|
0c09fa8 |
Version: 2.10.4
|
|
|
751dfc9 |
Release: 32%{?dist}
|
|
|
0c09fa8 |
Summary: Lay bombs and Blast the other players of the field (SDL version)
|
|
|
d30a922 |
License: GPLv2+
|
|
|
0c09fa8 |
URL: http://xblast.sourceforge.net
|
|
|
0c09fa8 |
Source0: http://downloads.sourceforge.net/xblast/xblast-%{version}.tar.gz
|
|
|
55e660b |
Source1: xblast.sh
|
|
|
0c09fa8 |
Source2: xblast.desktop
|
|
|
55e660b |
Source3: xblast-32.png
|
|
|
55e660b |
Source4: xblast-48.png
|
|
|
55e660b |
Source5: xblast-128.png
|
|
|
55e660b |
Source6: xblast.appdata.xml
|
|
|
0c09fa8 |
Patch0: xblast-2.10.4-sdl-fixes.patch
|
|
|
0c09fa8 |
Patch1: xblast-2.10.4-manpage.patch
|
|
|
db07ee7 |
Patch2: xblast-2.10.4-fcommon-fix.patch
|
|
|
3167a90 |
BuildRequires: make
|
|
Igor Gnatenko |
98cae9d |
BuildRequires: gcc
|
|
|
0c09fa8 |
BuildRequires: libXt-devel gettext gawk desktop-file-utils SDL_gfx-devel
|
|
|
0c09fa8 |
BuildRequires: SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_net-devel
|
|
|
f65234d |
BuildRequires: libappstream-glib
|
|
|
0c09fa8 |
Requires: %{name}-data >= 2.10.0, %{name}-common = %{version}-%{release}
|
|
|
db07ee7 |
Requires: font(dejavusans)
|
|
|
0c09fa8 |
Provides: %{name}-engine = %{version}-%{release}
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%description
|
|
|
db07ee7 |
This is the new SDL version of XBlast, a multi-player game where the "purpose"
|
|
|
db07ee7 |
is to Blast the other players of the game-field by laying bombs close to them.
|
|
|
0c09fa8 |
While at the same time you must avoid being blown up yourself.
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%package x11
|
|
|
0c09fa8 |
Summary: Lay bombs and Blast the other players of the field (X11 version)
|
|
|
0c09fa8 |
Requires: %{name}-data >= 2.10.0, %{name}-common = %{version}-%{release}
|
|
|
0c09fa8 |
Requires: xorg-x11-fonts-ISO8859-1-75dpi
|
|
|
0c09fa8 |
Provides: %{name}-engine = %{version}-%{release}
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%description x11
|
|
|
db07ee7 |
This is the original X11 version of XBlast, a multi-player game where the
|
|
|
db07ee7 |
"purpose" is to Blast the other players of the game-field by laying bombs close
|
|
|
0c09fa8 |
to them. While at the same time you must avoid being blown up yourself.
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%package common
|
|
|
0c09fa8 |
Summary: Files common to both the X11 and SDL version of XBlast
|
|
|
0c09fa8 |
Requires: %{name}-engine = %{version}-%{release}, hicolor-icon-theme
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%description common
|
|
|
db07ee7 |
Files common to both the X11 and SDL version of XBlast, a multi-player game
|
|
|
db07ee7 |
where the "purpose" is to Blast the other players of the game-field by laying
|
|
|
0c09fa8 |
bombs close to the other player.
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%prep
|
|
|
db07ee7 |
%autosetup -p1
|
|
|
0c09fa8 |
sed -i 's|$(game_datadir)/locale|%{_datadir}/locale|g' Makefile.in
|
|
|
0c09fa8 |
# stop rpmlint from complaining about executable source files in the -debuginfo
|
|
|
0c09fa8 |
chmod -x chat.* version.c
|
|
|
0c09fa8 |
# stop autoxxx from rerunning because of strange timestamps in the tarbal
|
|
|
0c09fa8 |
touch aclocal.m4 configure Makefile.in config.h.in
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%build
|
|
|
0c09fa8 |
# first build the SDL version
|
|
|
0c09fa8 |
%configure --with-otherdatadir=%{_datadir}/%{name} --enable-admin --enable-sdl
|
|
|
0c09fa8 |
make %{?_smp_mflags}
|
|
|
0c09fa8 |
mv xblast xblast-sdl
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
# and then the X11 version
|
|
|
0c09fa8 |
make distclean
|
|
|
0c09fa8 |
%configure --with-otherdatadir=%{_datadir}/%{name} --enable-admin --enable-sound
|
|
|
0c09fa8 |
make %{?_smp_mflags}
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%install
|
|
|
0c09fa8 |
make install localedir=%{_datadir}/locale DESTDIR=$RPM_BUILD_ROOT
|
|
|
0c09fa8 |
%find_lang %{name}
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
mv $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}-x11
|
|
|
0c09fa8 |
install -m 755 xblast-sdl $RPM_BUILD_ROOT%{_bindir}
|
|
|
55e660b |
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6
|
|
|
0c09fa8 |
install -m 644 %{name}.man $RPM_BUILD_ROOT%{_mandir}/man6/%{name}.6
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
# below is the desktop file and icon stuff.
|
|
|
0c09fa8 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
55e660b |
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
|
|
|
55e660b |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
|
|
55e660b |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
|
|
|
db07ee7 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
|
|
|
55e660b |
install -p -m 644 %{SOURCE3} \
|
|
|
55e660b |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
55e660b |
install -p -m 644 %{SOURCE4} \
|
|
|
55e660b |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
55e660b |
install -p -m 644 %{SOURCE5} \
|
|
|
55e660b |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
|
|
db07ee7 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
55e660b |
install -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
db07ee7 |
appstream-util validate-relax --nonet \
|
|
|
db07ee7 |
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
db07ee7 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%files
|
|
|
0c09fa8 |
%{_bindir}/%{name}-sdl
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%files x11
|
|
|
0c09fa8 |
%{_bindir}/%{name}-x11
|
|
|
0c09fa8 |
%{_bindir}/xbsndsrv
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%files -f %{name}.lang common
|
|
|
db07ee7 |
%doc AUTHORS README
|
|
|
db07ee7 |
%license COPYING
|
|
|
0c09fa8 |
%{_bindir}/%{name}
|
|
|
0c09fa8 |
%{_mandir}/man6/%{name}.6.gz
|
|
|
db07ee7 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
Parag Nemade |
d609f7d |
%{_datadir}/applications/%{name}.desktop
|
|
|
55e660b |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
%changelog
|
|
|
751dfc9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-32
|
|
|
751dfc9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
751dfc9 |
|
|
|
a22286a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-31
|
|
|
a22286a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a22286a |
|
|
|
55e660b |
* Wed Mar 4 2020 Hans de Goede <hdegoede@redhat.com> - 2.10.4-30
|
|
|
55e660b |
- Fix xblast not starting because of dejavu-sans-fonts path changes
|
|
|
55e660b |
- Replace 128x128 icon with a better version
|
|
|
55e660b |
- Add 32x32 and 48x48 icons for cases where we need a lower res icon
|
|
|
55e660b |
|
|
|
db07ee7 |
* Wed Feb 19 2020 Hans de Goede <hdegoede@redhat.com> - 2.10.4-29
|
|
|
db07ee7 |
- Fix FTBFS (rhbz#1800265)
|
|
|
db07ee7 |
- Replace icon with 128x128 pixel version
|
|
|
db07ee7 |
- Add appdata
|
|
|
db07ee7 |
- Change font Requires to font(dejavusans) instead of a file-path (rhbz#1731705)
|
|
|
db07ee7 |
|
|
|
9482750 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-28
|
|
|
9482750 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9482750 |
|
|
|
989cdd8 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-27
|
|
|
989cdd8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
989cdd8 |
|
|
|
7de0df4 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-26
|
|
|
7de0df4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7de0df4 |
|
|
|
693c987 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-25
|
|
|
693c987 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
693c987 |
|
|
|
cd76faf |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-24
|
|
|
cd76faf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cd76faf |
|
|
|
11fab4f |
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.10.4-23
|
|
|
11fab4f |
- Remove obsolete scriptlets
|
|
|
11fab4f |
|
|
|
1e1cd11 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-22
|
|
|
1e1cd11 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
1e1cd11 |
|
|
|
112b000 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-21
|
|
|
112b000 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
112b000 |
|
|
|
9cd3f77 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-20
|
|
|
9cd3f77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9cd3f77 |
|
|
|
50c3094 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-19
|
|
|
50c3094 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
50c3094 |
|
|
|
eaf19da |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-18
|
|
|
eaf19da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
eaf19da |
|
|
|
e4e64f6 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-17
|
|
|
e4e64f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e4e64f6 |
|
|
|
f6d8fa8 |
* Fri Jun 13 2014 Hans de Goede <hdegoede@redhat.com> - 2.10.4-16
|
|
|
f6d8fa8 |
- Rebuild for new SDL_gfx
|
|
|
f6d8fa8 |
|
|
|
dbe44e4 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-15
|
|
|
dbe44e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
dbe44e4 |
|
|
|
b437e9c |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-14
|
|
|
b437e9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b437e9c |
|
|
Parag Nemade |
d609f7d |
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 2.10.4-13
|
|
Parag Nemade |
d609f7d |
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
|
|
Parag Nemade |
d609f7d |
- Cleanup spec as per recently changed packaging guidelines
|
|
Parag Nemade |
d609f7d |
|
|
|
ed47824 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-12
|
|
|
ed47824 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ed47824 |
|
|
|
4593990 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-11
|
|
|
4593990 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4593990 |
|
|
|
ddb9831 |
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> - 2.10.4-10
|
|
|
ddb9831 |
- Rebuild for new SDL_gfx
|
|
|
ddb9831 |
|
|
|
56557bd |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-9
|
|
|
56557bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
56557bd |
|
|
|
70d501f |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-8
|
|
|
70d501f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
70d501f |
|
|
|
22b368c |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.4-7
|
|
|
22b368c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
22b368c |
|
|
|
b1d2420 |
* Mon Dec 1 2008 Hans de Goede <hdegoede@redhat.com> 2.10.4-6
|
|
|
b1d2420 |
- Replace bitstream-vera with dejave font (rh 473563)
|
|
|
b1d2420 |
|
|
|
e1fa3ff |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.10.4-5
|
|
|
e1fa3ff |
- Autorebuild for GCC 4.3
|
|
|
e1fa3ff |
|
|
|
d30a922 |
* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.10.4-4
|
|
|
d30a922 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
d30a922 |
|
|
|
807d307 |
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 2.10.4-3
|
|
|
807d307 |
- Rebuild against SDL_gfx 2.0.16.
|
|
|
807d307 |
|
|
|
0c09fa8 |
* Thu Mar 1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.10.4-2
|
|
|
0c09fa8 |
- Use sf.net sourceforge URL from the Guidelines (bz 229476)
|
|
|
0c09fa8 |
- Keep timestamp while installing the wrapper (bz 229476)
|
|
|
0c09fa8 |
- Sanitize and install the manpage (bz 229476)
|
|
|
0c09fa8 |
- Add "Requires: xorg-x11-fonts-ISO8859-1-75dpi" to xblast-x11 (bz 229476)
|
|
|
0c09fa8 |
- Make xblast look for translations under /usr/share/locale (bz 229476)
|
|
|
0c09fa8 |
|
|
|
0c09fa8 |
* Thu Feb 8 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.10.4-1
|
|
|
0c09fa8 |
- Initial Fedora Extras package
|