[fbg2] 0.4, rebuild for physfs2
Tom Callaway
spot at fedoraproject.org
Thu Dec 15 20:54:28 UTC 2011
commit 99d733fd557ce9d809d414fcf65c1105d233ce89
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Dec 15 15:54:28 2011 -0500
0.4, rebuild for physfs2
.gitignore | 1 +
fbg2-0.4-desktop-fix.patch | 13 +++++++++++++
fbg2.spec | 20 +++++++++-----------
sources | 2 +-
4 files changed, 24 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e5915bd..0ad7006 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/fbg2-0.3.tar.gz
+/fbg2-0.4.tar.gz
diff --git a/fbg2-0.4-desktop-fix.patch b/fbg2-0.4-desktop-fix.patch
new file mode 100644
index 0000000..f030c8b
--- /dev/null
+++ b/fbg2-0.4-desktop-fix.patch
@@ -0,0 +1,13 @@
+diff -up fbg2-0.4/fbg2.desktop.fix fbg2-0.4/fbg2.desktop
+--- fbg2-0.4/fbg2.desktop.fix 2011-07-28 11:34:06.000000000 -0400
++++ fbg2-0.4/fbg2.desktop 2011-12-09 15:17:35.187077308 -0500
+@@ -2,7 +2,7 @@
+ Name=Falling Block Game
+ Type=Application
+ Comment=Classic block-stacking arcade game
+-Icon=fbg2.png
++Icon=fbg2
+ Exec=fbg2
+-Categories=Game
++Categories=Game;ArcadeGame;
+
diff --git a/fbg2.spec b/fbg2.spec
index 4392930..a418ec0 100644
--- a/fbg2.spec
+++ b/fbg2.spec
@@ -1,15 +1,14 @@
Name: fbg2
-Version: 0.3
-Release: 3%{?dist}
+Version: 0.4
+Release: 1%{?dist}
Summary: A falling block stacking game
Group: Amusements/Games
# Code is GPLv2+, music and graphics are CC-BY-SA
License: GPLv2+ and CC-BY-SA
URL: http://sourceforge.net/projects/fbg/
Source0: http://downloads.sourceforge.net/project/fbg/%{name}-%{version}.tar.gz
-Source1: %{name}.png
-Source2: %{name}.desktop
-BuildRequires: radius-engine-devel, desktop-file-utils, zip
+Patch0: fbg2-0.4-desktop-fix.patch
+BuildRequires: radius-engine-devel >= 0.7, desktop-file-utils, zip
%description
Falling Block Game is a free, open source block stacking game. The object of
@@ -18,6 +17,7 @@ more rows you clear at once, the more points you score!
%prep
%setup -q
+%patch0 -p1 -b .fix
chmod -x License.txt ChangeLog *.c
%build
@@ -26,14 +26,9 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
-mkdir -p %{buildroot}%{_datadir}/pixmaps/
-install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
-
-mkdir -p %{buildroot}%{_datadir}/applications
-desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2}
+desktop-file-validate %{buildroot}%{_datadir}/applications/fbg2.desktop
%files
-%defattr(-,root,root,-)
%doc License.txt ChangeLog
%{_bindir}/%{name}
%{_datadir}/%{name}/
@@ -41,6 +36,9 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2}
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Fri Dec 9 2011 Tom Callaway <spot at fedoraproject.org> - 0.4-1
+- update to 0.4
+
* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 0.3-3
- Rebuild for new libpng
diff --git a/sources b/sources
index 7e9b4f9..a44ecd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-548a63b729ed7c20da98389f4f3611bf fbg2-0.3.tar.gz
+119fe15939882fee97195aea2bc2ccba fbg2-0.4.tar.gz
More information about the scm-commits
mailing list