-
Notifications
You must be signed in to change notification settings - Fork 8
/
exult.spec.in
167 lines (128 loc) · 4.21 KB
/
exult.spec.in
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
#
# Note that this is NOT a relocatable package
#
%define ver @VERSION@
%define rel 1
%define name @PACKAGE@
Summary: Ultima VII Engine
Name: %name
Version: %ver
Release: %rel
Copyright: GPL
Group: Amusements/Games
Source: http://download.sourceforge.net/projects/exult/exult-%{ver}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Packager: Willem Jan Palenstijn <[email protected]>
URL: http://exult.sourceforge.net
Prereq: /sbin/install-info
%description
Exult: an implementation of the Ultima VII engine for modern Operating Systems.
%package tools
Summary: Tools and utilities for playing with Exult/Ultima VII data files
Group: Amusements/Games
%description tools
Exult Tools: a set of utilities for playing with Exult/Ultima VII data files.
Included in the tools are: expack (archiver), ucxt (decompiler),
ucc (compiler), splitshp (frame splitter), shp2pcx (shape converter),
ipack (image archiver), textpack (text archiver)
%package studio
Summary: An editor for the Exult engine.
Group: Amusements/Games
%description studio
Exult Studio: an editor for the Exult engine.
# Also included is a plugin for the Gimp for the .shp image format.
# (not yet...)
%changelog
* Tue Jul 22 2003 Willem Jan Palensitjn <[email protected]>
- updated for 1.1Beta1
- added a 'studio' package
* Wed Nov 06 2002 Willem Jan Palensitjn <[email protected]>
- added tools manpages
* Fri Nov 01 2002 Willem Jan Palenstijn <[email protected]>
- updated .spec to work with RH80
- removed studio and gimp plugin packages for 1.0 branch
* Fri Jun 07 2002 Willem Jan Palenstijn <[email protected]>
- updated ucxt data files
* Wed Dec 05 2001 Tristan Tarrant <[email protected]>
- subpackages are here !!!
* Thu Nov 29 2001 Tristan Tarrant <[email protected]>
- allow setting of bindir and datadir
- build exult only (will be fixed with the addition of subpackages)
- added README.1ST
- optimizer flags should be set for CXXFLAGS too
* Mon Jun 25 2001 Willem Jan Palenstijn <[email protected]>
- added exult_bg.flx, exult_si.flx
- removed explicit SDL req. (proper SDL version is added automatically)
* Tue Nov 7 2000 Tristan Tarrant <[email protected]>
- A few fixes
* Sat Sep 9 2000 Tristan Tarrant <[email protected]>
- Install exult.flx in the right place
* Tue Jul 11 2000 Tristan Tarrant <[email protected]>
- Created the .spec file
* Fri Feb 9 2000 Tristan Tarrant <[email protected]>
- Disable GIMP plugin by default.
- Include FAQ
%prep
%setup
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
./autogen.sh
fi
%configure --disable-gimp-plugin --enable-exult-studio --enable-exult-studio-support
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
else
make
fi
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README FAQ README.1ST
%{_bindir}/exult
%{_datadir}/exult/exultmsg.txt
%{_datadir}/exult/exult_bg.flx
%{_datadir}/exult/exult_si.flx
%{_datadir}/exult/exult.flx
%{_datadir}/exult/midisfx.flx
%{_datadir}/icons/exult.png
%{_mandir}/man6/exult.6.gz
%{_datadir}/applications/exult.desktop
%files tools
%defattr(-, root, root)
%doc tools/expack.txt
%{_mandir}/man1/expack.1.gz
%{_mandir}/man1/ipack.1.gz
%{_mandir}/man1/shp2pcx.1.gz
%{_mandir}/man1/splitshp.1.gz
%{_mandir}/man1/textpack.1.gz
%{_bindir}/expack
%{_bindir}/ipack
%{_bindir}/textpack
%{_bindir}/ucxt
%{_bindir}/ucc
%{_bindir}/splitshp
%{_bindir}/shp2pcx
%{_datadir}/exult/u7bgintrinsics.data
%{_datadir}/exult/u7siintrinsics.data
%{_datadir}/exult/u7sibetaintrinsics.data
%{_datadir}/exult/u7misc.data
%{_datadir}/exult/u7opcodes.data
%files studio
%defattr(-, root, root)
%{_bindir}/exult_studio
%{_datadir}/exult/exult_studio.glade
%{_datadir}/exult/estudio/new/combos.flx
%{_datadir}/exult/estudio/new/faces.vga
%{_datadir}/exult/estudio/new/gumps.vga
%{_datadir}/exult/estudio/new/palettes.flx
%{_datadir}/exult/estudio/new/shapes.vga
%{_datadir}/exult/estudio/new/sprites.vga
%{_datadir}/exult/estudio/new/text.flx
%{_datadir}/exult/estudio/new/fonts.vga
%{_datadir}/exult/estudio/new/pointers.shp