]>
Commit | Line | Data |
---|---|---|
aef8f6ef | 1 | %bcond_without opengl #disable OpenGL support |
28325bd5 | 2 | Summary: A free Open Source 2D MMORPG |
4f6c94f0 | 3 | Summary(pl.UTF-8): Gra typu MMORPG 2D o otwartych źródłach |
28325bd5 | 4 | Name: tmw |
5bc7e2ad | 5 | Version: 0.0.27 |
f45d44e9 | 6 | Release: 1 |
e3f9b9ff | 7 | License: GPL v2+ |
46a24057 | 8 | Group: X11/Applications/Games |
28325bd5 | 9 | Source0: http://dl.sourceforge.net/themanaworld/%{name}-%{version}.tar.gz |
5bc7e2ad | 10 | # Source0-md5: 8c237378bd1afb3cabdc9fd8ee7c93ce |
1cfdb959 | 11 | Patch0: %{name}-desktop.patch |
aef8f6ef | 12 | Patch1: %{name}-OpenGL.patch |
28325bd5 | 13 | URL: http://themanaworld.org/ |
aef8f6ef | 14 | %{?with_opengl:BuildRequires: OpenGL-devel} |
7b9541dc | 15 | BuildRequires: SDL_image-devel |
16 | BuildRequires: SDL_mixer-devel | |
6107f7ee | 17 | BuildRequires: SDL_net-devel |
1cfdb959 | 18 | BuildRequires: autoconf |
009ef72a | 19 | BuildRequires: automake >= 1:1.9 |
1cfdb959 | 20 | BuildRequires: curl-devel |
8530b986 | 21 | BuildRequires: guichan-devel >= 0.8.0 |
caf00ad7 JB |
22 | BuildRequires: libxml2-devel |
23 | BuildRequires: physfs-devel | |
24 | BuildRequires: pkgconfig | |
25 | # should be autodetected | |
224827f4 | 26 | Requires: curl |
28325bd5 | 27 | Requires: SDL_image |
28 | Requires: SDL_mixer | |
6107f7ee | 29 | Requires: SDL_net |
28325bd5 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | The Mana World (TMW) is a serious effort to create an innovative free | |
34 | and open source MMORPG. TMW uses 2D graphics and aims to create a | |
35 | large and diverse interactive world. It is licensed under the GPL, | |
36 | making sure this game can't ever run away from you. | |
37 | ||
38 | The project includes the development of both a client and a server, as | |
39 | well as the development of an online world. At the moment we're making | |
40 | alpha releases of the client, while our server is in early | |
41 | development. The eAthena free software Ragnarok Online server is used | |
42 | until our own server has matured enough to replace it. Once ready, | |
43 | we'll be making releases of our server too so anybody will be free to | |
44 | set up their own server and start building their own online world. | |
45 | ||
45612360 JR |
46 | %description -l pl.UTF-8 |
47 | The Mana World (TMW) to poważna próba stworzenia innowacyjnej darmowej | |
48 | gry MMORPG z otwartymi źródłami. TMW używa grafiki 2D i ma stworzyć | |
49 | duży i różnorodny interaktywny świat. Jest licencjonowana na warunkach | |
50 | GPL, dzięki czemu nigdy nie zostanie zabrana. | |
caf00ad7 | 51 | |
45612360 JR |
52 | Projekt obejmuje rozwój zarówno klienta jak i serwera, a także |
53 | tworzenie świata online. Aktualnie są tworzone wydania alpha klienta, | |
54 | natomiast serwer jest we wczesnym etapie rozwoju. Do czasu osiągnięcia | |
55 | dojrzałości serwera TMW używany jest darmowy serwer eAthena Ragnarok | |
07f90536 | 56 | Online. |
caf00ad7 | 57 | |
28325bd5 | 58 | %prep |
59 | %setup -q | |
1cfdb959 | 60 | %patch0 -p1 |
b6d183c2 | 61 | %patch1 -p0 |
28325bd5 | 62 | |
63 | %build | |
1cfdb959 | 64 | %{__aclocal} |
65 | %{__autoconf} | |
66 | %{__autoheader} | |
67 | %{__automake} | |
aef8f6ef | 68 | %configure \ |
69 | %{?with_opengl:--with-opengl} | |
dcb03469 | 70 | %{__make} |
28325bd5 | 71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %files | |
82 | %defattr(644,root,root,755) | |
1cfdb959 | 83 | %doc AUTHORS ChangeLog NEWS README |
28325bd5 | 84 | %attr(755,root,root) %{_bindir}/* |
85 | %{_datadir}/tmw | |
86 | %{_desktopdir}/tmw.desktop | |
9496cb89 | 87 | %{_mandir}/man6/%{name}.6* |
28325bd5 | 88 | %{_pixmapsdir}/* |