]> git.pld-linux.org Git - packages/FSViewer.git/blob - FSViewer.spec
a803da99255c8a32fa4ebdbb1ae714f7c2769a87
[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 WindowMakera.
3 Name:           FSViewer
4 Version:        0.2.3
5 Release:        3
6 License:        GPL
7 Group:          X11/Window Managers/Tools
8 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
9 Source0:        http://www.csn.ul.ie/~clernong/download/%{name}.app-%{version}.tar.gz
10 Source1:        http://www.csn.ul.ie/~clernong/download/icons.tar.gz
11 Source2:        %{name}.desktop
12 URL:            http://www.csn.ul.ie/~clernong/projects/fsviewer.html
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libpng >= 1.0.8
15 BuildRequires:  libPropList-devel >= 0.9.1
16 BuildRequires:  libtiff-devel
17 BuildRequires:  libungif-devel
18 BuildRequires:  WindowMaker-devel >= 0.62.1
19 BuildRequires:  XFree86-devel
20 BuildRequires:  zlib-devel
21 Requires:       WindowMaker >= 0.61.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25
26 %description
27 FSViewer is a NeXT FileViewer lookalike for Window Maker. Viewing is
28 currently supported via browser mode. It has been written in C using
29 the WINGs library.
30
31 %description -l pl
32 FSViewer jest przegl±dark± plików dla WindowMakera wygl±daj±c± jak
33 NeXT FileViewer.
34
35 %prep
36 %setup -q -a1 -n FSViewer.app-%{version}
37 %configure \
38         --with-extralibs=" -lPropList"
39
40 %build
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_prefix}/GNUstep/Apps/FSViewer.app/{xpm,tiff} \
46         $RPM_BUILD_ROOT%{_applnkdir}/Utilities
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 install defs/chdef $RPM_BUILD_ROOT%{_prefix}/GNUstep/Apps/FSViewer.app
51 install xpm/*.xpm $RPM_BUILD_ROOT%{_prefix}/GNUstep/Apps/FSViewer.app/xpm
52 install tiff/* $RPM_BUILD_ROOT%{_prefix}/GNUstep/Apps/FSViewer.app/tiff
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
54
55 gzip -9nf AUTHORS ChangeLog README
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc {AUTHORS,ChangeLog,README}.gz 
63
64 %dir %{_prefix}/GNUstep/Apps/FSViewer.app
65 %attr(755,root,root) %{_prefix}/GNUstep/Apps/FSViewer.app/FSViewer
66 %attr(755,root,root) %{_prefix}/GNUstep/Apps/FSViewer.app/chdef
67
68 %{_prefix}/GNUstep/Apps/FSViewer.app/MagicFiles
69 %{_prefix}/GNUstep/Apps/FSViewer.app/xpm
70 %{_prefix}/GNUstep/Apps/FSViewer.app/tiff
71
72 %{_applnkdir}/Utilities/FSViewer.desktop
This page took 0.057783 seconds and 2 git commands to generate.