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