1 |
Name: manaplus |
2 |
Version: 1.2.3.4 |
3 |
Release: %mkrel 2 |
4 |
Summary: A client for Evol Online and The Mana World: 2D MMORPG |
5 |
Group: Games/Other |
6 |
License: GPLv2+ |
7 |
Url: http://manaplus.evolonline.org/ |
8 |
Source0: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.xz |
9 |
Source1: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.xz.sig |
10 |
# patches from the mageia2 branch |
11 |
Patch0001: 0001-Fix-possible-crash-in-npc-menu.patch |
12 |
Patch0002: 0002-add-DESTDIR-to-evol-make-file.-by-Al13n.patch |
13 |
Patch0003: 0003-Add-missing-mkdirs-to-evol-make-file.patch |
14 |
Patch0004: 0004-Fix-big-minimap-scrolling-with-moving-camera.patch |
15 |
Patch0005: 0005-Fix-context-menu-in-outfits-window.patch |
16 |
Patch0006: 0006-Restore-volume-in-disconnect-in-afk-mode.patch |
17 |
Patch0007: 0007-Add-mageia2-to-client-version.patch |
18 |
Patch0008: 0008-Validate-reading-keys-from-config.patch |
19 |
Patch0009: 0009-Add-new-dye-mode-S.patch |
20 |
Patch0010: 0010-Fix-tiles-animation-in-opengl-mode-in-non-fringe-lay.patch |
21 |
Patch0011: 0011-Fix-copy-to-clipboard-with-links.patch |
22 |
Patch0012: 0012-Fix-chat-item-links.-Some-times-links-worked-incorre.patch |
23 |
Patch0013: 0013-Add-pause-animation-tag.patch |
24 |
Patch0014: 0014-Extend-sequence-animation-tag.-Allow-set-in-attribut.patch |
25 |
Patch0015: 0015-Fix-move-issue-with-mouse.patch |
26 |
Patch0016: 0016-Change-implimentation-for-removeing-old-links-from-b.patch |
27 |
Patch0017: 0017-Add-missing-checks-to-map.cpp.patch |
28 |
Patch0018: 0018-Fix-incorrect-load-order.patch |
29 |
|
30 |
BuildRequires: SDL-devel |
31 |
BuildRequires: SDL_mixer-devel |
32 |
BuildRequires: SDL_image-devel |
33 |
Buildrequires: SDL_net-devel |
34 |
BuildRequires: SDL_ttf-devel |
35 |
BuildRequires: SDL_gfx-devel |
36 |
BuildRequires: physfs-devel |
37 |
BuildRequires: curl-devel |
38 |
BuildRequires: libxml2-devel |
39 |
BuildRequires: libpng-devel |
40 |
BuildRequires: gettext-devel |
41 |
|
42 |
Provides: manaworld-client = %{version}-%{release} |
43 |
|
44 |
Suggests: evol-client = %{version}-%{release} |
45 |
Suggests: mumble |
46 |
Suggests: xsel |
47 |
|
48 |
%description |
49 |
ManaPlus is extended client for Evol Online, The Mana World and similar |
50 |
servers based on eAthena fork. |
51 |
As a 2D style game, Evol Online aims to create a friendly environment where |
52 |
people can escape reality and interact with others while enjoying themselves |
53 |
through a fantasy style game. |
54 |
The Mana World (TMW) is a serious effort to create an innovative free and |
55 |
open source MMORPG. TMW uses 2D graphics and aims to create a large and |
56 |
diverse interactive world. |
57 |
|
58 |
%package -n evol-client |
59 |
Summary: Evol Online branding and theme in manaplus |
60 |
BuildArch: noarch |
61 |
|
62 |
Provides: evolonline-client = %{version}-%{release} |
63 |
Requires: manaplus = %{version}-%{release} |
64 |
|
65 |
%description -n evol-client |
66 |
This package is part of manaplus and gives branding information inside |
67 |
ManaPlus for Evol Online server. |
68 |
|
69 |
%prep |
70 |
%setup -q |
71 |
%apply_patches |
72 |
|
73 |
%build |
74 |
%configure2_5x --bindir=%{_gamesbindir} \ |
75 |
--datadir=%{_gamesdatadir} \ |
76 |
--disable-rpath |
77 |
%make |
78 |
|
79 |
%install |
80 |
rm -rf %{buildroot} |
81 |
%makeinstall_std |
82 |
%make DESTDIR=%{buildroot} -C data/evol evol-client |
83 |
mkdir -p %{buildroot}%{_gamesbindir}/ |
84 |
cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_gamesbindir}/ |
85 |
|
86 |
%find_lang %{name} |
87 |
|
88 |
%clean |
89 |
rm -rf %{buildroot} |
90 |
|
91 |
%files -f %{name}.lang |
92 |
%defattr(-,root,root,-) |
93 |
%doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README |
94 |
%{_gamesbindir}/%{name} |
95 |
%{_gamesbindir}/manaplustest |
96 |
%exclude %{_gamesdatadir}/%{name}/data/evol |
97 |
%{_gamesdatadir}/%{name} |
98 |
%{_datadir}/pixmaps/%{name}.png |
99 |
%{_datadir}/applications/%{name}.desktop |
100 |
%{_datadir}/applications/manaplustest.desktop |
101 |
%{_mandir}/man6/%{name}* |
102 |
|
103 |
%files -n evol-client |
104 |
%{_datadir}/applications/evol.desktop |
105 |
%{_datadir}/icons/evol-client.png |
106 |
%{_gamesdatadir}/%{name}/data/evol |
107 |
|