summaryrefslogtreecommitdiff
path: root/manaverse.spec.in
blob: e515b6631ad2919792af210e2c0509a391fb965a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
Name:		manaverse
Version:	@PACKAGE_VERSION@
Release:	1
Summary:	A client for The Mana World: 2D MMORPG
Group:		Games/Other
License:	GPLv2+
Url:		https://manaverse.germantmw.de
Source0:	https://git.themanaworld.org/mana/plus/-/tree/v%{version}/
BuildRoot:	%{_topdir}/%{name}-%{version}-root

BuildRequires:	gcc-c++
BuildRequires:	make
BuildRequires:	SDL-devel
BuildRequires:	SDL_image-devel
BuildRequires:	SDL_mixer-devel
Buildrequires:	SDL_net-devel
BuildRequires:	SDL_ttf-devel
BuildRequires:	SDL_gfx-devel
BuildRequires:	libcurl-devel
BuildRequires:	libxml2-devel
BuildRequires:	libpng-devel
BuildRequires:	gettext-devel

Provides:	manaworld-client = %{version}-%{release}

%description
ManaVerse is extended client for The Mana World and similar
servers based on eAthena fork.
The Mana World (TMW) is a serious effort to create an innovative free and 
open source MMORPG. TMW uses 2.5D graphics and aims to create a large and 
diverse interactive world.

%prep
%setup -q

%build
%configure
%{__make}

%install
rm -rf %{buildroot}
%makeinstall
mkdir -p %{buildroot}%{_bindir}/
cp -p %{_builddir}/%{name}-%{version}/manaversetest %{buildroot}%{_bindir}/

%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%attr(-, root, root) %doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README
%attr(0755, root, root) %{_bindir}/%{name}
%attr(0755, root, root) %{_bindir}/manaversetest
%attr(-, root, root) %{_datadir}/%{name}
%attr(-, root, root) %{_datadir}/pixmaps/%{name}.png
%attr(-, root, root) %{_datadir}/applications/%{name}.desktop
%attr(-, root, root) %{_datadir}/applications/%{name}test.desktop
%attr(-, root, root) %{_mandir}/man6/%{name}*


%changelog
* Sat Jul 02 2011 Andrei Karas <akaras@inbox.ru> 1.1.6.26
- Add missing dependency SDL_image and compilation tools

* Fri May 27 2011 Maarten Vanraes <maarten.vanraes@gmail.com> 1.1.5.15
- Generalise spec file to work for multiple rpm-based distros

* Sun Apr 17 2011 alien <alien> 1.1.4.17-1.mga1
+ Revision: 87336
- upgrade to 1.1.4.17

* Fri Apr 08 2011 alien <alien> 1.1.4.3-1.mga1
+ Revision: 82020
- Update to new version 1.1.4.3
- manaplus is now primarily for Evol Online, updating Summary and Description and add Provides
- suggests mumble

* Sat Feb 26 2011 alien <alien> 1.1.2.20-1.mga1
+ Revision: 61040
- Fix BuildRequires
- Fix configure part
- Remove unneeded mv files
- Remove BuildRoot
- use tmw spec file as basis
- imported package manaplus


* Sun Jan 31 2010 Jérôme Brenier <incubusss@mandriva.org> 0.0.29.1-3mdv2010.1
+ Revision: 498772
- add version and release for Provides

* Tue Jan 05 2010 Jérôme Brenier <incubusss@mandriva.org> 0.0.29.1-2mdv2010.1
+ Revision: 486410
- use _gamesbindir and _gamesdatadir
- Suggests: tmwmusic

* Tue Jan 05 2010 Jérôme Brenier <incubusss@mandriva.org> 0.0.29.1-1mdv2010.1
+ Revision: 486388
- add some provides on themanaworld and manaworld
- import tmw