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