Andrzej Krzysztofowicz wrote: > - podsylaj diffy, nie nowe wersje juz istniejacych plikow jasne ze jasne :) > - nie widze ikonki. teraz nie bedzie potrzebna oddzielna ikona - chyba ze ma byc inaczej... mcten
--- wop-client.desktop_ 2005-06-05 00:44:57.000000000 +0200 +++ wop-client.desktop 2005-06-05 08:51:49.000000000 +0200 @@ -4,7 +4,7 @@ Name[pl]=Klient Worms Of Prey Comment=Worms clone game client Comment[pl]=Klient niekomercyjnego klonu gry Worms -Exec=wop mode=client data=/usr/share/wop/wopdata/ +Exec=wop mode=client data=/usr/share/wop/ Icon=wop16.png Terminal=false Type=Application
--- wop-server.desktop_ 2005-06-05 00:44:57.000000000 +0200 +++ wop-server.desktop 2005-06-05 08:51:55.000000000 +0200 @@ -4,7 +4,7 @@ Name[pl]=Serwer Worms Of Prey Comment=Worms clone game Comment[pl]=Niekomercyjny klon gry Worms -Exec=wop mode=server data=/usr/share/wop/wopdata +Exec=wop mode=server data=/usr/share/wop/ Icon=wop16.png Terminal=true Type=Application
--- 1.3 2005-06-04 10:51:19.000000000 +0200 +++ wop.spec 2005-06-05 09:27:28.000000000 +0200 @@ -1,16 +1,18 @@ -# $Revision: 1.3 $, $Date: 2005/06/04 08:51:19 $ +# $Revision: 1.4 $, $Date: 2005/06/04 08:51:19 $ %define filedate 2004-09-25 Summary: Worms of Prey Summary(en): W�rms of Prey Summary(pl): Drapie�robaki Name: wop Version: 0.3.1 -Release: 0.1 +Release: 0.2 License: GPL Group: X11/Applications/Games Source0: http://wormsofprey.org/download/%{name}-%{version}-src.tar.bz2 # Source0-md5: ffc33965efc9287ffd7c6b34b790c12f -Source1: %{name}.desktop +Source1: %{name}-client.desktop +Source2: %{name}-server.desktop +Source3: http://wormsofprey.org/download/%{name}data-2005-05-13.tar.bz2 URL: http://wormsofprey.org/ BuildRequires: SDL-devel >= 1.2 BuildRequires: SDL_image-devel >= 1.2 @@ -20,6 +22,8 @@ BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _wopdata /usr/share/wop + %description Worms of Prey is the new and free real-time Worms game for Linux and Windows. @@ -33,7 +37,8 @@ Worms dla Linuksa i windows. %prep -%setup -q -n %{name} +%setup -q -n %{name} +%setup -q -a3 -n %{name} %build %{__make} @@ -43,8 +48,13 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}} install bin/%{name} $RPM_BUILD_ROOT%{_bindir} - install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} + +install -d $RPM_BUILD_ROOT%{_wopdata} +cp -p -r wopdata-2005-05-13/* $RPM_BUILD_ROOT%{_wopdata}/ + +cp wopdata-2005-05-13/images/misc/icons/wop16.png $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT @@ -54,6 +64,14 @@ %doc README %attr(755,root,root) %{_bindir}/%{name} +%{_desktopdir}/%{name}-client.desktop +%{_desktopdir}/%{name}-server.desktop +%{_pixmapsdir}/wop16.png +%dir %{_wopdata} +%{_wopdata}/images/ +%{_wopdata}/miscconf/ +%{_wopdata}/sound/ + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]>
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
