]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- fixed BR
[packages/scummvm.git] / scummvm.spec
1 %define         version_tools   0.5.0
2 Summary:        SCUMM graphic adventure game interpreter
3 Summary(pl):    Interpreter przygodówek opartych na SCUMM
4 Name:           scummvm
5 Version:        0.5.1
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sf.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5:  67bdbe2e145b8072d0bac61f7ed150c0
11 Source1:        http://dl.sf.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5:  4d9d4821b2cac5225ac408f00a69c189
13 Source2:        %{name}.desktop
14 Source3:        %{name}.png
15 Patch0:         %{name}-makefile.patch
16 BuildRequires:  libvorbis-devel
17 BuildRequires:  libmad-devel
18 BuildRequires:  SDL-devel >= 1.2.2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
56 %patch0 -p1
57
58 %build
59 %{__make} \
60         CXX="%{__cxx}" \
61         CFLAGS="%{rpmcflags}" \
62         LDFLAGS="%{rpmldflags}"
63
64 cd %{name}-tools-%{version_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 cd %{name}-tools-%{version_tools}
78 install {descumm{,6},rescumm,simon2mp3} $RPM_BUILD_ROOT%{_bindir}
79 install extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm
80 cd -
81
82 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games
83 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc NEWS README
91 %attr(755,root,root) %{_bindir}/scummvm
92 %{_mandir}/man6/*
93 %{_pixmapsdir}/*
94 %{_applnkdir}/*
95
96 %files tools
97 %defattr(644,root,root,755)
98 %doc %{name}-tools-%{version_tools}/README
99 %attr(755,root,root) %{_bindir}/*
100 %exclude %{_bindir}/scummvm
This page took 0.069643 seconds and 4 git commands to generate.