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