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