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