]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- 0.6.1b
[packages/scummvm.git] / scummvm.spec
1 %define         version_tools   0.6.1
2 Summary:        SCUMM graphic adventure game interpreter
3 Summary(pl):    Interpreter przygodówek opartych na SCUMM
4 Name:           scummvm
5 Version:        0.6.1b
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://puzzle.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  143dd7cfe0995922c49e1f8a6cdf2055
11 Source1:        http://dl.sourceforge.net/%{name}/%{name}-tools-%{version_tools}-src.tar.bz2
12 # Source1-md5:  b2ba0801fbd85a568af1c5af14fd18ac
13 Source2:        %{name}.desktop
14 Source3:        %{name}.png
15 URL:            http://scummvm.sourceforge.net/
16 BuildRequires:  libmad-devel
17 BuildRequires:  libvorbis-devel
18 BuildRequires:  mpeg2dec-devel
19 BuildRequires:  SDL-devel >= 1.2.2
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 ScummVM is a collection of interpreters, capable of emulating several
25 adventure game engines. ScummVM mainly supports games created using
26 SCUMM (Script Creation Utility for Maniac Mansion), used in various
27 LucasArts games such as Monkey Island, Day of the Tentacle, and
28 others.
29
30 ScummVM also contains interpreters for several non-SCUMM games.
31 Currently these are Beneath a Steel Sky, Broken Sword 1 & 2, Flight of
32 the Amazon Queen and Simon the Sorcerer 1 & 2.
33
34 At this time ScummVM should be considered beta software, and is still
35 under heavy development. Be aware that whilst we attempt to make sure
36 that many games can be completed with few major bugs, crashes can
37 happen.
38
39 %description -l pl
40 ScummVM jest zbiorem interpreterów zdolnych do emulacji kilku silników
41 gier przygodowych. ScummVM g³ównie wspiera gry stworzone z u¿yciem
42 silnika SCUMM (Script Creation Utility for Maniac Mansion), u¿ywanego
43 przez takie tytu³y stworzone przez Lucas Arts jak Monkey Island, Day
44 of the Tentacle.
45
46 ScummVM potrafi równie¿ interpretowaæ kilka gier nie opartych na
47 SCUMM. W chwili obecnej s± to Beneath a Steel Sky, Broken Sword 1 i 2,
48 Flight of the Amazon Queen oraz Simon the Sorcerer 1 i 2.
49
50 ScummVM jest ca³y czas intensywnie rozwijany i powinien byæ traktowany
51 jako program w stanie beta. Wiele gier powinno daæ siê skoñczyæ bez
52 wiêkszych b³êdów, nale¿y byæ jednak ¶wiadomym, ¿e program mo¿e siê
53 czasem wysypaæ.
54
55 %package tools
56 Summary:        ScummVM tools
57 Summary(pl):    Narzêdzia zwi±zane ze ScummVM
58 Group:          X11/Applications/Games
59
60 %description tools
61 Collection of various tools that may be useful to use in conjunction
62 with ScummVM.
63
64 %description tools -l pl
65 Zestaw narzêdzi mog±cych byæ u¿ytecznymi w po³±czeniu ze ScummVM.
66
67 %prep
68 %setup -q -a 1
69
70 %build
71 ./configure \
72         --disable-debug
73
74 %{__make} \
75         CXX="%{__cxx}" \
76         CFLAGS="%{rpmcflags}" \
77         LDFLAGS="%{rpmldflags}"
78
79 cd %{name}-%{version_tools}-tools
80 %{__make} \
81         CC="%{__cc}" \
82         CFLAGS="%{rpmcflags}" \
83         LDFLAGS="%{rpmldflags}"
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}}
88
89 install scummvm $RPM_BUILD_ROOT%{_bindir}
90 install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
91
92 cd %{name}-%{version_tools}-tools
93 install {rescumm,loom_tg16_extract,mm_nes_extract} $RPM_BUILD_ROOT%{_bindir}
94 install {queenrebuild,simon2mp3,compress_san} $RPM_BUILD_ROOT%{_bindir}
95 install {descumm,desword2} $RPM_BUILD_ROOT%{_bindir}
96 install {simon1decr,convbdf} $RPM_BUILD_ROOT%{_bindir}
97 install extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm
98 cd -
99
100 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
101 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files
107 %defattr(644,root,root,755)
108 %doc NEWS README TODO
109 %attr(755,root,root) %{_bindir}/scummvm
110 %{_mandir}/man6/*
111 %{_pixmapsdir}/*
112 %{_desktopdir}/*
113
114 %files tools
115 %defattr(644,root,root,755)
116 %doc %{name}-%{version_tools}-tools/README
117 %attr(755,root,root) %{_bindir}/*
118 %exclude %{_bindir}/scummvm
This page took 0.078014 seconds and 4 git commands to generate.