rpms/gemdropx/FC-6 gemdropx.desktop, NONE, 1.1 gemdropx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Feb 14 08:14:49 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/gemdropx/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29615

Modified Files:
	.cvsignore sources 
Added Files:
	gemdropx.desktop gemdropx.spec 
Log Message:
* Fri Feb 9 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.9-2
- Various specfile fixes from review (bz 226998)



--- NEW FILE gemdropx.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Gem Drop X
Comment=Falling blocks puzzlegame
Exec=gemdropx
Icon=gemdropx.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Game;BlocksGame;


--- NEW FILE gemdropx.spec ---
Name:           gemdropx
Version:        0.9
Release:        2%{?dist}
Summary:        Falling blocks puzzlegame
Group:          Amusements/Games
License:        GPL
URL:            http://www.newbreedsoftware.com/gemdropx
Source0:        ftp://ftp.billsgames.com/unix/x/%{name}/src/%{name}-%{version}.tar.gz
Source1:        %{name}.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  SDL_mixer-devel ImageMagick desktop-file-utils
Requires:       hicolor-icon-theme

%description
Gem Drop X is a fast-paced puzzle game where it is your job to clear
the screen of gems before they squash you.


%prep
%setup -q
mv data/sounds/README README-sounds.txt
mv data/images/README README-images.txt


%build
make XTRA_FLAGS="$RPM_OPT_FLAGS" DATA_PREFIX=%{_datadir}/%{name}


%install
rm -rf $RPM_BUILD_ROOT
# Makefile always wants to install under /usr/local, so DIY
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/images
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -p -m 644 data/images/*.bmp $RPM_BUILD_ROOT%{_datadir}/%{name}/images
cp -a data/sounds $RPM_BUILD_ROOT%{_datadir}/%{name}
 
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
convert data/images/%{name}-icon.xpm \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png


%clean
rm -rf $RPM_BUILD_ROOT


%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 || :


%files
%defattr(-,root,root,-)
%doc README*.txt COPYING.txt AUTHORS.txt CHANGES.txt TODO.txt
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png


%changelog
* Fri Feb 9 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.9-2
- Various specfile fixes from review (bz 226998)

* Thu Feb 1 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.9-1
- Initial Fedora Extras package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gemdropx/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Feb 2007 18:49:07 -0000	1.1
+++ .cvsignore	14 Feb 2007 08:14:17 -0000	1.2
@@ -0,0 +1 @@
+gemdropx-0.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gemdropx/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Feb 2007 18:49:07 -0000	1.1
+++ sources	14 Feb 2007 08:14:17 -0000	1.2
@@ -0,0 +1 @@
+fd0337e89778e2dba74461c555ea8e42  gemdropx-0.9.tar.gz




More information about the scm-commits mailing list