rpms/tuxpuck/devel tuxpuck-0.8.2-mandest.patch, NONE, 1.1 tuxpuck-0.8.2-utils-werror.patch, NONE, 1.1 tuxpuck.desktop, NONE, 1.1 tuxpuck.png, NONE, 1.1 tuxpuck.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hugo Cisneiros (eitch)
fedora-extras-commits at redhat.com
Mon Aug 7 10:46:46 UTC 2006
Author: eitch
Update of /cvs/extras/rpms/tuxpuck/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20991/devel
Modified Files:
.cvsignore sources
Added Files:
tuxpuck-0.8.2-mandest.patch tuxpuck-0.8.2-utils-werror.patch
tuxpuck.desktop tuxpuck.png tuxpuck.spec
Log Message:
auto-import tuxpuck-0.8.2-1 on branch devel from tuxpuck-0.8.2-1.src.rpm
tuxpuck-0.8.2-mandest.patch:
--- NEW FILE tuxpuck-0.8.2-mandest.patch ---
--- Makefile.old 2006-07-06 20:33:34.000000000 +0200
+++ Makefile 2006-07-06 20:33:48.000000000 +0200
@@ -53,6 +53,6 @@
install : $(NAME)
install -d $(DESTDIR)/usr/bin
- install -d $(DESTDIR)/usr/man/man6
+ install -d $(DESTDIR)/usr/share/man/man6
install -m755 $(NAME) $(DESTDIR)/usr/bin
- install -m644 man/$(NAME).6.gz $(DESTDIR)/usr/man/man6
+ install -m644 man/$(NAME).6.gz $(DESTDIR)/usr/share/man/man6
tuxpuck-0.8.2-utils-werror.patch:
--- NEW FILE tuxpuck-0.8.2-utils-werror.patch ---
--- utils/Makefile.old 2006-07-06 20:47:38.000000000 +0200
+++ utils/Makefile 2006-07-06 20:48:05.000000000 +0200
@@ -1,6 +1,6 @@
# Makefile for TuxPuck Utils , Copyright Jacob Kroon 2001-2002
CC = gcc
-CFLAGS += -g -Wall -Werror
+CFLAGS += -g -Wall
#############################################################
all : ttf2font data2c anim
--- NEW FILE tuxpuck.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=TuxPuck
Comment=3D Shufflepuck Pong Game
Exec=tuxpuck
StartupNotify=false
Terminal=false
Type=Application
Icon=tuxpuck.png
Categories=Application;Game;ArcadeGame;
--- NEW FILE tuxpuck.spec ---
Name: tuxpuck
Version: 0.8.2
Release: 1%{?dist}
Summary: 3D Shufflepuck Pong Game
Group: Amusements/Games
License: GPL
URL: http://www.efd.lth.se/~d00jkr/tuxpuck/
Source0: http://www.efd.lth.se/~d00jkr/tuxpuck/%{name}-%{version}.tar.gz
Source1: tuxpuck.desktop
Source2: tuxpuck.png
Patch0: tuxpuck-0.8.2-mandest.patch
Patch1: tuxpuck-0.8.2-utils-werror.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel, freetype-devel, libvorbis-devel
BuildRequires: libpng-devel, libjpeg-devel, desktop-file-utils
%description
TuxPuck is a shufflepuck game written in C using SDL. The player moves a pad
around a board and tries to shoot down the puck through the opponents defense.
Easy to play, difficult to win.
%prep
%setup -q
%patch0 -p0 -z .mandest
%patch1 -p0 -z .utils-werror
%build
export CFLAGS="%{optflags}"
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Install icon and desktop file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE1}
%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 COPYING readme.txt bugs.txt thanks.txt todo.txt
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6.gz
%{_datadir}/applications/fedora-tuxpuck.desktop
%{_datadir}/icons/hicolor/48x48/apps/tuxpuck.png
%changelog
* Thu Aug 3 2006 Hugo Cisneiros <hugo at devin.com.br> 0.8.2-1
- Initial RPM provided by Che
- Extras Release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tuxpuck/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 7 Aug 2006 10:45:17 -0000 1.1
+++ .cvsignore 7 Aug 2006 10:46:46 -0000 1.2
@@ -0,0 +1 @@
+tuxpuck-0.8.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tuxpuck/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 7 Aug 2006 10:45:17 -0000 1.1
+++ sources 7 Aug 2006 10:46:46 -0000 1.2
@@ -0,0 +1 @@
+fc839abc2b1f3eafae397e1ed6487079 tuxpuck-0.8.2.tar.gz
More information about the scm-commits
mailing list