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