Name: manaplus Version: 1.1.2.20 Release: %mkrel 1 Summary: A client for The Mana World: A 2D MMORPG Group: Games/Other License: GPLv2+ Url: http://tmw.cetki.com/4144/ Source0: http://tmw.cetki.com/download/%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel Buildrequires: SDL_net-devel BuildRequires: SDL_ttf-devel BuildRequires: physfs-devel BuildRequires: curl-devel BuildRequires: guichan-devel BuildRequires: libxml2-devel BuildRequires: libpng-devel Provides: manaworld-client = %{version}-%{release} %description The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG. TMW uses 2D graphics and aims to create a large and diverse interactive world. This is 4144's client package. %prep %setup -q %build %configure --bindir=%{_gamesbindir} \ --datadir=%{_gamesdatadir} \ --disable-rpath %make %install rm -rf %{buildroot} %makeinstall_std mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications} mv %{buildroot}%{_gamesdatadir}/pixmaps/%{name}.png \ %{buildroot}%{_datadir}/pixmaps/ mv %{buildroot}%{_gamesdatadir}/applications/%{name}.desktop \ %{buildroot}%{_datadir}/applications/ rm -rf %{buildroot}%{_gamesdatadir}/{pixmaps,applications} %find_lang %{name} %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_mandir}/man6/%{name}*