SPECS: wop.spec (NEW) - initital, nfy

bt bt at rrserwis.pl
Sun Jun 5 00:17:50 CEST 2005


Czesc,
mialem troche czasu wiec sie pobawilem - jesli ktos moglby na to rzucic
okiem bede wdzieczny :)
pozdrawiam,
mcten
-------------- next part --------------
[Desktop Entry]
Encoding=UTF-8
Name=Worms Of Prey client
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/
Icon=wop16.png
Terminal=false
Type=Application
Categories=Game;StrategyGame;
# vi: encoding=utf-8
-------------- next part --------------
[Desktop Entry]
Encoding=UTF-8
Name=Worms Of Prey server
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
Icon=wop16.png
Terminal=true
Type=Application
Categories=Game;StrategyGame;
# vi: encoding=utf-8
-------------- next part --------------
# $Revision: 1.3 $, $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.2
License:	GPL
Group:		X11/Applications/Games
Source0:	http://wormsofprey.org/download/%{name}-%{version}-src.tar.bz2
# Source0-md5:	ffc33965efc9287ffd7c6b34b790c12f
Source1:	%{name}-client.desktop
Source2:	%{name}-server.desktop
Source4:	%{name}16.png
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
BuildRequires:	SDL_mixer-devel >= 1.2
BuildRequires:	SDL_net-devel >= 1.2.5
BuildRequires:	SDL_ttf-devel >= 2.0
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.

%description -l en
Wörms of Prey is the new and free real-time Worms game for Linux and
Windows.

%description -l pl
Wörms of Prey są nową i darmową grą czasu rzeczywistego, podobną do
Worms dla Linuksa i windows.

%prep
%setup  -q -n %{name}
%setup  -q -a3 -n %{name}

%build
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
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}/

install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%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 <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: wop.spec,v $
Revision 1.3  2005/06/04 08:51:19  ankry
- desc formatting, encoding fixes

Revision 1.2  2005/06/03 23:28:19  wolf
- ratunku...

Revision 1.1  2005/06/03 22:33:11  undefine
- initital, nfy


More information about the pld-devel-pl mailing list