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