Name: pokegen Version: 0.0.1 Release: 1%{?dist} Summary: PokéGen is a game engine aiming to emulate the original Pokémon games Group: Amusements/Games License: GPLv3+ URL: http://www.sourceforge.net/projects/pokegen Source0: pokegen-%{version}.tar.bz2 Source1: pokemodr.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdelibs4-devel tetex-latex desktop-file-utils %description PokéGen is a game engine aiming to emulate the original Pokémon games. It includes a network play and other tools to help create custom games. %prep %setup -q %build cd src qmake-qt4 PREFIX="%{_prefix}" CXXFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} make doc %install rm -rf %{buildroot} mkdir %{buildroot} cd src make INSTALL_ROOT=%{buildroot} install desktop-file-install --vendor="fedora" \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf ${buildroot} %files %defattr(-,root,root,-) %doc /usr/share/doc/pokegen-%{version}/DISCLAIMER %doc /usr/share/doc/pokegen-%{version}/LICENSE %doc /usr/share/doc/pokegen-%{version}/pokemodr.pdf /usr/bin/pokemodr %{_libdir}/libgeneral.so %{_libdir}/libpokemod.so %changelog * Mon Mar 04 2008 Ben Boeckel 0.0.1-1 - Created