[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/dgae/FC-5 dgae.desktop, NONE, 1.1 dgae.spec, NONE, 1.1 dgae.xpm, NONE, 1.1 sources, 1.1, 1.2



Author: limb

Update of /cvs/pkgs/rpms/dgae/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22188

Modified Files:
	sources 
Added Files:
	dgae.desktop dgae.spec dgae.xpm 
Log Message:
Initial import.



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


--- NEW FILE dgae.spec ---
Name:		dgae
Version:	1.1
Release:	2%{?dist}
Summary:	DG, a short AGI adventure game

Group:		Amusements/Games
License:	Public Domain
URL:		http://membres.lycos.fr/agisite/agisite.htm
Source0:	dgae.zip
#Original from http://membres.lycos.fr/agisite/dgae.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:	dgae.desktop
Source2:	dgae-wrapper.sh
Source3:	dgae.xpm
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

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

%description
Help DG to seek out his twin brother's stick.
This game is a public domain: you can look out the codes and make your own
AGI game.

%prep
%setup -q -c

%build
iconv -f IBM850 -t UTF8 readme.txt > readme.txt.tmp
mv readme.txt.tmp readme.txt

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

%changelog
* Thu May 17 2007 Jon Ciesla <limb jcomserv net> 1.1-2
- Fixed URL.
- Dropped bad setup arg.
- Corrected readme.txt charset.
- Improved wrapper script.

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


--- NEW FILE dgae.xpm ---
/* XPM */
static char * dg_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/dgae/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 May 2007 17:34:26 -0000	1.1
+++ sources	21 May 2007 18:20:01 -0000	1.2
@@ -0,0 +1 @@
+97055329e999c4853062ac24eed21517  dgae.zip


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]