|
|
0512291 |
Name: curblaster
|
|
|
0512291 |
Version: 1.04
|
|
|
45bddaa |
Release: 2%{?dist}
|
|
|
0512291 |
Summary: Sidescrolling shooter, carry the pods through the gate
|
|
|
0512291 |
|
|
|
0512291 |
Group: Amusements/Games
|
|
|
0512291 |
License: GPLv3+
|
|
|
0512291 |
URL: http://doc.jcomserv.net/index.php/Curblaster
|
|
|
0512291 |
Source0: http://downloads.jcomserv.net/%{name}-%{version}.tar.gz
|
|
|
0512291 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
|
|
|
0512291 |
BuildRequires: ncurses-devel, desktop-file-utils, SDL_mixer-devel
|
|
|
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
|
|
|
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 |
|
|
|
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
|
|
|
0512291 |
|
|
|
0512291 |
%changelog
|
|
|
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.
|