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