]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- CXXFLAGS for main package
[packages/scummvm.git] / scummvm.spec
1 %define         version_tools   0.7.0
2 Summary:        SCUMM graphic adventure game interpreter
3 Summary(pl):    Interpreter przygodówek opartych na SCUMM
4 Name:           scummvm
5 Version:        0.7.0
6 Release:        2
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7e2f9bc1bc54aa78285f7f3189ee8a7c
11 Source1:        http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5:  eeebbd4e309a8564dd911d5c26fed2f0
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         --enable-kyra
74
75 %{__make} \
76         CXX="%{__cxx}" \
77         CXXFLAGS="%{rpmcflags}" \
78         LDFLAGS="%{rpmldflags}"
79
80 cd %{name}-tools-%{version_tools}
81 %{__make} \
82         CC="%{__cc}" \
83         CFLAGS="%{rpmcflags}" \
84         LDFLAGS="%{rpmldflags}"
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}}
89
90 install scummvm $RPM_BUILD_ROOT%{_bindir}
91 install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
92
93 cd %{name}-tools-%{version_tools}
94 install compress_san    $RPM_BUILD_ROOT%{_bindir}
95 install convbdf         $RPM_BUILD_ROOT%{_bindir}
96 install dekyra          $RPM_BUILD_ROOT%{_bindir}
97 install descumm         $RPM_BUILD_ROOT%{_bindir}
98 install desword2        $RPM_BUILD_ROOT%{_bindir}
99 install extract         $RPM_BUILD_ROOT%{_bindir}/extract-scummvm
100 install kyra_unpak      $RPM_BUILD_ROOT%{_bindir}
101 install loom_tg16_extract       $RPM_BUILD_ROOT%{_bindir}
102 install mm_nes_extract  $RPM_BUILD_ROOT%{_bindir}
103 install queenrebuild    $RPM_BUILD_ROOT%{_bindir}
104 install rescumm         $RPM_BUILD_ROOT%{_bindir}
105 install saga2mp3        $RPM_BUILD_ROOT%{_bindir}
106 install simon1decr      $RPM_BUILD_ROOT%{_bindir}
107 install simon2mp3       $RPM_BUILD_ROOT%{_bindir}
108 install sword1mp3       $RPM_BUILD_ROOT%{_bindir}
109 install sword2mp3       $RPM_BUILD_ROOT%{_bindir}
110 cd -
111
112 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
113 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %files
119 %defattr(644,root,root,755)
120 %doc NEWS README TODO
121 %attr(755,root,root) %{_bindir}/scummvm
122 %{_mandir}/man6/*
123 %{_pixmapsdir}/*
124 %{_desktopdir}/*
125
126 %files tools
127 %defattr(644,root,root,755)
128 %doc %{name}-tools-%{version_tools}/README
129 %attr(755,root,root) %{_bindir}/*
130 %exclude %{_bindir}/scummvm
This page took 0.040135 seconds and 4 git commands to generate.