SPECS: ja2.spec - use .png instead .ico file for represent icon - ...
lisu
lisu at pld-linux.org
Tue Sep 11 21:30:41 CEST 2007
Author: lisu Date: Tue Sep 11 19:30:41 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use .png instead .ico file for represent icon
- -desktop.patch added
---- Files affected:
SPECS:
ja2.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/ja2.spec
diff -u SPECS/ja2.spec:1.4 SPECS/ja2.spec:1.5
--- SPECS/ja2.spec:1.4 Mon Sep 10 18:25:00 2007
+++ SPECS/ja2.spec Tue Sep 11 21:30:35 2007
@@ -8,8 +8,10 @@
Group: Applications/Games
Source0: http://ja2.dragonriders.de/files/%{name}-%{version}-source.tar.bz2
# Source0-md5: b7adb0fd016e4d467657127d4134089d
+Source1: %{name}.png
Patch0: %{name}-config.patch
Patch1: %{name}-DESTDIR.patch
+Patch2: %{name}-desktop.patch
URL: http://ja2.dragonriders.de/
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: sed >= 4.0
@@ -33,6 +35,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__sed} -i 's@#CFLAGS += -g at CFLAGS += %{rpmcflags}@' config.template
mv config.template config.default
@@ -49,6 +52,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,7 +63,7 @@
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man6/*.6*
%{_desktopdir}/ja2-stracciatella.desktop
-%{_pixmapsdir}/jagged2.ico
+%{_pixmapsdir}/%{name}.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -66,6 +71,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/09/11 19:30:35 lisu
+- use .png instead .ico file for represent icon
+- -desktop.patch added
+
Revision 1.4 2007/09/10 16:25:00 wolvverine
- up to 0.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ja2.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list