1 Summary: Simple image viewer for GNUstep
2 Summary(pl): 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: f729146b8c55357a35cf419fbab9bcc5
10 URL: http://www.nice.ch/~phip/softcorner.html#img
11 BuildRequires: gnustep-gui-devel >= 0.8.7
12 Requires: gnustep-gui >= 0.8.7
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/%{_lib}/GNUstep
17 %define libcombo gnu-gnu-gnu
18 %define gsos linux-gnu
22 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
23 %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
27 This is ImageViewer, a simple image viewer application for GNUstep.
30 To jest ImageViewer - prosta przegl±darka obrazków dla ¶rodowiska
37 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
39 OPTFLAG="%{rpmcflags}" \
43 rm -rf $RPM_BUILD_ROOT
44 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
47 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %dir %{_prefix}/System/Applications/ImageViewer.app
56 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/ImageViewer
57 %dir %{_prefix}/System/Applications/ImageViewer.app/Resources
58 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.desktop
59 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.plist
60 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.tiff
61 %{_prefix}/System/Applications/ImageViewer.app/Resources/English.lproj
62 %lang(fr) %{_prefix}/System/Applications/ImageViewer.app/Resources/French.lproj
63 %lang(de) %{_prefix}/System/Applications/ImageViewer.app/Resources/German.lproj
64 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}
65 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}
66 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}
67 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/ImageViewer
68 %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp