0512291
Name: curblaster
93551c2
Version:  1.12
5c452c4
Release:  4%{?dist}
0512291
Summary: Sidescrolling shooter, carry the pods through the gate
0512291
0512291
Group: Amusements/Games 
0512291
License: GPLv3+
Jon Ciesla 94367e6
URL: http://curblaster.sourceforge.net
Jon Ciesla 94367e6
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
0512291
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
93551c2
BuildRequires: ncurses-devel, desktop-file-utils, SDL2_mixer-devel, cppcheck
0512291
Requires: hicolor-icon-theme
0512291
0512291
%description
0512291
Grab pods and drop them in the gate, while fighting enemies in your way.
0512291
Multiple weapons available.
0512291
0512291
%prep
0512291
%setup -q
0512291
0512291
%build
0512291
0512291
make CFLAGS="%{optflags}" %{?_smp_mflags}
0512291
0512291
%install
0512291
rm -rf %{buildroot}
0512291
mkdir -p %{buildroot}%{_bindir}
0512291
install -p -m 755 curblaster %{buildroot}%{_bindir}/curblaster
0512291
mkdir -p %{buildroot}%{_mandir}/man6
0512291
install -p -m644 curblaster.6 %{buildroot}%{_mandir}/man6/curblaster.6
0512291
mkdir -p %{buildroot}%{_datadir}/curblaster/data
0512291
install -p -m644 data/* %{buildroot}%{_datadir}/curblaster/data
f71789b
mkdir -p %{buildroot}%{_datadir}/appdata
f71789b
install -m 644 curblaster.appdata.xml %{buildroot}%{_datadir}/appdata/
0512291
0512291
mkdir -p %{buildroot}%{_datadir}/applications
0512291
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
0512291
  curblaster.desktop
0512291
0512291
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
0512291
install -p -m 644 curblaster-logo.png \
0512291
  %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
0512291
93551c2
%check
93551c2
make check
0512291
0512291
%post
0512291
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
0512291
0512291
%postun
0512291
if [ $1 -eq 0 ] ; then
0512291
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
0512291
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
0512291
fi
0512291
0512291
%posttrans
0512291
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
0512291
0512291
0512291
%clean
0512291
rm -rf %{buildroot}
0512291
0512291
0512291
%files
0512291
%defattr(-,root,root,-)
0512291
%{_bindir}/curblaster
0512291
%doc CHANGELOG COPYING
0512291
%{_datadir}/applications/curblaster.desktop
0512291
%{_datadir}/icons/hicolor/32x32/apps/curblaster-logo.png
0512291
%{_datadir}/curblaster/
0512291
%{_mandir}/man6/curblaster.6.gz
f71789b
%{_datadir}/appdata/curblaster.appdata.xml
0512291
0512291
%changelog
5c452c4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
5c452c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5c452c4
76858ce
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-3
76858ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
76858ce
48218ed
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2
48218ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
48218ed
93551c2
* Tue Jan 31 2017 Jon Ciesla <limburgher@gmail.com> - 1.12-1
93551c2
- 1.12
93551c2
93da503
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
93da503
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
93da503
4587b3d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
4587b3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4587b3d
e99a2e0
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.11-2
e99a2e0
- Rebuilt for GCC 5 C++11 ABI change
e99a2e0
f71789b
* Wed Sep 24 2014 Jon Ciesla <limburgher@gmail.com> - 1.11-1
f71789b
- Migrated to SDL2.
f71789b
- Included AppData.
f71789b
e73944f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5
e73944f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e73944f
dbe1c82
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
dbe1c82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dbe1c82
7df4187
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
7df4187
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7df4187
00ba768
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
00ba768
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
00ba768
71407e9
* Wed Aug 29 2012 Jon Ciesla <limburgher@gmail.com> - 1.10-1
71407e9
- Improved in-game documentation.
71407e9
d0dc462
* Mon Aug 06 2012 Jon Ciesla <limburgher@gmail.com> - 1.09-1
d0dc462
- Fix for crash, BZ 845930.
d0dc462
48299bd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
48299bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
48299bd
dacb44c
* Thu Jan 05 2012 Jon Ciesla <limburgher@gmail.com> - 1.08-1
dacb44c
- Fixed gcc 4.7.0 errors.
dacb44c
Jon Ciesla 94367e6
* Sun Dec 04 2011 Jon Ciesla <limb@jcomserv.net> - 1.07-1
Jon Ciesla 94367e6
- Upstream relocated.
Jon Ciesla 94367e6
Jon Ciesla 0d8bff0
* Thu Jun 16 2011 Jon Ciesla <limb@jcomserv.net> - 1.06-1
Jon Ciesla 0d8bff0
- Silenced remaining compiler warnings.
Jon Ciesla 0d8bff0
Jon Ciesla 7316a3b
* Fri Jun 10 2011 Jon Ciesla <limb@jcomserv.net> - 1.05-1
Jon Ciesla 7316a3b
- Silenced a few compiler warnings.
Jon Ciesla 7316a3b
45bddaa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2
45bddaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
45bddaa
0512291
* Thu Mar 18 2010 Jon Ciesla <limb@jcomserv.net> - 1.04-1
0512291
- Made any upstream flags non-mandatory.
0512291
0512291
* Tue Mar 16 2010 Jon Ciesla <limb@jcomserv.net> - 1.03-1
0512291
- Fixed flags, macros, icon scriptlets, linking, timestamps,
0512291
- description and sumamry.
0512291
0512291
* Fri Jan 15 2010 Jon Ciesla <limb@jcomserv.net> - 1.02-1
0512291
- Renamed project.
0512291
0512291
* Thu Jan 07 2010 Jon Ciesla <limb@jcomserv.net> - 1.01-1
0512291
- Review fixes in summary, macros, vendor desktop tag.
0512291
0512291
* Wed Jan 06 2010 Jon Ciesla <limb@jcomserv.net> - 1.0-1
0512291
- create.