blob: f629b52d9a0b75b70c157a149269c51b597a98f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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 <MathStuf@gmail.com> 0.0.1-1
- Created
|