2009-06-08 18:25:58 +00:00
|
|
|
Name: bastet
|
2014-05-29 19:26:20 +00:00
|
|
|
Version: 0.43.1
|
2019-01-31 14:26:42 +00:00
|
|
|
Release: 26%{?dist}
|
2009-06-08 18:25:58 +00:00
|
|
|
Summary: An evil falling bricks game
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://fph.altervista.org/prog/bastet.html
|
2014-05-29 19:26:20 +00:00
|
|
|
Source0: https://github.com/fph/bastet/archive/%{version}.zip
|
2009-06-08 18:25:58 +00:00
|
|
|
Source1: %{name}.desktop
|
|
|
|
# self-made icon
|
|
|
|
Source2: %{name}.png
|
2017-02-22 14:26:31 +00:00
|
|
|
Patch0: bastet-tr1.patch
|
2017-06-01 08:43:06 +00:00
|
|
|
Patch1: bastet-fix-appdata.patch
|
2009-06-08 18:25:58 +00:00
|
|
|
|
2018-07-19 18:56:42 +00:00
|
|
|
BuildRequires: gcc-c++
|
2009-06-08 18:25:58 +00:00
|
|
|
BuildRequires: boost-devel ncurses-devel desktop-file-utils
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bastet is a simple ncurses-based falling bricks like game. Unlike
|
|
|
|
normal, however, Bastet does not choose your next brick at random.
|
|
|
|
Instead, it uses a special algorithm designed to choose the worst
|
|
|
|
brick possible. As you can imagine, playing Bastet can be a very
|
|
|
|
frustrating experience!
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-02-22 14:26:31 +00:00
|
|
|
|
|
|
|
%patch0 -p1
|
2017-06-01 08:43:06 +00:00
|
|
|
%patch1 -p1
|
2017-02-22 14:26:31 +00:00
|
|
|
|
2009-06-08 18:25:58 +00:00
|
|
|
# remove reference to Tetris to match our guidelines
|
|
|
|
sed -e 's/Tetris(R)/any falling bricks game/g' -e 's/Tetris/falling bricks game/g' \
|
|
|
|
-e 's/tetris/falling bricks game/g' README > README.new
|
|
|
|
mv -f README.new README
|
|
|
|
# remove also any reference to Tetris in the bastet manpage
|
|
|
|
sed -e 's/Tetris(r)/any falling bricks game/g' -e 's/tetris/falling bricks game/g' \
|
|
|
|
bastet.6 > bastet.6.new
|
|
|
|
mv -f bastet.6.new bastet.6
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2014-05-29 19:26:20 +00:00
|
|
|
# install the AppData file
|
|
|
|
%__mkdir_p %{buildroot}%{_datadir}/appdata
|
|
|
|
cp bastet.appdata.xml %{buildroot}%{_datadir}/appdata/
|
|
|
|
|
2009-06-08 18:25:58 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
install -p -m 755 bastet %{buildroot}%{_bindir}/bastet
|
|
|
|
|
|
|
|
# below the desktop file and icon stuff
|
|
|
|
desktop-file-install \
|
|
|
|
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
|
%{SOURCE1}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
|
|
|
|
|
|
|
|
install -p -m 0644 %{SOURCE2} \
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
|
|
|
|
|
# manpage
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man6/
|
|
|
|
install -p -m 0644 %{name}.6 \
|
|
|
|
%{buildroot}%{_mandir}/man6/%{name}.6
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS LICENSE NEWS README
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2014-05-29 19:26:20 +00:00
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
2009-06-08 18:25:58 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%{_mandir}/man6/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-01-31 14:26:42 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-24 21:22:35 +00:00
|
|
|
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-25
|
|
|
|
- Rebuilt for Boost 1.69
|
|
|
|
|
2018-07-12 20:57:57 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 03:38:19 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-23 00:52:36 +00:00
|
|
|
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-22
|
|
|
|
- Rebuilt for Boost 1.66
|
|
|
|
|
2018-01-07 18:30:54 +00:00
|
|
|
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.43.1-21
|
|
|
|
- Remove obsolete scriptlets
|
|
|
|
|
2017-08-02 18:08:43 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 03:49:07 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-19 15:20:07 +00:00
|
|
|
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-18
|
|
|
|
- Rebuilt for s390x binutils bug
|
|
|
|
|
2017-07-03 15:53:26 +00:00
|
|
|
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-17
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-06-01 08:43:06 +00:00
|
|
|
* Thu Jun 01 2017 Richard Hughes <rhughes@redhat.com> - 0.43.1-16
|
|
|
|
- Fix AppData file to validate (also sent upstream).
|
|
|
|
|
2017-02-22 14:26:31 +00:00
|
|
|
* Wed Feb 22 2017 Jon Ciesla <limburgher@gmail.com> - 0.43.1-15
|
|
|
|
- Fix FTBFS.
|
|
|
|
|
2017-02-10 06:45:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 16:36:39 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-13
|
|
|
|
- Rebuilt for Boost 1.63
|
|
|
|
|
2017-01-27 02:49:40 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-12
|
|
|
|
- Rebuilt for Boost 1.63
|
|
|
|
|
2016-02-03 16:54:55 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-14 15:31:40 +00:00
|
|
|
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-10
|
|
|
|
- Rebuilt for Boost 1.60
|
|
|
|
|
2015-08-27 20:18:14 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.43.1-9
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-07-29 17:01:26 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 16:10:47 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.43.1-7
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-06-17 01:38:59 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 10:46:17 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.43.1-5
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-01-27 05:21:39 +00:00
|
|
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.43.1-4
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2014-08-15 22:20:45 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 02:40:41 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-29 19:26:20 +00:00
|
|
|
* Thu May 29 2014 Richard Hughes <richard@hughsie.com> - 0.43.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-05-22 22:48:28 +00:00
|
|
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.43-22
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
2013-08-03 03:09:21 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-27 12:50:18 +00:00
|
|
|
* Sat Jul 27 2013 pmachata@redhat.com - 0.43-20
|
|
|
|
- Rebuild for boost 1.54.0
|
|
|
|
|
2013-02-10 01:34:10 +00:00
|
|
|
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.43-19
|
|
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
|
2013-02-09 21:49:19 +00:00
|
|
|
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.43-18
|
|
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
|
2012-07-26 19:40:01 +00:00
|
|
|
* Thu Jul 26 2012 Jon Ciesla <limburgher@gmail.com> - 0.43-17
|
|
|
|
- Rebuild for boost 1.50.
|
|
|
|
|
2012-07-18 17:36:28 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-28 17:52:37 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-15
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-12 22:20:44 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-21 15:00:38 +00:00
|
|
|
* Mon Nov 21 2011 Jon Ciesla <limb@jcomserv.net> - 0.43-13
|
|
|
|
- Rebuild for new boost.
|
|
|
|
|
2011-07-21 12:19:16 +00:00
|
|
|
* Thu Jul 21 2011 Jon Ciesla <limb@jcomserv.net> - 0.43-12
|
|
|
|
- Rebuild for new boost.
|
|
|
|
|
2011-04-08 17:19:01 +00:00
|
|
|
* Fri Apr 08 2011 Jon Ciesla <limb@jcomserv.net> - 0.43-11
|
|
|
|
- Rebuild for new boost.
|
|
|
|
|
2011-02-08 04:29:12 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-07 00:03:10 +00:00
|
|
|
* Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.43-9
|
|
|
|
- rebuild for new boost
|
|
|
|
|
2010-07-30 12:54:07 +00:00
|
|
|
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 0.43-8
|
|
|
|
- Rebuild for new boost.
|
|
|
|
|
2010-01-21 14:38:23 +00:00
|
|
|
* Thu Jan 21 2010 Jon Ciesla <limb@jcomserv.net> - 0.43-7
|
|
|
|
- Rebuild for new boost.
|
|
|
|
|
2009-07-24 17:53:12 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-08 18:25:58 +00:00
|
|
|
* Sat Jun 06 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 0.43-5
|
|
|
|
- Changed CFLAGS to CXXFLAGS
|
|
|
|
|
|
|
|
* Fri Jun 05 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 0.43-4
|
|
|
|
- Added new icon cache scriptlets
|
|
|
|
- Added optflags
|
|
|
|
- Changed license to GPLv3+
|
|
|
|
- Removed manually gzip of manpage
|
|
|
|
|
|
|
|
* Thu Jun 04 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 0.43-3
|
|
|
|
- Add manpage
|
|
|
|
- Removed reference to Tetris in the bastet manpage
|
|
|
|
|
|
|
|
* Mon Jun 01 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 0.43-2
|
|
|
|
- Removed reference to Tetris to match our guidelines
|
|
|
|
|
|
|
|
* Mon Jun 01 2009 Stefan Posdzich <cheekyboinc@foresightlinux.org> - 0.43-1
|
|
|
|
- Initial SPEC file
|