Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > b3a9498d6d8411065dc771045d31b78b > files > 1

rolisteam-1.5.2-1.mga2.src.rpm

%define name rolisteam
%define version 1.5.2
%define release %mkrel 1

Summary: A software to host a role playing game with remote players
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://rolisteam.googlecode.com/files/%{name}_%{version}.tar.gz
License: GPLv3
Group: Games/Other
Url: http://www.rolisteam.org/

BuildRequires: qt4-devel
BuildRequires: phonon-devel

%description
Rolisteam helps you to manage a role playing game with remote
friends/players. It provides many features to share maps, pictures and it
also includes tool to communicate with you friends/players.

%prep
%setup -q -n %{name}_%{version}

%build
lrelease traduction/*.ts
qmake
sed -i -e "s/-Ibin -Isrc/-Ibin -Isrc -I\/usr\/include\/phonon/g" Makefile
%make -I/usr/include/phonon/

%install

# prepare folders for installation
mkdir -p  %{buildroot}/%{_bindir}
mkdir -p  %{buildroot}%{_datadir}/applications

cp -p bin/rolisteam  %{buildroot}/%{_bindir}


%files
%doc AUTHORS COPYING.txt COPYRIGHT
%{_bindir}/%{name}


%changelog

* Mon Jan 30 2012 malo <malo> 1.5.2-1.mga2
+ Revision: 203123
- fixing BuildRequires after import from spec from Olivier Delaune
- imported package rolisteam


* Mon Oct 24 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 1.5.0-1.mga1
- Package creation