packages: stone_soup/stone_soup.spec - add icon and desktop - some misc cha...
lisu
lisu at pld-linux.org
Thu Dec 30 22:49:42 CET 2010
Author: lisu Date: Thu Dec 30 21:49:42 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add icon and desktop
- some misc changes
---- Files affected:
packages/stone_soup:
stone_soup.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: packages/stone_soup/stone_soup.spec
diff -u packages/stone_soup/stone_soup.spec:1.27 packages/stone_soup/stone_soup.spec:1.28
--- packages/stone_soup/stone_soup.spec:1.27 Fri Oct 29 22:23:20 2010
+++ packages/stone_soup/stone_soup.spec Thu Dec 30 22:49:36 2010
@@ -7,11 +7,12 @@
Summary(pl.UTF-8): stone soup :: klon crawla
Name: stone_soup
Version: 0.7.1
-Release: 1
+Release: 2
License: Nethack Like
Group: X11/Applications/Games
Source0: http://downloads.sourceforge.net/crawl-ref/%{name}-%{version}.tar.bz2
# Source0-md5: e95e538264bbcf6db64cec920d669542
+Source1: %{name}.desktop
Patch0: %{name}-systemlua.patch
Patch1: %{name}-makefile.patch
Patch2: %{name}-tiles.patch
@@ -59,8 +60,7 @@
%patch1 -p1
%if %{with tiles}
%patch2 -p1
-%endif
-%if %{without tiles}
+%else
%patch3 -p1
%endif
@@ -77,6 +77,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
%{__make} -C source install \
prefix="%{_prefix}" \
@@ -87,15 +88,20 @@
V="y" \
DESTDIR=$RPM_BUILD_ROOT
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -a source/dat/tiles/stone_soup_icon-32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CREDITS.txt README.* docs
-%attr(2755,root,games) %{_bindir}/stone_soup
-%{_datadir}/stone_soup
-%attr(775,root,games) %dir /var/games/stone_soup
+%attr(2755,root,games) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%attr(775,root,games) %dir /var/games/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -103,6 +109,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2010/12/30 21:49:36 lisu
+- add icon and desktop
+- some misc changes
+
Revision 1.27 2010/10/29 20:23:20 lisu
- BR: cal3d-devel
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/stone_soup/stone_soup.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list