1 Summary: Previewer for GNUstep
6 Group: X11/Applications/Graphics
7 Source0: http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
8 URL: http://mac.wms-network.de/gnustep/viewit/viewit.html
9 BuildRequires: gnustep-gui-devel >= 0.8.7
10 Requires: gnustep-gui >= 0.8.7
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define libcombo gnu-gnu-gnu
14 %define gsos linux-gnu
18 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
19 %define gscpu %{_target_cpu}
21 %define appdir %{_libdir}/GNUstep/System/Applications/CodeEditor.app
22 %define supportdir %{_libdir}/GNUstep/System/Library/ApplicationSupport/CodeEditorView
25 ViewIt, is a simple file previewer application for GNUstep.
31 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
33 OPTFLAG="%{rpmcflags}" \
37 rm -rf $RPM_BUILD_ROOT
38 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
41 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
50 %attr(755,root,root) %{appdir}/%{name}
51 %dir %{_prefix}/System/Applications/ImageViewer.app/Resources
52 %dir %{appdir}/Resources
53 %{appdir}/Resources/*.desktop
54 %{appdir}/Resources/*.plist
55 %{appdir}/Resources/*.tiff
56 %{appdir}/Resources/*.gorm
57 %{appdir}/Resources/Scripts
58 %dir %{appdir}/%{gscpu}
59 %dir %{appdir}/%{gscpu}/%{gsos}
60 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
61 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
62 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp