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