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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 218196 by alien, Sun Feb 19 15:27:13 2012 UTC revision 218197 by alien, Sun Mar 4 19:37:06 2012 UTC
# Line 1  Line 1 
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
# Line 20  BuildRequires: libxml2-devel Line 24  BuildRequires: libxml2-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    
# Line 36  The Mana World (TMW) is a serious effort Line 40  The Mana World (TMW) is a serious effort
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} \
# Line 48  diverse interactive world. Line 64  diverse interactive world.
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    
# Line 61  rm -rf %{buildroot} Line 78  rm -rf %{buildroot}
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    

Legend:
Removed from v.218196  
changed lines
  Added in v.218197

  ViewVC Help
Powered by ViewVC 1.1.30