]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- 20020919
[packages/scummvm.git] / scummvm.spec
1 #
2 # TODO:
3 # - add desktop file and png icon. (when gui is ready)
4 #
5 %define         _snap   20020919
6 Summary:        SCUMM graphic adventure game interpreter
7 Summary(pl):    Interpreter przygodówek opartych na SCUMM
8 Name:           scummvm
9 Version:        0.2.0.%{_snap}
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications/Games
13 Source0:        %{name}-%{_snap}.tar.bz2
14 #Source0:       http://telia.dl.sourceforge.net/sourceforge/scummvm/%{name}_%{version}-src.tgz
15 Source1:        %{name}-tools-%{_snap}.tar.bz2
16 BuildRequires:  mad-devel
17 BuildRequires:  SDL-devel >= 1.2.2
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21 %define         _mandir         %{_prefix}/man
22
23 %description
24 ScummVM is an implementation of the SCUMM (Script Creation Utility for
25 Maniac Mansion) engine used in various Lucas Arts games such as Monkey
26 Island and Day of the Tentacle. At this time ScummVM should be considered
27 ALPHA software, as it's still under heavy development. Be aware that while
28 many games will work with few major bugs, crashes can happen. Also note
29 that saved games can, and probably will, be incompatible between releases.
30
31 Also ScummVM is capable of playing several non-SCUMM games, at the moment
32 this includes Simon The Sorcerer.
33
34 %description -l pl
35 ScummVM jest implementacj± silnika SCUMM (Narzêdzie tworz±ce skrypty dla
36 Maniac Mansion) u¿ywanego w wielu grach Lucas Arts takich jak Monkey Island,
37 czy Day of the Tentacle. ScummVM jest ca³y czas intensywnie rozwijany i
38 powinien byæ traktowany jako program w stanie ALPHA. Wiele gier mo¿e siê
39 wysypywaæ, lub dzia³aæ z b³êdami. Zapisane stany gry bêd± prawdopodobnie
40 niekompatybilne pomiêdzy ró¿nymi wersjami ScummVM.
41
42 ScummVM potrafi równie¿ obs³u¿yæ gry nie oparte na silniku SCUMM. W chwili
43 obecnej jest to Simon The Sorcerer.
44
45 %package tools
46 Summary:        SCUMM tools
47 Summary(pl):    Narzêdzia zwi±zane ze SCUMM
48 Group:          X11/Applications/Games
49
50 %description tools
51 SCUMM tools.
52
53 %description tools -l pl
54 Narzêdzia zwi±zane ze SCUMM.
55
56 %prep
57 %setup -q -a 1 -n %{name}
58
59 %build
60 %{__make} \
61         CXX="%{__cxx}" \
62         CFLAGS="%{rpmcflags}" \
63         LDFLAGS="%{rpmldflags}"
64
65 cd tools
66 %{__make} \
67         CC="%{__cc}" \
68         CFLAGS="%{rpmcflags}" \
69         LDFLAGS="%{rpmldflags}"
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
74
75 install scummvm $RPM_BUILD_ROOT%{_bindir}
76 install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
77
78 install tools/{descumm{3,5,6},rescumm} $RPM_BUILD_ROOT%{_bindir}
79 install tools/extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc NEWS README debian/README.Debian
87 %attr(755,root,root) %{_bindir}/scummvm
88 %{_mandir}/man6/*
89
90 %files tools
91 %defattr(644,root,root,755)
92 %doc tools/readme.txt
93 %attr(755,root,root) %{_bindir}/descumm*
94 %attr(755,root,root) %{_bindir}/extract-scummvm
95 %attr(755,root,root) %{_bindir}/rescumm
This page took 0.02984 seconds and 4 git commands to generate.