rpms/puzzles/devel import.log, NONE, 1.1 puzzles.spec, NONE, 1.1 template.desktop, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Victor Bogado da Silva Lins
bogado at fedoraproject.org
Mon Dec 15 21:15:44 UTC 2008
- Previous message (by thread): rpms/cluster/devel .cvsignore, 1.13, 1.14 cluster.spec, 1.26, 1.27 sources, 1.13, 1.14
- Next message (by thread): rpms/fatsort/devel .cvsignore, 1.10, 1.11 fatsort.spec, 1.23, 1.24 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bogado
Update of /cvs/extras/rpms/puzzles/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19892/devel
Modified Files:
.cvsignore sources
Added Files:
import.log puzzles.spec template.desktop
Log Message:
Initial import for puzzles package
--- NEW FILE import.log ---
puzzles-8373-1_bog10:HEAD:puzzles-8373-1.bog10.src.rpm:1229375587
--- NEW FILE puzzles.spec ---
Name: puzzles
Version: 8373
Release: 1%{?dist}
Summary: A collection of one-player puzzle games
Group: Amusements/Games
License: MIT
URL: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
Source0: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-r%{version}.tar.gz
Source1: template.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, perl, desktop-file-utils
%description
This is a collection of small desktop toys, little games that you can
pop up in a window and play for two or three minutes while you take a
break from whatever else you were doing.
%prep
%setup -q -n puzzles-r%{version}
# uses the fedora command line instead of the one hardcoded in the makefile
# -g is the last option that is not application specific.
# TODO: THIS IS UGLY, NEW VERSIONS COULD MAKE THIS STOP WORKING
sed -e "s/CFLAGS = .*-g/CFLAGS = %{optflags}/" -i Makefile
iconv -f ISO88591 -t UTF8< LICENCE > LICENSE
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/puzzles
cp -a icons/*-32d24.png $RPM_BUILD_ROOT/%{_datadir}/puzzles
make install prefix=%{_prefix} gamesdir=%{_bindir} bindir=%{_bindir} DESTDIR=$RPM_BUILD_ROOT
# create all the desktop files needed.
path=$RPM_BUILD_ROOT/%{_bindir}
for i in $path/*; do
base=`basename $i`
name=`perl -e 'print ucfirst($ARGV[0])' "$base"`
command=puzzle-$base
mv $i $path/$command
sed -e "s/<NAME>/$name/g;s!<EXEC>!%{_bindir}/$command!g;s!<ICON>!%{_datadir}/puzzles/$base-32d24.png!g" %{SOURCE1} > puzzle-$base.desktop
desktop-file-install --vendor="fedora" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications/ \
$command.desktop
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README HACKING LICENSE puzzles.txt
%{_bindir}/*
%{_datadir}/puzzles
%{_datadir}/applications/*
%changelog
*Thu Dec 11 2008 Victor Bogado <victor at bogado.net> 8365-1
- New updastream version
*Mon Oct 27 2008 Victor Bogado <victor at bogado.net> 8200-3
- Build-Requires should have desktop-file-utils
- Description should start with uppercase
- iconv goes now in prep area
- fixed mistakes in the versions of the change log
- Names on the menu should start with an upper-case
*Mon Oct 20 2008 Victor Bogado <victor at bogado.net> 8200-2
- Fixing problem with desktop files.
*Mon Oct 20 2008 Victor Bogado <victor at bogado.net> 8200-1
- Suggestion made by reviewer Sergio Pascual <sergio.pasra at gmail.com>.
- rename all the binaries.
- rename desktop files to follow the binary name.
- adding LICENCE (renamed to LICENSE) to docs.
- sed "in place", better coding.
- removing sed out of build-requires.
- Updated to last upstream version.
*Mon Sep 01 2008 Victor Bogado <victor at bogado.net> 8149-1
- initial spec
--- NEW FILE template.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=<NAME>
GenericName=<NAME> puzzle game.
Comment=<NAME> is a one player puzzle game.
Exec=<EXEC>
Icon=<ICON>
Terminal=false
Type=Application
Categories=Game;LogicGame;
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/puzzles/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Dec 2008 20:47:25 -0000 1.1
+++ .cvsignore 15 Dec 2008 21:15:14 -0000 1.2
@@ -0,0 +1 @@
+puzzles-r8373.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/puzzles/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Dec 2008 20:47:25 -0000 1.1
+++ sources 15 Dec 2008 21:15:14 -0000 1.2
@@ -0,0 +1 @@
+09fe52942cc540fed27903c02c2c9a38 puzzles-r8373.tar.gz
- Previous message (by thread): rpms/cluster/devel .cvsignore, 1.13, 1.14 cluster.spec, 1.26, 1.27 sources, 1.13, 1.14
- Next message (by thread): rpms/fatsort/devel .cvsignore, 1.10, 1.11 fatsort.spec, 1.23, 1.24 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list