4a4654d
Name: tecnoballz
d415333
Version: 0.92
b83dbe1
Release: 29%{?dist}
4a4654d
Summary: A Brick Busting game
4a4654d
4a4654d
Group: Amusements/Games
d415333
License: GPLv3+
4a4654d
URL: http://linux.tlk.fr/games/TecnoballZ/
4a4654d
Source0: http://linux.tlk.fr/games/TecnoballZ/download/%{name}-%{version}.tgz
4a4654d
Source1: %{name}.xpm
4a4654d
Source2: %{name}.desktop
5f2d139
# Andrea Musuruane
5f2d139
# Fix dependencies
5f2d139
Patch0: tecnoballz-0.92-dependecies.patch
5f2d139
# Andrea Musuruane
5f2d139
# Don't combine explicit and implicit rules for make 3.82
5f2d139
# Set correct gamedir for Fedora
5f2d139
Patch1: tecnoballz-0.92-Makefile.patch
5f2d139
# Debian
5f2d139
# Fix configure.ac Makefile.am to include missing files
5f2d139
Patch2: tecnoballz-0.92-level_data.patch
5f2d139
Patch3: tecnoballz-0.92-texts_dir.patch
5f2d139
# Debian
5f2d139
# Use tinyxml system library
5f2d139
Patch4: tecnoballz-0.92-tinyxml.patch
33e6752
# Upstream CVS
5f2d139
# Compile with gcc 4.3
5f2d139
Patch5: tecnoballz-0.92-gcc43.patch
5f2d139
# Hans de Goede
5f2d139
# Drop setgid privileges when not needed
5f2d139
Patch6: tecnoballz-0.92-dropsgid.patch
1f9505b
# Raphael Groner/Upstream GIT
1f9505b
# Compile with gcc 6
1f9505b
Patch7: tecnoballz-0.92-gcc6-narrowing.patch
4a4654d
5f2d139
BuildRequires: autoconf
d415333
BuildRequires: SDL_image-devel
57ecdec
BuildRequires: SDL_mixer-devel
57ecdec
BuildRequires: mikmod-devel
5f2d139
BuildRequires: tinyxml-devel
4a4654d
BuildRequires: desktop-file-utils
4a4654d
Requires: hicolor-icon-theme
4a4654d
4a4654d
4a4654d
%description
d415333
A exciting Brick Breaker with 50 levels of game and 11 special levels, 
d415333
distributed on the 2 modes of game to give the player a sophisticated 
d415333
system of attack weapons with an enormous power of fire that can be 
d415333
build by gaining bonuses. Numerous decors, musics and sounds 
d415333
complete this great game. This game was ported from the Commodore Amiga.
4a4654d
4a4654d
4a4654d
%prep
4a4654d
%setup -q
4a4654d
%patch0 -p1
4a4654d
%patch1 -p1
5f2d139
%patch2 -p1
5f2d139
%patch3 -p1
5f2d139
# Patch4 must be called after Patch0
5f2d139
%patch4 -p1
5f2d139
%patch5 -p2
5f2d139
%patch6 -p1
1f9505b
%patch7 -p1
4a4654d
4a4654d
4a4654d
%build
5f2d139
autoreconf -fvi
4a4654d
%configure
d415333
# FIX: ovverride CXXFLAGS to pick up RPM_OPT_FLAGS
4a4654d
make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS"
4a4654d
4a4654d
4a4654d
%install
Parag Nemade b121d77
make install DESTDIR=%{buildroot} INSTALL="install -p"
4a4654d
4a4654d
# install desktop file
4a4654d
mkdir -p %{buildroot}%{_datadir}/applications
Parag Nemade b121d77
desktop-file-install         \
4a4654d
  --dir %{buildroot}%{_datadir}/applications \
4a4654d
  %{SOURCE2}
4a4654d
4a4654d
# install icon
4a4654d
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
4a4654d
install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
4a4654d
4a4654d
%files
4a4654d
%attr(2755,root,games) %{_bindir}/tecnoballz
4a4654d
%{_datadir}/tecnoballz
980bf9b
%{_localstatedir}/games/tecnoballz
980bf9b
%attr(-,root,games) %config(noreplace) %{_localstatedir}/games/tecnoballz/tecnoballz.hi
6f5ff9e
%{_mandir}/man6/%{name}.6*
4a4654d
%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
Parag Nemade b121d77
%{_datadir}/applications/%{name}.desktop
4a4654d
%doc AUTHORS CHANGES COPYING README
4a4654d
4a4654d
4a4654d
%changelog
b83dbe1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-29
b83dbe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b83dbe1
74e115b
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.92-28
74e115b
- Remove obsolete scriptlets
74e115b
c008304
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-27
c008304
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c008304
36cb3ce
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-26
36cb3ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
36cb3ce
e42cc07
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-25
e42cc07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e42cc07
1f9505b
* Sat Mar 26 2016 Andrea Musuruane <musuruan@gmail.com> - 0.92-24
1f9505b
- Fix gcc6 narrowing. Thanks to Raphael Groner. Fix #1308179.
1f9505b
246c5fd
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-23
246c5fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
246c5fd
c6dbd19
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-22
c6dbd19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c6dbd19
84601ad
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.92-21
84601ad
- Rebuilt for GCC 5 C++11 ABI change
84601ad
18f1b03
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-20
18f1b03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
18f1b03
8cda728
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-19
8cda728
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8cda728
b13723c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-18
b13723c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b13723c
f18f013
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-17
f18f013
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f18f013
Parag Nemade b121d77
* Thu Feb 14 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.92-16
Parag Nemade b121d77
- Remove vendor tag from desktop file
Parag Nemade b121d77
- spec clean up
Parag Nemade b121d77
f5e4adf
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-15
f5e4adf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f5e4adf
9a6f850
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-14
9a6f850
- Rebuilt for c++ ABI breakage
9a6f850
76f5c22
* Mon Feb 13 2012 Andrea Musuruane <musuruan@gmail.com> 0.92-13
76f5c22
- Rebuilt because of BZ #758251
76f5c22
11922dc
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-12
11922dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11922dc
5f2d139
* Sat Nov 26 2011 Andrea Musuruane <musuruan@gmail.com> 0.92-11
5f2d139
- use tinyxml system library (patch from Debian)
5f2d139
- fix configure.ac and Makefile.am to include missing files (patches from 
5f2d139
  Debian)
