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

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Thu Jul 12 11:48:13 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/naturette/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16784

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



--- NEW FILE naturette-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 naturette-wrapper.sh ---
#!/bin/bash
cd /usr/share/naturette
exec nagi "$@"


--- NEW FILE naturette.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Naturette
Comment=AGI adventure game
Exec=naturette-wrapper.sh
Icon=naturette.xpm
Terminal=false
Categories=Game;AdventureGame;


--- NEW FILE naturette.spec ---
Name:		naturette
Version:	1.3
Release:	1%{?dist}
Summary:	Naturette, an AGI adventure game

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

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

%description
Naturette was made using AgiStudio. Naturette must find eight 
diamonds to go back to her house. Contains nude scenes.

%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

#char fix
sed -i 's/\r//' Readme.txt

%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 Readme.txt naturette-LICENSE.fedora
%{_datadir}/naturette
%{_datadir}/applications/fedora-naturette.desktop
%{_datadir}/icons/hicolor/32x32/apps/naturette.xpm
%{_bindir}/naturette-wrapper.sh

%changelog
* Wed Jul 11 2007 Jon Ciesla <limb at jcomserv.net> 1.3-1
- Initial packaging.


--- NEW FILE naturette.xpm ---
/* XPM */
static char * naturette_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/naturette/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Jul 2007 01:49:28 -0000	1.1
+++ sources	12 Jul 2007 11:47:37 -0000	1.2
@@ -0,0 +1 @@
+97f0a769ffb3c6c2c27dc7bd48f298fb  rette13e.zip




More information about the fedora-extras-commits mailing list