]> git.pld-linux.org Git - packages/scummvm.git/blobdiff - scummvm.spec
- - rebuild with boost 1.55.0
[packages/scummvm.git] / scummvm.spec
index ff163a5c22e4334ca5d5105f326c1a2eb98433ca..0cc681e56795bf22fd7d4b5e536057eed24059ff 100644 (file)
@@ -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.0
-Release:       2
-License:       GPL
-Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
-# Source0-md5: 361000b78ebf0d0f449e98238d677be1
-Source1:       http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
-# Source1-md5: 471138a83de3bacd565e18b617055494
+Version:       1.6.0
+Release:       4
+License:       GPL v2+
+Group:         X11/Applications/Games
+Source0:       http://downloads.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
+# Source0-md5: 473c151ff44e3db7b603ecacd800a0d2
+Source1:       http://downloads.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
+# 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
@@ -21,17 +22,18 @@ BuildRequires:      fluidsynth-devel
 %endif
 BuildRequires: freetype-devel
 BuildRequires: libmad-devel
+BuildRequires: libmpeg2-devel >= 0.3.2
 BuildRequires: libpng-devel
 BuildRequires: libvorbis-devel
-BuildRequires: libmpeg2-devel >= 0.3.2
 %ifarch %{ix86}
 BuildRequires: nasm
 %endif
+BuildRequires: sed >= 4.0
 BuildRequires: wxGTK2-unicode-devel
 BuildRequires: wxWidgets-devel
 BuildRequires: zlib-devel
-BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
+Obsoletes:     scummvm-engine-m4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags_sparc -fPIC
@@ -91,8 +93,8 @@ The AGI (Adventure Game Interpreter) engine was used by Sierra in
 their early adventure games.
 
 %description engine-agi -l pl.UTF-8
-Silnik AGI (Adventure Game Interpreter) był używany przez firmę
-Sierra w jej wczesnych grach przygodowych.
+Silnik AGI (Adventure Game Interpreter) był używany przez firmę Sierra
+w jej wczesnych grach przygodowych.
 
 %package engine-agos
 Summary:       AGOS engine
@@ -102,8 +104,8 @@ Requires:   %{name} = %{version}-%{release}
 
 %description engine-agos
 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
-is based on AberMUD V, with graphical extensions.
-Required for following games:
+is based on AberMUD V, with graphical extensions. Required for
+following games:
 - Elvira
 - Elvira 2
 - Waxworks
@@ -225,12 +227,12 @@ Group:            X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
 %description engine-groovie
-Engine to run adventure games created by Trilobyte or
-Aftermath Media (The 7th Guest, The 11th Hour).
+Engine to run adventure games created by Trilobyte or Aftermath Media
+(The 7th Guest, The 11th Hour).
 
 %description engine-groovie -l pl.UTF-8
-Silnik do uruchamiania gier stworzonych przez Trilobyte
-i Aftermath Media (The 7th Guest, The 11th Hour).
+Silnik do uruchamiania gier stworzonych przez Trilobyte i Aftermath
+Media (The 7th Guest, The 11th Hour).
 
 %package engine-hugo
 Summary:       Hugo engine
@@ -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
@@ -304,13 +289,13 @@ Group:            X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
 %description engine-made
-MADE stands for Multimedia Applications Development Environment,
-and was used by Activision to create some of their point'n'click
-adventure games. 
+MADE stands for Multimedia Applications Development Environment, and
+was used by Activision to create some of their point'n'click adventure
+games.
 
 %description engine-made -l pl.UTF-8
-MADE to Multimedia Applications Development Environment,
-był używany przez Activision w grach przygodowych.
+MADE to Multimedia Applications Development Environment, był używany
+przez Activision w grach przygodowych.
 
 %package engine-mohawk
 Summary:       Mohawk engine
@@ -319,12 +304,12 @@ Group:            X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
 %description engine-mohawk
-The Mohawk engine was developed by Brøderbund starting
-in the early 1990's with the Windows port of Myst.
+The Mohawk engine was developed by Brøderbund starting in the early
+1990's with the Windows port of Myst.
 
 %description engine-mohawk -l pl.UTF-8
-Silnik Mohawk został stworzony przez Brøderbund we wczesnych
-latach 90-ych, na potrzeby gry Myst.
+Silnik Mohawk został stworzony przez Brøderbund we wczesnych latach
+90-ych, na potrzeby gry Myst.
 
 %package engine-parallaction
 Summary:       Parallaction engine
@@ -513,7 +498,8 @@ Requires:   %{name} = %{version}-%{release}
 This engine is only used by Ringworld: Revenge Of The Patriarch.
 
 %description engine-tsage -l pl.UTF-8
-Ten silnik jest używany tylko przez Ringworld: Revenge Of The Patriach.
+Ten silnik jest używany tylko przez Ringworld: Revenge Of The
+Patriach.
 
 %package engine-tucker
 Summary:       Tucker engine
@@ -527,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
@@ -553,6 +600,7 @@ Motyw modern dla ScummVM.
 
 %prep
 %setup -q -a 1
+%patch1 -p1
 cd scummvm-tools-%{version_tools}
 %patch0 -p2
 cd ..
@@ -561,7 +609,7 @@ cd ..
 
 %build
 ./configure \
-       --prefix=/usr \
+       --prefix=%{_prefix} \
        --disable-debug \
        --enable-all-engines \
        --enable-plugins \
@@ -569,17 +617,17 @@ 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}
 ./configure \
-       --prefix=/usr \
+       --prefix=%{_prefix} \
        --disable-debug
 
 %{__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
@@ -680,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
@@ -756,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.*
This page took 0.068424 seconds and 4 git commands to generate.