]> git.pld-linux.org Git - packages/tmw.git/blob - tmw.spec
ca054647d2e806a159d3d3645805f08d2ad8fea1
[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.5.2
6 Release:        5
7 License:        GPL v2+
8 Group:          X11/Applications/Games
9 Source0:        http://downloads.sourceforge.net/themanaworld/%{name}-%{version}.tar.bz2
10 # Source0-md5:  c843ef420aced82db1e51fa14e80174a
11 Patch0:         %{name}-desktop.patch
12 Patch1:         %{name}-build.patch
13 URL:            http://themanaworld.org/
14 %{?with_opengl:BuildRequires:   OpenGL-GLU-devel}
15 %{?with_opengl:BuildRequires:   OpenGL-devel}
16 BuildRequires:  SDL_gfx-devel
17 BuildRequires:  SDL_image-devel
18 BuildRequires:  SDL_mixer-devel
19 BuildRequires:  SDL_net-devel
20 BuildRequires:  SDL_ttf-devel
21 BuildRequires:  cmake
22 BuildRequires:  curl-devel
23 BuildRequires:  gettext-tools
24 BuildRequires:  guichan-devel >= 0.8.0
25 BuildRequires:  libpng-devel
26 BuildRequires:  libxml2-devel
27 BuildRequires:  physfs-devel
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(macros) >= 1.600
30 Requires:       SDL_image
31 Requires:       SDL_mixer
32 Requires:       SDL_net
33 # should be autodetected
34 Requires:       curl
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 The Mana World (TMW) is a serious effort to create an innovative free
39 and open source MMORPG. TMW uses 2D graphics and aims to create a
40 large and diverse interactive world. It is licensed under the GPL,
41 making sure this game can't ever run away from you.
42
43 The project includes the development of both a client and a server, as
44 well as the development of an online world. At the moment we're making
45 alpha releases of the client, while our server is in early
46 development. The eAthena free software Ragnarok Online server is used
47 until our own server has matured enough to replace it. Once ready,
48 we'll be making releases of our server too so anybody will be free to
49 set up their own server and start building their own online world.
50
51 %description -l pl.UTF-8
52 The Mana World (TMW) to poważna próba stworzenia innowacyjnej darmowej
53 gry MMORPG z otwartymi źródłami. TMW używa grafiki 2D i ma stworzyć
54 duży i różnorodny interaktywny świat. Jest licencjonowana na warunkach
55 GPL, dzięki czemu nigdy nie zostanie 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 klienta,
59 natomiast serwer jest we wczesnym etapie rozwoju. Do czasu osiągnięcia
60 dojrzałości serwera TMW używany jest darmowy serwer eAthena Ragnarok
61 Online.
62
63 %prep
64 %setup -q -c
65 %patch0 -p1
66 %patch1 -p1
67
68 %build
69 install -d build
70 cd build
71 %cmake ..
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} -C build install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %find_lang %{name} --all-name
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS NEWS README
88 %attr(755,root,root) %{_bindir}/mana
89 %{_datadir}/mana
90 %{_desktopdir}/mana.desktop
91 %{_pixmapsdir}/mana.png
This page took 0.051498 seconds and 2 git commands to generate.