File mana-1.0.0-beta2.spec of Package tmw
# norootforbuild
%define __spec_install_post %{nil}
Name: tmw
Group: Development/Languages
Version: 1.0
Release: 1
License: UNKNOWN
Summary: The Mana World is a 2D MMORPG
Autoreqprov: on
BuildRoot:%{_tmppath}/%{name}-%{version}-build
Requires: tmw-data
# build essentials
BuildRequires: ncurses-devel
BuildRequires: e2fsprogs
BuildRequires: zlib-devel
# buildrequires libcurl4-gnutls-dev
BuildRequires: libcurl-devel
# buildrequires libphysfs-dev
BuildRequires: physfs-devel
# buildrequires libsdl-mixer1.2-dev
BuildRequires: SDL_mixer-devel
# buildrequires libsdl1.2-dev
BuildRequires: SDL-devel
# buildrequires libpng12-dev
BuildRequires: libpng-devel
# buildrequires libsdl-net1.2-dev
BuildRequires: SDL_net-devel
# buildrequires libgl1-mesa-dev
BuildRequires: Mesa-devel
# buildrequires zlib1g-dev
# buildrequires libsdl-image1.2-dev
BuildRequires: SDL_image-devel
# buildrequires libguichan2-dev
BuildRequires: libguichan2-dev
# buildrequires libxml2-dev
BuildRequires: libxml2-devel
%description
The Mana World (short TMW) is a serious effort to create an innovative free
and open source MMORPG. The Mana World uses 2D graphics and aims to create a
large and diverse interactive world.
The player's story is built with quests, interaction and fighting against
monsters and in PvP mode against other players, too. Or you join other partys,
clans or groups and will contribute them.
%package -n tmw-dbg
Summary: The Mana World is a 2D MMORPG (debugging symbols)
Group: Development/Languages
Requires: tmw
%description -n tmw-dbg
The Mana World (short TMW) is a serious effort to create an innovative free
and open source MMORPG. The Mana World uses 2D graphics and aims to create a
large and diverse interactive world.
The player's story is built with quests, interaction and fighting against
monsters and in PvP mode against other players, too. Or you join other partys,
clans or groups and will contribute them.
This package provides debugging symbols for the tmw package.
%package -n tmw-data
Summary: The Mana World is a 2D MMORPG (data files)
Group: Development/Languages
%description -n tmw-data
The Mana World (short TMW) is a serious effort to create an innovative free
and open source MMORPG. The Mana World uses 2D graphics and aims to create a
large and diverse interactive world.
The player's story is built with quests, interaction and fighting against
monsters and in PvP mode against other players, too. Or you join other partys,
clans or groups and will contribute them.
This package contains the data files.
%prep
rm -rf %{name}-%{version}
dpkg-source -x %{S:0} %{name}-%{version}
%setup -D -T -n %{name}-%{version}
/usr/lib/deb2suse/bin/fix-rules
fakeroot make -f debian/rules clean
%build
unset POSIXLY_CORRECT
make -f debian/rules build
%install
unset POSIXLY_CORRECT
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
export PATH=/usr/lib/deb2suse/bin:$PATH
export REQUIRES_tmw='tmw-data'
export REQUIRES_tmw_dbg='tmw'
export REQUIRES_tmw_data=''
fakeroot make -f debian/rules binary
%files -n tmw -f list.tmw
%files -n tmw-dbg -f list.tmw-dbg
%files -n tmw-data -f list.tmw-data
%clean
rm -rf $RPM_BUILD_ROOT
%changelog