rpms/sergueis-destiny/FC-6 sergueis-destiny-LICENSE.fedora, NONE, 1.1 sergueis-destiny-wrapper.sh, NONE, 1.1 sergueis-destiny.desktop, NONE, 1.1 sergueis-destiny.spec, NONE, 1.1 sergueis-destiny.xpm, NONE, 1.1 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Tue May 22 15:04:24 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/sergueis-destiny/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31325

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



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


--- NEW FILE sergueis-destiny.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Serguei's Destiny
Comment=AGI adventure game
Exec=sergueis-destiny-wrapper.sh
Icon=sergueis-destiny.xpm
Terminal=false
Categories=Game;AdventureGame;


--- NEW FILE sergueis-destiny.spec ---
Name:		sergueis-destiny
Version:	1.1
Release:	4%{?dist}
Summary:	Serguei's Destiny, an AGI adventure game

Group:		Amusements/Games
License:	Redistributable, no modification permitted
URL:		http://membres.lycos.fr/agisite/serguei.htm
Source0:	serguei.zip
#Original from http://membres.lycos.fr/agisite/serguei.zip includes
#copyrighted executables. Generated new source by unzipping, removing
#DOS-related content, running dos2unix on the text file, and changing
#all filenames to lowercase for agistudio compatibility.
Source1:	sergueis-destiny.desktop
Source2:	sergueis-destiny-wrapper.sh
Source3:	sergueis-destiny.xpm
Source4:	sergueis-destiny-LICENSE.fedora
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

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

%description
A bad wizard Blackmagic has cast his evil spell to the peaceful village
Jolimy. 50 years later, an apprentice sorcerer Serguei must break the
Blackmagic's spell and free Jolimy.

%prep
%setup -q -c

%build
iconv -f IBM850 -t UTF8 serguei.txt > tmp
mv tmp serguei.txt
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 serguei.txt sergueis-destiny-LICENSE.fedora
%{_datadir}/sergueis-destiny
%{_datadir}/applications/fedora-sergueis-destiny.desktop
%{_datadir}/icons/hicolor/32x32/apps/sergueis-destiny.xpm
%{_bindir}/sergueis-destiny-wrapper.sh

%changelog
* Mon May 21 2007 Jon Ciesla <limb at jcomserv.net> 1.1-4
- Minor license corrections.

* Mon May 21 2007 Jon Ciesla <limb at jcomserv.net> 1.1-3
- Added license documentation.

* Thu May 17 2007 Jon Ciesla <limb at jcomserv.net> 1.1-2
- Fixed bad setup arg.
- Improved wrapper script.
- Fixed filename charset for serguei.txt

* Tue May 15 2007 Jon Ciesla <limb at jcomserv.net> 1.1-1
- Initial packaging.


--- NEW FILE sergueis-destiny.xpm ---
/* XPM */
static char * sergueis_destiny_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/sergueis-destiny/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 May 2007 13:30:54 -0000	1.1
+++ sources	22 May 2007 15:03:49 -0000	1.2
@@ -0,0 +1 @@
+c6644979f1a198e6f66c6b6ed7b83937  serguei.zip




More information about the fedora-extras-commits mailing list