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