rpms/tennix/devel import.log, NONE, 1.1 tennix.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Claudio Tomasoni
claudiotomasoni at fedoraproject.org
Tue Sep 9 18:44:08 UTC 2008
Author: claudiotomasoni
Update of /cvs/pkgs/rpms/tennix/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19444/devel
Modified Files:
.cvsignore sources
Added Files:
import.log tennix.spec
Log Message:
--- NEW FILE import.log ---
tennix-0_6_1-4_fc9:HEAD:tennix-0.6.1-4.fc9.src.rpm:1220985773
--- NEW FILE tennix.spec ---
Name: tennix
Version: 0.6.1
Release: 4%{?dist}
Summary: A simple tennis game
Group: Amusements/Games
License: GPLv2+
URL: http://icculus.org/tennix/
Source0: http://icculus.org/tennix/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel, SDL_mixer-devel SDL_image-devel
BuildRequires: desktop-file-utils
%description
Tennix! is a SDL port of a simple tennis game.
It features a two-player game mode and a single-player mode
against the computer.
%prep
%setup -q
sed -i -e 's/install -s/install/' makefile
sed -i -e 's/install -m/install -p -m/' makefile
%build
CFLAGS="%{optflags}" make
# Usage of smp_mflags causes compilation to fail
# make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
PREFIX=%{_prefix} make install DESTDIR=$RPM_BUILD_ROOT
# Remove executable flag from man page
chmod a-x $RPM_BUILD_ROOT/%{_mandir}/man6/%{name}.*
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
--vendor fedora \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%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 COPYING ChangeLog TODO
%{_bindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man6/%{name}.*
%changelog
* Wed Aug 27 2008 Claudio Tomasoni <claudio at claudiotomasoni.it> 0.6.1-4
- updated Summary
- fixed filename in SOURCE
- fixed paths in install section
- fixed icon caching after installing and uninstalling
- fixed timestamps preservation in prep section
* Sun Aug 24 2008 Claudio Tomasoni <claudio at claudiotomasoni.it> 0.6.1-3
- fixed .desktop file name in files section
* Mon May 12 2008 Claudio Tomasoni <claudio at claudiotomasoni.it> 0.6.1-2
- make install doesn't strip binaries
- make uses OPTFLAGS
* Wed May 7 2008 Claudio Tomasoni <claudio at claudiotomasoni.it> 0.6.1-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tennix/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Sep 2008 20:36:58 -0000 1.1
+++ .cvsignore 9 Sep 2008 18:43:37 -0000 1.2
@@ -0,0 +1 @@
+tennix-0.6.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tennix/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Sep 2008 20:36:58 -0000 1.1
+++ sources 9 Sep 2008 18:43:37 -0000 1.2
@@ -0,0 +1 @@
+5979d0e3f683808ad492a0691430f259 tennix-0.6.1.tar.gz
More information about the fedora-extras-commits
mailing list