]> git.pld-linux.org Git - packages/fuse.git/blobdiff - fuse.spec
Release 5 (by relup.sh)
[packages/fuse.git] / fuse.spec
index 63479dc4334cb0fdb52ce03be48f7c3c2570be38..4727d62cd2cbd9e68861af8e5c16e26935c21cce 100644 (file)
--- a/fuse.spec
+++ b/fuse.spec
@@ -7,36 +7,35 @@
 %bcond_without sdl     # SDL version
 %bcond_without libao   # libao instead of alsa
 #
-%define                libspectrumver  1.3.6
+%define                libspectrum_ver 1.5.0
 Summary:       Free Unix Spectrum Emulator
 Summary(pl.UTF-8):     Darmowy uniksowy emulator ZX Spectrum
 Name:          fuse
-Version:       1.3.8
-Release:       1
+Version:       1.6.0
+Release:       5
 License:       GPL v2+
 Group:         Applications/Emulators
 Source0:       http://downloads.sourceforge.net/fuse-emulator/%{name}-%{version}.tar.gz
-# Source0-md5: 278bb7d77360be3cdc839276217a584d
+# Source0-md5: 393ae137e76de66e6a1bf66959a39e99
 Source1:       ti_m397.rom
 # Source1-md5: 8c61b20e1f7666ff80ad7f48bb2b10c0
-Patch0:                %{name}-1.1.1-2.patch
+Patch0:                http://downloads.sourceforge.net/fdd3000e/v_0.2.1/fuse-1.6.0-fdd3000-0.2.1.diff
+# Patch0-md5:  4a75f5c445921feb2c12a8406f71c44e
 URL:           http://fuse-emulator.sourceforge.net/
 BuildRequires: SDL-devel >= 1.2.4
 %{!?with_libao:BuildRequires:  alsa-lib-devel}
 BuildRequires: autoconf >= 2.59-9
-BuildRequires: automake
+BuildRequires: automake >= 1:1.11
 BuildRequires: glib2-devel >= 1:2.20.0
 %{?with_fb:BuildRequires:      gpm-devel}
 %{?with_gtk2:BuildRequires:    gtk+2-devel >= 2:2.18.0}
 %{?with_gtk3:BuildRequires:    gtk+3-devel >= 3.0}
 %{?with_libao:BuildRequires:   libao-devel}
 BuildRequires: libjsw-devel
-BuildRequires: libmount-devel
 BuildRequires: libpng-devel
-BuildRequires: libsamplerate-devel
-BuildRequires: libspectrum-devel >= %{libspectrumver}
+BuildRequires: libspectrum-devel >= %{libspectrum_ver}
 BuildRequires: libtool >= 2:2
-BuildRequires: libxml2-devel >= 2.0.0
+BuildRequires: libxml2-devel >= 1:2.6.0
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.697
@@ -71,8 +70,10 @@ Jego właściwości to:
 Summary:       Free Unix Spectrum Emulator (common files)
 Summary(pl.UTF-8):     Darmowy uniksowy emulator ZX Spectrum (pliki wspólne)
 Group:         Applications/Emulators
+# actually -common doesn't require these libraries, but all the frontends do
 Requires:      glib2 >= 1:2.20.0
-Requires:      libspectrum >= %{libspectrumver}
+Requires:      libspectrum >= %{libspectrum_ver}
+Requires:      libxml2-devel >= 1:2.6.0
 Suggests:      fdd3000e
 
 %description common
@@ -275,13 +276,15 @@ Bashowe dopełnianie składni poleceń emulatora FUSE.
 
 %prep
 %setup -q
-# needs update for 1.2.x
-#%patch0 -p1
+%patch0 -p1
 
 # PLD uses per-backend fuse program instead of just "fuse"
 %{__sed} -i -e '/^complete /s/ fuse$/ fuse-fb fuse-gtk fuse-gtk3 fuse-sdl fuse-svga/' data/shell-completion/bash/fuse
+%{__rm} -f settings.c settings.h options.h
 
 %build
+autoreconf
+
 %define        common_opts \\\
        --disable-silent-rules \\\
        --with-bash-completion-dir=%{bash_compdir} \\\
@@ -318,8 +321,7 @@ cd build-fb
        %{common_opts} \
        --program-suffix=-fb \
 %if %{with libao}
-       --without-alsa \
-       --with-libao \
+       --with-audio-driver=libao \
 %endif
        --with-fb
 %{__make}
@@ -334,8 +336,7 @@ cd build-gtk2
        %{common_opts} \
        --program-suffix=-gtk \
 %if %{with libao}
-       --without-alsa \
-       --with-libao \
+       --with-audio-driver=libao \
 %endif
        --with-gtk
 %{__make}
@@ -351,8 +352,7 @@ cd build-gtk3
        --enable-gtk3 \
        --program-suffix=-gtk3 \
 %if %{with libao}
-       --without-alsa \
-       --with-libao \
+       --with-audio-driver=libao \
 %endif
        --with-gtk
 %{__make}
This page took 0.116833 seconds and 4 git commands to generate.