1 Summary: Previewer for GNUstep
2 Summary(pl): Program do podgladania plików dla GNUstepa
7 Group: X11/Applications/Graphics
8 Source0: http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
9 # Source0-md5: 217309a8f51a804b18200da03a0f892d
10 URL: http://mac.wms-network.de/gnustep/viewit/viewit.html
11 BuildRequires: gnustep-gui-devel >= 0.8.7
12 Requires: gnustep-gui >= 0.8.7
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define libcombo gnu-gnu-gnu
17 %define gsos linux-gnu
21 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
22 %define gscpu %{_target_cpu}
24 %define appdir %{_libdir}/GNUstep/System/Applications/%{name}.app
27 ViewIt is a simple file previewer application for GNUstep.
30 ViewIt jest prost± aplikacj± do podgl±dania plików przeznaczon± dla
37 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
39 OPTFLAG="%{rpmcflags}" \
43 rm -rf $RPM_BUILD_ROOT
44 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
47 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
56 %attr(755,root,root) %{appdir}/%{name}
57 %dir %{appdir}/Resources
58 %{appdir}/Resources/*.desktop
59 %{appdir}/Resources/*.plist
60 %{appdir}/Resources/*.tiff
61 %{appdir}/Resources/*.gorm
62 #%{appdir}/Resources/Scripts
63 %dir %{appdir}/%{gscpu}
64 %dir %{appdir}/%{gscpu}/%{gsos}
65 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
66 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
67 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
68 %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/*