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