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