/[packages]/cauldron/manaplus/current/SPECS/manaplus.spec
ViewVC logotype

Contents of /cauldron/manaplus/current/SPECS/manaplus.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218220 - (show annotations) (download)
Sun Mar 4 20:17:04 2012 UTC (12 years, 7 months ago) by alien
File size: 2747 byte(s)
SILENT: forgot to replace testdir by buildroot
1 Name: manaplus
2 Version: 1.2.3.4
3 Release: %mkrel 1
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 # 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
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDL_image-devel
18 Buildrequires: SDL_net-devel
19 BuildRequires: SDL_ttf-devel
20 BuildRequires: SDL_gfx-devel
21 BuildRequires: physfs-devel
22 BuildRequires: curl-devel
23 BuildRequires: libxml2-devel
24 BuildRequires: libpng-devel
25 BuildRequires: gettext-devel
26
27 Provides: manaworld-client = %{version}-%{release}
28
29 Suggests: evol-client = %{version}-%{release}
30 Suggests: mumble
31 Suggests: xsel
32
33 %description
34 ManaPlus is extended client for Evol Online, The Mana World and similar
35 servers based on eAthena fork.
36 As a 2D style game, Evol Online aims to create a friendly environment where
37 people can escape reality and interact with others while enjoying themselves
38 through a fantasy style game.
39 The Mana World (TMW) is a serious effort to create an innovative free and
40 open source MMORPG. TMW uses 2D graphics and aims to create a large and
41 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
55 %setup -q
56 %apply_patches
57
58 %build
59 %configure2_5x --bindir=%{_gamesbindir} \
60 --datadir=%{_gamesdatadir} \
61 --disable-rpath
62 %make
63
64 %install
65 rm -rf %{buildroot}
66 %makeinstall_std
67 %make DESTDIR=%{buildroot} -C data/evol evol-client
68 mkdir -p %{buildroot}%{_gamesbindir}/
69 cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_gamesbindir}/
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf %{buildroot}
75
76 %files -f %{name}.lang
77 %defattr(-,root,root,-)
78 %doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README
79 %{_gamesbindir}/%{name}
80 %{_gamesbindir}/manaplustest
81 %exclude %{_gamesdatadir}/%{name}/data/evol
82 %{_gamesdatadir}/%{name}
83 %{_datadir}/pixmaps/%{name}.png
84 %{_datadir}/applications/%{name}.desktop
85 %{_datadir}/applications/manaplustest.desktop
86 %{_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

  ViewVC Help
Powered by ViewVC 1.1.30