rpms/coco-coq/F-7 coco-coq-LICENSE.fedora, NONE, 1.1 coco-coq-wrapper.sh, NONE, 1.1 coco-coq.desktop, NONE, 1.1 coco-coq.spec, NONE, 1.1 coco-coq.xpm, NONE, 1.1 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Sun Jul 8 12:47:12 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/coco-coq/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30730

Modified Files:
	sources 
Added Files:
	coco-coq-LICENSE.fedora coco-coq-wrapper.sh coco-coq.desktop 
	coco-coq.spec coco-coq.xpm 
Log Message:
Initial import.



--- NEW FILE coco-coq-LICENSE.fedora ---
Permission was given by the author to (re)distribute this game under the
conditions below:
http://www.agigames.com/forum/index.php?topic=10514.msg89374#msg89374

Redistribution of this game is permitted, provided that the following
conditions are met:

1. You may only redistribute this game in it's original, unmodified form.

2. Packaging of this game for inclusion in software distributions is
permitted, but only if attribution is given to the author and the game is
packaged in a distinct form, and not inseperably bundled with other games.


--- NEW FILE coco-coq-wrapper.sh ---
#!/bin/bash
cd /usr/share/coco-coq
exec nagi "$@"


--- NEW FILE coco-coq.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Coco Coq in Grostesteing's base
Comment=AGI adventure game
Exec=coco-coq-wrapper.sh
Icon=coco-coq.xpm
Terminal=false
Categories=Game;AdventureGame;


--- NEW FILE coco-coq.spec ---
Name:		coco-coq
Version:	0.1
Release:	3%{?dist}
Summary:	Coco Coq in Grostesteing's base, an AGI adventure game

Group:		Amusements/Games
License:	Redistributable, no modification permitted
URL:		http://membres.lycos.fr/agisite/coco-c.htm
Source0:	cococe.zip
#Original from http://membres.lycos.fr/agisite/cococe.zip includes
#copyrighted executables. Generated new source by unzipping, removing
#DOS-related content.
Source1:	coco-coq.desktop
Source2:	coco-coq-wrapper.sh
Source3:	coco-coq.xpm
Source4:	coco-coq-LICENSE.fedora
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

BuildRequires:	desktop-file-utils
Requires:	nagi, hicolor-icon-theme

%description
Grostesteing is back for troubles: he's kidnapped the Coco Coq's friends
to turn them into monsters. Coco must go inside the deadly base, avoids 
traps, free his friends and beat the bad scientist Grostesteing.

%prep

%setup -q -c

#drop case
mv LOGDIR logdir
mv OBJECT object
mv PICDIR picdir
mv SNDDIR snddir
mv VIEWDIR viewdir
mv VOL.0 vol.0
mv WORDS.TOK words.tok

%build
cp %{SOURCE4} .

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -D -m0644 -p * $RPM_BUILD_ROOT%{_datadir}/%{name}
install -D -m0755 -p %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}

# desktop file
desktop-file-install --vendor fedora \
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
	%{SOURCE1}

# icon
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm

%post   
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%postun
touch --no-create %{_datadir}/icons/hicolor || :   
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc coco-coq-LICENSE.fedora
%{_datadir}/coco-coq
%{_datadir}/applications/fedora-coco-coq.desktop
%{_datadir}/icons/hicolor/32x32/apps/coco-coq.xpm
%{_bindir}/coco-coq-wrapper.sh

%changelog
* Fri Jul 06 2007 Jon Ciesla <limb at jcomserv.net> 0.1-3
- Fixed source zip.

* Fri Jul 06 2007 Jon Ciesla <limb at jcomserv.net> 0.1-2
- Fixed spec typo in URL

* Fri Jul 06 2007 Jon Ciesla <limb at jcomserv.net> 0.1-1
- Initial packaging.


--- NEW FILE coco-coq.xpm ---
/* XPM */
static char * coco-coq_xpm[] = {
"24 24 8 1",
" 	c None",
".	c #7F0000",
"+	c #00FFFF",
"@	c #969696",
"#	c #4D4D4D",
"$	c #FFFF00",
"%	c #FF5050",
"&	c #800000",
"                        ",
"     ..                 ",
"     ....               ",
"     ++..@              ",
"     ++++++             ",
"     ++++++++           ",
"     ######$$           ",
"     ####$$$$$$         ",
"     ####$$$$           ",
"     ##$$$$$            ",
"      @$$$              ",
"       %%%              ",
"     %%%%%              ",
"     %%%%%%             ",
"     %%$$%%             ",
"     %%$$%%@            ",
"     %%$$%%@            ",
"     %%$$%%@            ",
"     %%$$$$@            ",
"     %%&&$$$$           ",
"     &&&&&&$$           ",
"     ++++++@@           ",
"     ++++++@            ",
"                        "};


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/coco-coq/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Jul 2007 05:00:03 -0000	1.1
+++ sources	8 Jul 2007 12:46:37 -0000	1.2
@@ -0,0 +1 @@
+e7095c83bffcd667d06f4c005ff18e5e  cococe.zip




More information about the scm-commits mailing list