X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=scummvm.spec;h=4a0bae45752027eac60f385caaaeaca90f011696;hb=4fa7bdcff60a132f1f76f65e147f014fb8675d05;hp=6e978ba8de59978c23292fc92402758c295937e1;hpb=a72ebb26799244cba8bef8d9df80249eb7bff464;p=packages%2Fscummvm.git diff --git a/scummvm.spec b/scummvm.spec index 6e978ba..4a0bae4 100644 --- a/scummvm.spec +++ b/scummvm.spec @@ -1,17 +1,18 @@ -%define version_tools 1.4.0 +%define version_tools 1.6.0 Summary: Graphic adventure game interpreter Summary(pl.UTF-8): Interpreter gier przygodowych Name: scummvm -Version: 1.4.1 +Version: 1.6.0 Release: 1 License: GPL v2+ Group: X11/Applications/Games Source0: http://downloads.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2 -# Source0-md5: aa094c2224aad22d5340a1d2d919c883 +# Source0-md5: 473c151ff44e3db7b603ecacd800a0d2 Source1: http://downloads.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2 -# Source1-md5: 471138a83de3bacd565e18b617055494 +# Source1-md5: 9a5c74a49707c513e8853004e3a699e4 Source2: %{name}.desktop Patch0: %{name}-wx-config.patch +Patch1: dwarf-debug.patch URL: http://scummvm.org/ BuildRequires: SDL-devel >= 1.2.2 BuildRequires: alsa-lib-devel >= 0.9 @@ -32,6 +33,7 @@ BuildRequires: wxGTK2-unicode-devel BuildRequires: wxWidgets-devel BuildRequires: zlib-devel BuildRequires: zlib-devel +Obsoletes: scummvm-engine-m4 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define specflags_sparc -fPIC @@ -280,23 +282,6 @@ Lure is the engine for the game Lure of the Temptress. %description engine-lure -l pl.UTF-8 Lure jest silnikiem dla gry Lure of the Temptress. -%package engine-m4 -Summary: M4/MADS engine -Summary(pl.UTF-8): Silnik M4/MADS -Group: X11/Applications/Games -Requires: %{name} = %{version}-%{release} - -%description engine-m4 -MADS stands for the MicroProse Adventure Development System, used in -the three adventure games they made. It was later sold to Sanctuary -Woods, who continued development on it and named it M4 (MADS version 4 -perhaps) and released two more games. - -%description engine-m4 -l pl.UTF-8 -MADS to MicroProse Adventure Development System, używany jest w trzech -grach stworzonych przez MicroProse. Został sprzedany do Sanctuary -Woods i dalej rozwijany jako M4. - %package engine-made Summary: MADE engine Summary(pl.UTF-8): Silnik MADE @@ -528,6 +513,67 @@ The Tucker engine is used in Bud Tucker in Double Trouble. %description engine-tucker -l pl.UTF-8 Silnik Tucker jest używany przez Bud Tucker in Double Trouble. +%package engine-hopkins +Summary: Hopkins FBI engine +Summary(pl.UTF-8): Silnik Hopkins FBI +Group: X11/Applications/Games +Requires: %{name} = %{version}-%{release} + +%description engine-hopkins +This engine is used by Hopkins FBI. + +%description engine-hopkins -l pl.UTF-8 +Ten silnik jest używany przez Hopkins FBI. + +%package engine-pegasus +Summary: Pegasus engine +Summary(pl.UTF-8): Silnik Pegasus +Group: X11/Applications/Games +Requires: %{name} = %{version}-%{release} + +%description engine-pegasus +This engine is used by The Journeyman Project: Pegasus Prime. + +%description engine-pegasus -l pl.UTF-8 +Ten silnik jest używany przez The Journeyman Project: Pegasus Prime. + +%package engine-toltecs +Summary: Toltecs engine +Summary(pl.UTF-8): Silnik Toltecs +Group: X11/Applications/Games +Requires: %{name} = %{version}-%{release} + +%description engine-toltecs +This engine is used by 3 Skulls of the Toltecs. + +%description engine-toltecs -l pl.UTF-8 +Ten silnik jest używany przez 3 Skulls of the Toltecs. + +%package engine-tony +Summary: Tony engine +Summary(pl.UTF-8): Silnik Tony +Group: X11/Applications/Games +Requires: %{name} = %{version}-%{release} + +%description engine-tony +This engine is used by Tony Tough and the Night of Roasted Moths. + +%description engine-tony -l pl.UTF-8 +Ten silnik jest używany przez Tony Tough and the Night of Roasted +Moths. + +%package engine-wintermute +Summary: Wintermute engine +Summary(pl.UTF-8): Silnik Wintermute +Group: X11/Applications/Games +Requires: %{name} = %{version}-%{release} + +%description engine-wintermute +The engine is used for the Wintermute games. + +%description engine-wintermute -l pl.UTF-8 +Ten silnik jest używany przez gry Wintermute. + %package theme-classic Summary: Theme classic for ScummVM Summary(pl.UTF-8): Motyw classic dla ScummVM @@ -554,6 +600,7 @@ Motyw modern dla ScummVM. %prep %setup -q -a 1 +%patch1 -p1 cd scummvm-tools-%{version_tools} %patch0 -p2 cd .. @@ -570,7 +617,7 @@ cd .. %{__make} \ CXX="%{__cxx}" \ - CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \ + CXXFLAGS="%{rpmcppflags} %{rpmcflags} -fpic $(wx-gtk2-unicode-config --cppflags)" \ LDFLAGS="%{rpmcflags} %{rpmldflags}" cd scummvm-tools-%{version_tools} @@ -580,7 +627,7 @@ cd scummvm-tools-%{version_tools} %{__make} \ CXX="%{__cxx}" \ - CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \ + CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX -fpermissive $(wx-gtk2-unicode-config --cppflags)" \ LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)" %install @@ -681,10 +728,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %dir %{_libdir}/scummvm/liblure.so -%files engine-m4 -%defattr(644,root,root,755) -%dir %{_libdir}/scummvm/libm4.so - %files engine-made %defattr(644,root,root,755) %dir %{_libdir}/scummvm/libmade.so @@ -757,6 +800,26 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %dir %{_libdir}/scummvm/libtucker.so +%files engine-hopkins +%defattr(644,root,root,755) +%dir %{_libdir}/scummvm/libhopkins.so + +%files engine-pegasus +%defattr(644,root,root,755) +%dir %{_libdir}/scummvm/libpegasus.so + +%files engine-toltecs +%defattr(644,root,root,755) +%dir %{_libdir}/scummvm/libtoltecs.so + +%files engine-tony +%defattr(644,root,root,755) +%dir %{_libdir}/scummvm/libtony.so + +%files engine-wintermute +%defattr(644,root,root,755) +%dir %{_libdir}/scummvm/libwintermute.so + %files theme-classic %defattr(644,root,root,755) %{_datadir}/%{name}/scummclassic.*