Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
c227be9475 dist-git conversion 2010-07-28 10:00:05 +00:00
Bill Nottingham
264f390dc9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:27:41 +00:00
Jesse Keating
9b17fc2325 Initialize branch F-11 for angrydd 2009-04-15 06:41:38 +00:00
6 changed files with 94 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
angrydd-1.0.1.tar.gz

9
angrydd.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Angry Drunken Dwarves
Comment=Build large gems, break them and defeat your opponent
Exec=angrydd
Icon=angrydd.png
Terminal=false
Type=Application
Categories=Game;BlocksGame;

BIN
angrydd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

83
angrydd.spec Normal file
View file

@ -0,0 +1,83 @@
Name: angrydd
Version: 1.0.1
Release: 4%{?dist}
Summary: Falling blocks game
Group: Amusements/Games
License: GPLv2
URL: http://www.sacredchao.net/~piman/angrydd/
Source0: http://www.sacredchao.net/~piman/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.png
Source3: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: desktop-file-utils
Requires: pygame hicolor-icon-theme
%description
In Angry, Drunken Dwarves (ADD), you are an angry, drunken dwarf. Why are you
so angry? Who knows. But you've decided to take your aggression out on other
dwarves, by dropping gems on their heads. Lots of gems. ADD is a member of the
classic "falling blocks" puzzle game family, similar to the Capcom game Puzzle
Fighter. The goal of the game is to build large gems by matching up colors,
then break them, raining more gems down onto your opponent. The first person
whose field fills up, loses.
%prep
%setup -q
sed -i 's|PREFIX ?= /usr/local|PREFIX ?= %{_prefix}|' Makefile
sed -i 's|TO = share/games/angrydd|TO = share/angrydd|' Makefile
sed -i 's|install -m 644|install -p -m 644|' Makefile
sed -i 's|cp -R|cp -Rp|' Makefile
sed -i 's|install -d $(DESTDIR)$(PREFIX)/games|install -d $(DESTDIR)%{_bindir}|' Makefile
sed -i 's|ln -sf ../$(TO)/angrydd.py $(DESTDIR)$(PREFIX)/games/angrydd|ln -sf ../$(TO)/angrydd.py $(DESTDIR)%{_bindir}/angrydd|' Makefile
%build
#there's nothing to build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/
desktop-file-install --vendor="fedora" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE3}
%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 COPYING README TODO
%{_bindir}/*
%{_datadir}/%{name}
%{_mandir}/man*/*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%changelog
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Aug 19 2007 Rafał Psota <rafalzaq@gmail.com> 1.0.1-3
- License tag update
* Sun Jul 15 2007 Rafał Psota <rafalzaq@gmail.com> 1.0.1-2
- fixed typo in .desktop
* Sun May 27 2007 Rafał Psota <rafalzaq@gmail.com> 1.0.1-1
- initial Fedora package

View file

@ -1 +0,0 @@
Python 2 only.

1
sources Normal file
View file

@ -0,0 +1 @@
3b0f9771eaae3ffb23d13576a54075e9 angrydd-1.0.1.tar.gz