1 |
Name: manaplus |
Name: manaplus |
2 |
Version: 1.2.2.19 |
Version: 1.2.3.4 |
3 |
Release: %mkrel 1 |
Release: %mkrel 1 |
4 |
Summary: A client for Evol Online and The Mana World: 2D MMORPG |
Summary: A client for Evol Online and The Mana World: 2D MMORPG |
5 |
Group: Games/Other |
Group: Games/Other |
6 |
License: GPLv2+ |
License: GPLv2+ |
7 |
Url: http://manaplus.evolonline.org/ |
Url: http://manaplus.evolonline.org/ |
8 |
Source0: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.bz2 |
Source0: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.xz |
9 |
Source1: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.bz2.sig |
Source1: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.xz.sig |
10 |
|
# these patches were from immediately after release |
11 |
|
Patch0000: 0000-fix-possible-crash-in-npc-menu.patch |
12 |
|
Patch0001: 0001-add-DESTDIR-to-evol-make-file.patch |
13 |
|
Patch0002: 0002-add-missing-mkdirs-to-evol-make-file.patch |
14 |
|
|
15 |
BuildRequires: SDL-devel |
BuildRequires: SDL-devel |
16 |
BuildRequires: SDL_mixer-devel |
BuildRequires: SDL_mixer-devel |
24 |
BuildRequires: libpng-devel |
BuildRequires: libpng-devel |
25 |
BuildRequires: gettext-devel |
BuildRequires: gettext-devel |
26 |
|
|
|
Provides: evolonline-client = %{version}-%{release} |
|
27 |
Provides: manaworld-client = %{version}-%{release} |
Provides: manaworld-client = %{version}-%{release} |
28 |
|
|
29 |
|
Suggests: evol-client = %{version}-%{release} |
30 |
Suggests: mumble |
Suggests: mumble |
31 |
Suggests: xsel |
Suggests: xsel |
32 |
|
|
40 |
open source MMORPG. TMW uses 2D graphics and aims to create a large and |
open source MMORPG. TMW uses 2D graphics and aims to create a large and |
41 |
diverse interactive world. |
diverse interactive world. |
42 |
|
|
43 |
|
%package -n evol-client |
44 |
|
Summary: Evol Online branding and theme in manaplus |
45 |
|
BuildArch: noarch |
46 |
|
|
47 |
|
Provides: evolonline-client = %{version}-%{release} |
48 |
|
Requires: manaplus = %{version}-%{release} |
49 |
|
|
50 |
|
%description -n evol-client |
51 |
|
This package is part of manaplus and gives branding information inside |
52 |
|
ManaPlus for Evol Online server. |
53 |
|
|
54 |
%prep |
%prep |
55 |
%setup -q |
%setup -q |
56 |
|
%apply_patches |
57 |
|
|
58 |
%build |
%build |
59 |
%configure2_5x --bindir=%{_gamesbindir} \ |
%configure2_5x --bindir=%{_gamesbindir} \ |
64 |
%install |
%install |
65 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
66 |
%makeinstall_std |
%makeinstall_std |
67 |
|
%make DESTDIR=/home/alien/rpmbuild/BUILDROOT/%{name}-%{version}-%{release}.x86_64 -C data/evol evol-client |
68 |
mkdir -p %{buildroot}%{_gamesbindir}/ |
mkdir -p %{buildroot}%{_gamesbindir}/ |
69 |
cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_gamesbindir}/ |
cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_gamesbindir}/ |
70 |
|
|
78 |
%doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README |
%doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README |
79 |
%{_gamesbindir}/%{name} |
%{_gamesbindir}/%{name} |
80 |
%{_gamesbindir}/manaplustest |
%{_gamesbindir}/manaplustest |
81 |
|
%exclude %{_gamesdatadir}/%{name}/data/evol |
82 |
%{_gamesdatadir}/%{name} |
%{_gamesdatadir}/%{name} |
83 |
%{_datadir}/pixmaps/%{name}.png |
%{_datadir}/pixmaps/%{name}.png |
84 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
85 |
%{_datadir}/applications/manaplustest.desktop |
%{_datadir}/applications/manaplustest.desktop |
86 |
%{_mandir}/man6/%{name}* |
%{_mandir}/man6/%{name}* |
87 |
|
|
88 |
|
%files -n evol-client |
89 |
|
%{_datadir}/applications/evol.desktop |
90 |
|
%{_datadir}/icons/evol-client.png |
91 |
|
%{_gamesdatadir}/%{name}/data/evol |
92 |
|
|