]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- 0.6.0
[packages/scummvm.git] / scummvm.spec
1 %define         version_tools   0.6.0
2 Summary:        SCUMM graphic adventure game interpreter
3 Summary(pl):    Interpreter przygodówek opartych na SCUMM
4 Name:           scummvm
5 Version:        0.6.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  efc4207a7f10b24e9fc5afa10ed9c455
11 Source1:        http://dl.sourceforge.net/%{name}/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5:  09ded7a8177fda1b861731052b8693c4
13 Source2:        %{name}.desktop
14 Source3:        %{name}.png
15 Patch0:         %{name}-gcc34.patch
16 URL:            http://scummvm.sourceforge.net/
17 BuildRequires:  libmad-devel
18 BuildRequires:  libvorbis-devel
19 BuildRequires:  mpeg2dec-devel
20 BuildRequires:  SDL-devel >= 1.2.2
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
59 %patch0 -p1
60
61 %build
62 ./configure \
63         --disable-debug
64
65 %{__make} \
66         CXX="%{__cxx}" \
67         CFLAGS="%{rpmcflags}" \
68         LDFLAGS="%{rpmldflags}"
69
70 cd %{name}-tools-%{version_tools}
71 %{__make} \
72         CC="%{__cc}" \
73         CFLAGS="%{rpmcflags}" \
74         LDFLAGS="%{rpmldflags}"
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}}
79
80 install scummvm $RPM_BUILD_ROOT%{_bindir}
81 install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
82
83 cd %{name}-tools-%{version_tools}
84 install {descumm,rescumm,simon2mp3} $RPM_BUILD_ROOT%{_bindir}
85 install extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm
86 cd -
87
88 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
89 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc NEWS README
97 %attr(755,root,root) %{_bindir}/scummvm
98 %{_mandir}/man6/*
99 %{_pixmapsdir}/*
100 %{_desktopdir}/*
101
102 %files tools
103 %defattr(644,root,root,755)
104 %doc %{name}-tools-%{version_tools}/README
105 %attr(755,root,root) %{_bindir}/*
106 %exclude %{_bindir}/scummvm
This page took 0.033077 seconds and 4 git commands to generate.