1 Summary: Previewer for GNUstep
6 Group: X11/Applications/Graphics
7 Source0: http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
8 # Source0-md5: 217309a8f51a804b18200da03a0f892d
9 URL: http://mac.wms-network.de/gnustep/viewit/viewit.html
10 BuildRequires: gnustep-gui-devel >= 0.8.7
11 Requires: gnustep-gui >= 0.8.7
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define libcombo gnu-gnu-gnu
15 %define gsos linux-gnu
19 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
20 %define gscpu %{_target_cpu}
22 %define appdir %{_libdir}/GNUstep/System/Applications/%{name}.app
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 . %{_libdir}/GNUstep/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 %{appdir}/Resources
52 %{appdir}/Resources/*.desktop
53 %{appdir}/Resources/*.plist
54 %{appdir}/Resources/*.tiff
55 %{appdir}/Resources/*.gorm
56 #%{appdir}/Resources/Scripts
57 %dir %{appdir}/%{gscpu}
58 %dir %{appdir}/%{gscpu}/%{gsos}
59 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
60 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
61 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
62 %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/*