Summary: Simple image viewer for GNUstep
Summary(pl): Prosta przegl±darka obrazków dla ¶rodowiska GNUstep
Name: ImageViewer
-Version: 0.6.1
+Version: 0.6.3
Release: 1
License: GPL
Group: X11/Applications/Graphics
-Source0: ftp://ftp.gnustep.org/pub/gnustep/usr-apps/%{name}-%{version}.tar.gz
-# Source0-md5: 4d1cfe134814c51a4c7b639bec19d8f8
+Source0: http://www.nice.ch/~phip/%{name}-%{version}.tar.gz
+# Source0-md5: 89dc35241be2e4c60c80d51adb110c65
+Patch0: %{name}-pass-arguments.patch
URL: http://www.nice.ch/~phip/softcorner.html#img
-BuildRequires: gnustep-extensions-devel
BuildRequires: gnustep-gui-devel >= 0.8.7
Requires: gnustep-gui >= 0.8.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/lib/GNUstep
+%define _prefix /usr/%{_lib}/GNUstep
%define libcombo gnu-gnu-gnu
%define gsos linux-gnu
%define gscpu ix86
%else
# also s/alpha.*/alpha/, but we use only "alpha" arch for now
-%define gscpu %{_target_cpu}
+%define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
%endif
%description
GNUstep.
%prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p1
%build
. %{_prefix}/System/Library/Makefiles/GNUstep.sh
%{_prefix}/System/Applications/ImageViewer.app/Resources/*.desktop
%{_prefix}/System/Applications/ImageViewer.app/Resources/*.plist
%{_prefix}/System/Applications/ImageViewer.app/Resources/*.tiff
+%{_prefix}/System/Applications/ImageViewer.app/Resources/English.lproj
+%lang(fr) %{_prefix}/System/Applications/ImageViewer.app/Resources/French.lproj
+%lang(de) %{_prefix}/System/Applications/ImageViewer.app/Resources/German.lproj
+%lang(hu) %{_prefix}/System/Applications/ImageViewer.app/Resources/Hungarian.lproj
%dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}
%dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}
%dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}