1 Summary: Simple image viewer for GNUstep
2 Summary(pl.UTF-8): Prosta przeglądarka obrazków dla środowiska GNUstep
7 Group: X11/Applications/Graphics
8 Source0: http://www.nice.ch/~phip/%{name}-%{version}.tar.gz
9 # Source0-md5: 89dc35241be2e4c60c80d51adb110c65
10 Patch0: %{name}-pass-arguments.patch
11 URL: http://www.nice.ch/~phip/softcorner.html#img
12 BuildRequires: gnustep-gui-devel >= 0.8.7
13 Requires: gnustep-gui >= 0.8.7
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/%{_lib}/GNUstep
18 %define libcombo gnu-gnu-gnu
19 %define gsos linux-gnu
23 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
24 %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
28 This is ImageViewer, a simple image viewer application for GNUstep.
30 %description -l pl.UTF-8
31 To jest ImageViewer - prosta przeglądarka obrazków dla środowiska
39 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
41 OPTFLAG="%{rpmcflags}" \
45 rm -rf $RPM_BUILD_ROOT
46 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
49 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %dir %{_prefix}/System/Applications/ImageViewer.app
58 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/ImageViewer
59 %dir %{_prefix}/System/Applications/ImageViewer.app/Resources
60 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.desktop
61 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.plist
62 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.tiff
63 %{_prefix}/System/Applications/ImageViewer.app/Resources/English.lproj
64 %lang(fr) %{_prefix}/System/Applications/ImageViewer.app/Resources/French.lproj
65 %lang(de) %{_prefix}/System/Applications/ImageViewer.app/Resources/German.lproj
66 %lang(hu) %{_prefix}/System/Applications/ImageViewer.app/Resources/Hungarian.lproj
67 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}
68 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}
69 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}
70 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/ImageViewer
71 %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp