summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Vanraes <maarten.vanraes@gmail.com>2011-05-27 17:36:11 +0200
committerMaarten Vanraes <maarten.vanraes@gmail.com>2011-05-27 17:36:11 +0200
commit5c0b932b4c3dcd339d0ef123c24fb7de427162d5 (patch)
treed72eb74e7a76ed026c3f5adb245108c9814169d9
parent349c414509f86beee66aa55c92ad2dc6f20479d2 (diff)
downloadManaVerse-5c0b932b4c3dcd339d0ef123c24fb7de427162d5.tar.gz
ManaVerse-5c0b932b4c3dcd339d0ef123c24fb7de427162d5.tar.bz2
ManaVerse-5c0b932b4c3dcd339d0ef123c24fb7de427162d5.tar.xz
ManaVerse-5c0b932b4c3dcd339d0ef123c24fb7de427162d5.zip
make sure make dist will have a tarball that's compilable and spec file to make sure it's rpm-buildable on all rpmbased distros
-rw-r--r--manaplus.spec.in6
-rw-r--r--src/Makefile.am7
2 files changed, 11 insertions, 2 deletions
diff --git a/manaplus.spec.in b/manaplus.spec.in
index 1e10a19a2..5c71bce64 100644
--- a/manaplus.spec.in
+++ b/manaplus.spec.in
@@ -6,6 +6,7 @@ Group: Games/Other
License: GPLv2+
Url: http://manaplus.evolonline.org/
Source0: http://download.evolonline.org/manaplus/download/%{version}/%{name}-%{version}.tar.bz2
+BuildRoot: %{_topdir}/%{name}-%{version}-root
BuildRequires: SDL-devel
BuildRequires: SDL_mixer-devel
@@ -35,7 +36,7 @@ open source MMORPG. TMW uses 2D graphics and aims to create a large and
diverse interactive world.
%prep
-%setup -q -n manaplus
+%setup -q
%build
%configure2_5x --bindir=%{_gamesbindir} \
@@ -65,6 +66,9 @@ rm -rf %{buildroot}
%changelog
+* Fri May 27 2011 Maarten Vanraes <maarten.vanraes@gmail.com> 1.1.5.15
+- Generalise spec file to work for multiple rpm-based distros
+
* Sun Apr 17 2011 alien <alien> 1.1.4.17-1.mga1
+ Revision: 87336
- upgrade to 1.1.4.17
diff --git a/src/Makefile.am b/src/Makefile.am
index 684e68ea7..d10d10840 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -260,6 +260,8 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
gui/worldselectdialog.cpp \
gui/worldselectdialog.h \
net/adminhandler.h \
+ net/beinghandler.h \
+ net/buysellhandler.h \
net/charhandler.cpp \
net/charhandler.h \
net/chathandler.h \
@@ -467,6 +469,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
sprite.h \
statuseffect.cpp \
statuseffect.h \
+ SDL_gfxBlitFunc.h \
text.cpp \
text.h \
textmanager.cpp \
@@ -620,7 +623,9 @@ EXTRA_DIST = CMakeLists.txt \
enet/design.txt \
enet/LICENSE \
enet/README \
- mana.rc
+ mana.rc \
+ SDLMain.h \
+ SDLMain.m
# set the include path found by configure
INCLUDES = $(all_includes)