]> git.pld-linux.org Git - packages/FSViewer.git/blob - FSViewer.spec
- apply patch for WindowMaker 0.81.0
[packages/FSViewer.git] / FSViewer.spec
1 Summary:        FSViewer is a NeXT FileViewer lookalike for Window Maker
2 Summary(pl):    FSViewer jest przegl±dark± plików dla Window Makera
3 Name:           FSViewer
4 Version:        0.2.5
5 Release:        2
6 License:        GPL
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)
28
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
33
34 %description
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
37 the WINGs library.
38
39 %description -l pl
40 FSViewer jest przegl±dark± plików dla Window Makera wygl±daj±c± jak
41 NeXT FileViewer.
42
43 %prep
44 %setup -q -n FSViewer.app-%{version}
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 %{__gettextize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --with-appspath=%{gsappsdir}
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_desktopdir}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 install defs/chdef $RPM_BUILD_ROOT%{gsappsdir}/FSViewer.app
66 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
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
This page took 0.076988 seconds and 3 git commands to generate.