/[packages]/backports/4/manaplus/current/SPECS/manaplus.spec
ViewVC logotype

Annotation of /backports/4/manaplus/current/SPECS/manaplus.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218197 - (hide annotations) (download)
Sun Mar 4 19:37:06 2012 UTC (12 years ago) by alien
Original Path: cauldron/manaplus/current/SPECS/manaplus.spec
File size: 2802 byte(s)
- Update to new version
- Apply post-release emergency patches
- make an evol-client branding subpackage

1 alien 60834 Name: manaplus
2 alien 218197 Version: 1.2.3.4
3 alien 145196 Release: %mkrel 1
4 alien 82020 Summary: A client for Evol Online and The Mana World: 2D MMORPG
5 alien 60834 Group: Games/Other
6     License: GPLv2+
7 alien 82020 Url: http://manaplus.evolonline.org/
8 alien 218197 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 alien 60834
15     BuildRequires: SDL-devel
16     BuildRequires: SDL_mixer-devel
17 alien 132124 BuildRequires: SDL_image-devel
18 alien 60834 Buildrequires: SDL_net-devel
19     BuildRequires: SDL_ttf-devel
20 alien 61040 BuildRequires: SDL_gfx-devel
21 alien 60834 BuildRequires: physfs-devel
22     BuildRequires: curl-devel
23     BuildRequires: libxml2-devel
24     BuildRequires: libpng-devel
25 alien 61040 BuildRequires: gettext-devel
26 alien 60834
27     Provides: manaworld-client = %{version}-%{release}
28    
29 alien 218197 Suggests: evol-client = %{version}-%{release}
30 alien 82020 Suggests: mumble
31 alien 172458 Suggests: xsel
32 alien 82020
33 alien 60834 %description
34 alien 82020 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 alien 60834
43 alien 218197 %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 alien 60834 %prep
55 alien 205057 %setup -q
56 alien 218197 %apply_patches
57 alien 60834
58     %build
59 alien 61040 %configure2_5x --bindir=%{_gamesbindir} \
60 alien 60834 --datadir=%{_gamesdatadir} \
61     --disable-rpath
62     %make
63    
64     %install
65     rm -rf %{buildroot}
66     %makeinstall_std
67 alien 218197 %make DESTDIR=/home/alien/rpmbuild/BUILDROOT/%{name}-%{version}-%{release}.x86_64 -C data/evol evol-client
68 alien 205057 mkdir -p %{buildroot}%{_gamesbindir}/
69     cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_gamesbindir}/
70 alien 60834
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 alien 193343 %{_gamesbindir}/manaplustest
81 alien 218197 %exclude %{_gamesdatadir}/%{name}/data/evol
82 alien 60834 %{_gamesdatadir}/%{name}
83     %{_datadir}/pixmaps/%{name}.png
84     %{_datadir}/applications/%{name}.desktop
85 alien 193343 %{_datadir}/applications/manaplustest.desktop
86 alien 60834 %{_mandir}/man6/%{name}*
87    
88 alien 218197 %files -n evol-client
89     %{_datadir}/applications/evol.desktop
90     %{_datadir}/icons/evol-client.png
91     %{_gamesdatadir}/%{name}/data/evol
92 alien 60834

  ViewVC Help
Powered by ViewVC 1.1.30