-
Notifications
You must be signed in to change notification settings - Fork 0
/
troll.spec
76 lines (63 loc) · 1.75 KB
/
troll.spec
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Summary: A troll works to free his people from an evil ruler in an adventure game
Name: troll
Version: 0.5.6
Release: 1
License: GPLv2+
Vendor: Dennis Payne <[email protected]>
Url: http://www.identicalsoftware.com/troll/
Source0: http://www.identicalsoftware.com/troll/%{name}-%{version}.tgz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: boost-devel
BuildRequires: SDL2-devel
BuildRequires: SDL2_image-devel
BuildRequires: SDL2_mixer-devel
BuildRequires: desktop-file-utils
%description
Troll Bridge is an adventure game in the style of the original Legend of
Zelda.
%package devel
Summary: The development environment for Troll Bridge adventures.
Requires: %{name} = %{version}
%description devel
The development tools needed to construct new adventures using the Troll
Bridge game engine.
%prep
%setup -q
%build
cd identical
make %{?_smp_mflags}
cd ../src
make LIB_DIR=%{_lib} %{?_smp_mflags}
cd ../util
make %{?_smp_mflags}
%install
cd src
make prefix=%{buildroot} LIB_DIR=%{_lib} install
cd ../util
make prefix=%{buildroot} install
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
%files
%doc README LICENSE
%{_bindir}/troll
%{_libdir}/troll
%{_datadir}/troll
%{_datadir}/icons/hicolor/*/apps/troll.png
%{_datadir}/applications/troll.desktop
%{_datadir}/appdata/troll.appdata.xml
%files devel
%{_bindir}/createmap
%{_bindir}/pcx2text
%{_bindir}/text2pal
%{_bindir}/text2pcx
%{_bindir}/screenedit
%{_bindir}/pcx2zsp
%{_bindir}/splitpcx
%{_mandir}/man1/*
%{_includedir}/troll
%changelog
* Sun Aug 28 2016 Dennis Payne <[email protected]> - 0.5.5-1
- New version of Troll Bridge released.
* Sun May 24 2015 Dennis Payne <[email protected]> - 0.5.2-1
- New version of Troll Bridge released.