rpms/kcirbshooter/devel import.log, NONE, 1.1 kcirbshooter-optflags.patch, NONE, 1.1 kcirbshooter.desktop, NONE, 1.1 kcirbshooter.png, NONE, 1.1 kcirbshooter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Stefan Posdzich
cheekyboinc at fedoraproject.org
Thu Nov 6 18:10:59 UTC 2008
Author: cheekyboinc
Update of /cvs/pkgs/rpms/kcirbshooter/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3570/devel
Modified Files:
.cvsignore sources
Added Files:
import.log kcirbshooter-optflags.patch kcirbshooter.desktop
kcirbshooter.png kcirbshooter.spec
Log Message:
initial commit
--- NEW FILE import.log ---
kcirbshooter-0_04-2_fc10:HEAD:kcirbshooter-0.04-2.fc10.src.rpm:1225994252
kcirbshooter-optflags.patch:
--- NEW FILE kcirbshooter-optflags.patch ---
--- Makefile 2008-10-17 18:35:57.000000000 +0200
+++ Makefile.optflags 2008-10-27 19:21:29.000000000 +0100
@@ -1,5 +1,6 @@
GCC = gcc
-CFLAGS = -g -Wall --pedantic -lSDL_image -lSDL_mixer `sdl-config --libs --cflags`
+OPTFLAGS = -g -Wall --pedantic
+CFLAGS = $(OPTFLAGS) -lSDL_image -lSDL_mixer `sdl-config --libs --cflags`
EXE = kcirbshooter
##########################
--- NEW FILE kcirbshooter.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=kcirbshooter
Comment=A small puzzle game
Exec=kcirbshooter
Icon=kcirbshooter
Type=Application
Categories=Game;ArcadeGame;
Name[de_DE]=kcirbshooter
--- NEW FILE kcirbshooter.spec ---
Name: kcirbshooter
Version: 0.04
Release: 2%{?dist}
Summary: A small puzzle game
Group: Amusements/Games
License: GPLv2
URL: http://kcirbshooter.spielen-unter-linux.de/
Source0: http://kcirbshooter.spielen-unter-linux.de/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
# add rpm optflags to makefile
Patch0: %{name}-optflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: hicolor-icon-theme
BuildRequires: SDL-devel SDL_mixer-devel SDL_image-devel desktop-file-utils
%description
kcirbshooter is a small puzzle game for linux, where you'll have
to clear the central area from differently colored bricks. Three or
more touching/adjacent bricks of the same color will vanish. You can
shoot bricks into the playing field from the fringes.
%prep
%setup -q
%patch0 -p0 -b .optflags
%build
make %{?_smp_mflags} OPTFLAGS="%optflags"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kcirbshooter
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/gfx
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/levels
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/snd
install -p -m 755 kcirbshooter $RPM_BUILD_ROOT%{_bindir}/kcirbshooter
install -p -m 644 gfx/* $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/gfx/
install -p -m 644 levels/* $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/levels/
install -p -m 644 snd/* $RPM_BUILD_ROOT%{_datadir}/kcirbshooter/snd/
# below the desktop file and icon stuff
desktop-file-install \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644 %{SOURCE2} \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc README LICENSE.txt
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
* Thu Oct 18 2008 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 0.04-2
- Add .optflags patch
- Fixed description
- Some cosmetic corrections
* Thu Oct 18 2008 Stefan Posdzich <cheekyboinc at foresightlinux.org> - 0.04-1
- Initial SPEC file
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kcirbshooter/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Nov 2008 22:41:13 -0000 1.1
+++ .cvsignore 6 Nov 2008 18:10:29 -0000 1.2
@@ -0,0 +1 @@
+kcirbshooter-0.04.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kcirbshooter/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Nov 2008 22:41:13 -0000 1.1
+++ sources 6 Nov 2008 18:10:29 -0000 1.2
@@ -0,0 +1 @@
+e14d705b08ba024ae801d15daf0b1223 kcirbshooter-0.04.tar.gz
More information about the fedora-extras-commits
mailing list