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