rpms/powermanga/FC-4 powermanga.spec,1.9,1.10

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri Apr 21 12:03:41 UTC 2006


Author: thias

Update of /cvs/extras/rpms/powermanga/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17213/FC-4

Modified Files:
	powermanga.spec 
Log Message:
Fix complete breakage from bug #184076, reported in bug #188901.



Index: powermanga.spec
===================================================================
RCS file: /cvs/extras/rpms/powermanga/FC-4/powermanga.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- powermanga.spec	11 Apr 2006 16:14:24 -0000	1.9
+++ powermanga.spec	21 Apr 2006 12:03:41 -0000	1.10
@@ -1,7 +1,7 @@
 Summary: Arcade 2D shoot-them-up game
 Name: powermanga
 Version: 0.80
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Amusements/Games
 URL: http://linux.tlk.fr/games/Powermanga/
@@ -72,6 +72,13 @@
     --dir %{buildroot}%{_datadir}/applications \
     %{name}.desktop
 
+# Workaround for the "texts" dir not being installed, although it's needed
+%{__mkdir_p} %{buildroot}%{_datadir}/games/powermanga/texts
+%{__install} -p -m 0644 texts/*.txt \
+    %{buildroot}%{_datadir}/games/powermanga/texts/
+echo "Lang=en" > \
+    %{buildroot}%{_datadir}/games/powermanga/texts/config.ini
+
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -83,6 +90,7 @@
 %{_bindir}/powermanga
 %attr(2755, root, games) %{_prefix}/games/powermanga
 %{_datadir}/games/powermanga/
+%config(noreplace) %{_datadir}/games/powermanga/texts/config.ini
 %{_datadir}/pixmaps/powermanga.png
 %{_mandir}/man6/powermanga.6*
 %config(noreplace) %attr(664, root, games) %{_var}/games/powermanga.hi
@@ -92,6 +100,10 @@
 
 
 %changelog
+* Fri Apr 21 2006 Matthias Saou <http://freshrpms.net/> 0.80-2
+- Add a workaround to include the "texts" directory and files, since the game
+  won't run without, and they don't get installed automatically! (#188901).
+
 * Tue Apr 11 2006 Matthias Saou <http://freshrpms.net/> 0.80-1
 - Update to 0.80, fixes crash at level 35 boss (#184076, Hugo Cisneiros).
 - Add new zlib-devel build requirement.




More information about the scm-commits mailing list