1 Summary: FSViewer is a NeXT FileViewer lookalike for Window Maker
2 Summary(pl): FSViewer jest przegl±dark± plików dla Window Makera
7 Group: X11/Window Managers/Tools
8 Source0: http://www.bayernline.de/~gscholz/linux/fsviewer/%{name}.app-%{version}.tar.gz
9 # Source0-md5: d1f849d1f955c35b18201860e485d332
10 Source2: %{name}.desktop
11 Patch0: http://www.bayernline.de/~gscholz/linux/fsviewer/FSViewer.app-0.2.5-WM-0.81.0.patch.gz
12 Patch1: %{name}-no_libnsl.patch
13 URL: http://www.bayernline.de/~gscholz/linux/fsviewer/
14 BuildRequires: WindowMaker-devel >= 0.81.0-0.20040321.4
15 BuildRequires: XFree86-devel
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: gettext-devel
19 # the rest is required for libwraster (but not all libs from WindowMaker-devel):
20 BuildRequires: Hermes-devel
21 BuildRequires: libjpeg-devel
22 BuildRequires: libpng >= 1.0.8
23 BuildRequires: libtiff-devel
24 BuildRequires: libungif-devel
25 # the end of libwraster deps
26 Requires: WindowMaker >= 0.70.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 # well, WindowMaker-like, not gnustep*-like - because:
30 # - it requires WindowMaker, not gnustep-*
31 # - it doesn't follow gnustep-* hierarchy inside *.app
32 %define gsappsdir %{_libdir}/GNUstep/Apps
35 FSViewer is a NeXT FileViewer lookalike for Window Maker. Viewing is
36 currently supported via browser mode. It has been written in C using
40 FSViewer jest przegl±dark± plików dla Window Makera wygl±daj±c± jak
44 %setup -q -n FSViewer.app-%{version}
55 --with-appspath=%{gsappsdir}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_desktopdir}
63 DESTDIR=$RPM_BUILD_ROOT
65 install defs/chdef $RPM_BUILD_ROOT%{gsappsdir}/FSViewer.app
66 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
71 rm -rf $RPM_BUILD_ROOT
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog README
76 %dir %{gsappsdir}/FSViewer.app
77 %attr(755,root,root) %{gsappsdir}/FSViewer.app/FSViewer
78 %attr(755,root,root) %{gsappsdir}/FSViewer.app/chdef
79 %{gsappsdir}/FSViewer.app/MagicFiles
80 %{gsappsdir}/FSViewer.app/xpm
81 %{gsappsdir}/FSViewer.app/tiff
82 %{_desktopdir}/FSViewer.desktop