1 |
Name: manaplus |
2 |
Version: 1.1.2.20 |
3 |
Release: %mkrel 1 |
4 |
Summary: A client for The Mana World: A 2D MMORPG |
5 |
Group: Games/Other |
6 |
License: GPLv2+ |
7 |
Url: http://tmw.cetki.com/4144/ |
8 |
Source0: http://tmw.cetki.com/download/%{version}/%{name}-%{version}.tar.bz2 |
9 |
|
10 |
BuildRequires: SDL-devel |
11 |
BuildRequires: SDL_mixer-devel |
12 |
Buildrequires: SDL_net-devel |
13 |
BuildRequires: SDL_ttf-devel |
14 |
BuildRequires: physfs-devel |
15 |
BuildRequires: curl-devel |
16 |
BuildRequires: guichan-devel |
17 |
BuildRequires: libxml2-devel |
18 |
BuildRequires: libpng-devel |
19 |
|
20 |
Provides: manaworld-client = %{version}-%{release} |
21 |
|
22 |
%description |
23 |
The Mana World (TMW) is a serious effort to create an innovative free |
24 |
and open source MMORPG. TMW uses 2D graphics and aims to create a large |
25 |
and diverse interactive world. This is 4144's client package. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
|
30 |
%build |
31 |
%configure --bindir=%{_gamesbindir} \ |
32 |
--datadir=%{_gamesdatadir} \ |
33 |
--disable-rpath |
34 |
%make |
35 |
|
36 |
%install |
37 |
rm -rf %{buildroot} |
38 |
%makeinstall_std |
39 |
|
40 |
mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications} |
41 |
mv %{buildroot}%{_gamesdatadir}/pixmaps/%{name}.png \ |
42 |
%{buildroot}%{_datadir}/pixmaps/ |
43 |
mv %{buildroot}%{_gamesdatadir}/applications/%{name}.desktop \ |
44 |
%{buildroot}%{_datadir}/applications/ |
45 |
rm -rf %{buildroot}%{_gamesdatadir}/{pixmaps,applications} |
46 |
|
47 |
%find_lang %{name} |
48 |
|
49 |
%clean |
50 |
rm -rf %{buildroot} |
51 |
|
52 |
%files -f %{name}.lang |
53 |
%defattr(-,root,root,-) |
54 |
%doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README |
55 |
%{_gamesbindir}/%{name} |
56 |
%{_gamesdatadir}/%{name} |
57 |
%{_datadir}/pixmaps/%{name}.png |
58 |
%{_datadir}/applications/%{name}.desktop |
59 |
%{_mandir}/man6/%{name}* |
60 |
|
61 |
|