5f2d139
- fix dependencies in configure.ac
5f2d139
8c2fb75
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-10
8c2fb75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8c2fb75
Jesse Keating 31c5a49
* Wed Sep 29 2010 jkeating - 0.92-9
Jesse Keating 31c5a49
- Rebuilt for gcc bug 634757
Jesse Keating 31c5a49
6f5ff9e
* Sun Sep 12 2010 Andrea Musuruane <musuruan@gmail.com> 0.92-8
6f5ff9e
- fix building with make 3.82 (BZ #631335)
6f5ff9e
- fix dependencies
6f5ff9e
- fix desktop file
6f5ff9e
aa5ceaf
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-7
aa5ceaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aa5ceaf
db81302
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-6
db81302
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
db81302
980bf9b
* Wed Dec 03 2008 Andrea Musuruane <musuruan@gmail.com> 0.92-5
980bf9b
- fix unowned directory (BZ #473980)
980bf9b
57ecdec
* Sun Feb 17 2008 Andrea Musuruane <musuruan@gmail.com> 0.92-4
57ecdec
- rebuilt against libmikmod 3.2.0
57ecdec
329536d
* Sun Feb 10 2008 Andrea Musuruane <musuruan@gmail.com> 0.92-3
57ecdec
- rebuilt against gcc 4.3
329536d
33e6752
* Sun Jan 06 2008 Andrea Musuruane <musuruan@gmail.com> 0.92-2
33e6752
- added a patch from upstream CVS to compile with GCC 4.3
33e6752
d415333
* Sat Dec 22 2007 Andrea Musuruane <musuruan@gmail.com> 0.92-1
d415333
- updated to v0.92
d415333
- license changed to GPLv3+
d415333
- changed description
d415333
- dropped French man page because it is outdated
d415333
- added SDL_image-devel to BR
d415333
- added a new patch by Hans de Goede to drop setgid privileges when not needed
d415333
- dropped no longer needed patches
d415333
d480423
* Sat Aug 25 2007 Andrea Musuruane <musuruan@gmail.com> 0.91-6
d480423
- changed license due to new guidelines
d480423
- removed %%{?dist} tag from changelog
d480423
- updated icon cache scriptlets to be compliant to new guidelines
d480423
- changed desktop categories from Game;ArcadeGame; to
d480423
  Game;ArcadeGame;BlocksGame; (resolves bugzilla #250940)
d480423
d480423
* Tue Apr 03 2007 Andrea Musuruane <musuruan@gmail.com> 0.91-5
4a4654d
- changed summary to avoid naming trademarks.
4a4654d
d480423
* Sun Apr 01 2007 Andrea Musuruane <musuruan@gmail.com> 0.91-4
4a4654d
- corrected silly error in the %%postun script
4a4654d
d480423
* Sat Mar 31 2007 Andrea Musuruane <musuruan@gmail.com> 0.91-3
4a4654d
- added a patch by Hans de Goede to drop setgid privileges when not needed
4a4654d
- changed icon cache scriptles to be compliant with updated guidelines
4a4654d
- changed vendor to fedora in desktop-file-install
4a4654d
d480423
* Wed Mar 25 2007 Andrea Musuruane <musuruan@gmail.com> 0.91-2
4a4654d
- moved from Livna to Fedora
4a4654d
- added a patch by Hans de Goede to fix compiling on 64 bits (Livna #1367)
4a4654d
- added a patch by Hans de Goede not to require smpeg (Livna #1367)
4a4654d
- changed desktop category to Game;ArcadeGame
4a4654d
- binary setgid 'games' in order to allow a shared scoreboard file
4a4654d
- cosmetic changes
4a4654d
d480423
* Sun Dec 17 2006 Andrea Musuruane <musuruan@gmail.com> 0.91-1
4a4654d
- initial build for Livna based on Vine Linux package
4a4654d
- used icon file from Debian package
4a4654d
- used patches from Debian and Vine Linux packages
4a4654d
- used a patch by BoredByPolitics via happypenguin.org to fix building
4a4654d
- used a patch by Martin Michlmayr to fix compiling with gcc 4.1 (Debian
4a4654d
  #355841)
4a4654d
- used a patch from upstream to fix segfault into configfile.cc file
4a4654d