]> git.pld-linux.org Git - packages/ImageViewer.git/blobdiff - ImageViewer.spec
- updated to 0.6.3, added pass-arguments patch
[packages/ImageViewer.git] / ImageViewer.spec
index 6ad19b602153deaae00d7d8b3b68347d7c9526ea..c429f88961c691778c2fa749f5554add2033fac7 100644 (file)
@@ -1,19 +1,19 @@
 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
@@ -21,7 +21,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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
@@ -32,7 +32,8 @@ To jest ImageViewer - prosta przegl
 GNUstep.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p1
 
 %build
 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
@@ -59,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_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}
This page took 0.071242 seconds and 4 git commands to generate.