File: exult.spec

package info (click to toggle)
exult 0.98rc1-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 6,924 kB
  • ctags: 8,928
  • sloc: cpp: 83,768; sh: 7,643; ansic: 4,328; makefile: 890; yacc: 618; lex: 255; xml: 19
file content (138 lines) | stat: -rw-r--r-- 3,590 bytes parent folder | download
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
#
# Note that this is NOT a relocatable package
#
%define ver      0.98rc1
%define rel      1
%define prefix   /usr/local
%define name	 exult
%define bindir	 ${exec_prefix}/bin
%define datadir	 ${prefix}/share
%define gimpdir  

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: /var/tmp/exult
Obsoletes: exult
Packager: Tristan Tarrant <nadir@users.sourceforge.net>
URL: http://exult.sourceforge.net
Prereq: /sbin/install-info
Prefix: %{prefix}
Docdir: %{prefix}/doc

%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)

%package gimp-plugin
Summary: A GIMP plugin for loading/saving SHP files
Group: Applications/Graphics

%description gimp-plugin
Exult GIMP Plugin: a file plugin for the GIMP which allows loading and saving 
of Ultima VII SHP files. 

%package studio
Summary: A GTK+-based environment for editing Exult worlds
Group: Amusements/Games

%description studio
ExultStudio: a GTK+-based environment for editing Exult worlds

%changelog

* Wed Dec 05 2001  Tristan Tarrant <nadir@users.sourceforge.net>

- subpackages are here !!!

* Thu Nov 29 2001  Tristan Tarrant <nadir@users.sourceforge.net>

- 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 <wjpalenstijn@users.sourceforge.net>

- added exult_bg.flx, exult_si.flx
- removed explicit SDL req. (proper SDL version is added automatically)

* Tue Nov 7 2000  Tristan Tarrant <nadir@users.sourceforge.net>

- A few fixes

* Sat Sep 9 2000  Tristan Tarrant <nadir@users.sourceforge.net>

- Install exult.flx in the right place

* Tue Jul 11 2000  Tristan Tarrant <nadir@users.sourceforge.net>

- Created the .spec file

* Fri Feb 9 2000  Tristan Tarrant <nadir@users.sourceforge.net>

- Disable GIMP plugin by default.
- Include FAQ
%prep
%setup

%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
  ./autogen.sh
fi
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --bindir=%bindir --datadir=%datadir --sysconfdir=$RPM_BUILD_ROOT/etc --enable-gimp-plugin --enable-exult-studio-support --enable-tools --enable-exult-studio

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} bindir=$RPM_BUILD_ROOT%{bindir} datadir=$RPM_BUILD_ROOT%{datadir} GIMP_PLUGIN_PREFIX=$RPM_BUILD_ROOT%{gimpdir} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README FAQ README.1ST
%{bindir}/exult
%{datadir}/exult/exult_bg.flx
%{datadir}/exult/exult_si.flx
%{datadir}/exult/midisfx.flx
%{datadir}/exult/exult.flx

%files tools
%defattr(-, root, root)
%doc tools/expack.txt
%{bindir}/expack
%{bindir}/ucxt
%{bindir}/ucc
%{bindir}/splitshp
%{bindir}/shp2pcx
%{datadir}/exult/opcodes.txt

%files gimp-plugin
%defattr(-, root, root)
%{gimpdir}/u7shp

%files studio
%defattr(-, root, root)
%{bindir}/exult_studio
%{datadir}/exult/exult_studio.glade