]>
Commit | Line | Data |
---|---|---|
f1662e8a | 1 | Summary: FSViewer is a NeXT FileViewer lookalike for Window Maker |
1836c658 | 2 | Summary(pl.UTF-8): FSViewer jest przeglądarką plików dla Window Makera |
316a3621 | 3 | Name: FSViewer |
2bd76f02 | 4 | Version: 0.2.5 |
cfad80ef | 5 | Release: 4 |
316a3621 | 6 | License: GPL |
7 | Group: X11/Window Managers/Tools | |
2bd76f02 JB |
8 | Source0: http://www.bayernline.de/~gscholz/linux/fsviewer/%{name}.app-%{version}.tar.gz |
9 | # Source0-md5: d1f849d1f955c35b18201860e485d332 | |
368a9d36 | 10 | Source2: %{name}.desktop |
74a102d9 | 11 | Patch0: http://www.bayernline.de/~gscholz/linux/fsviewer/FSViewer.app-0.2.5-WM-0.81.0.patch.gz |
2bd76f02 | 12 | Patch1: %{name}-no_libnsl.patch |
6dc912b7 | 13 | URL: http://www.bayernline.de/~gscholz/linux/fsviewer/ |
74a102d9 | 14 | BuildRequires: WindowMaker-devel >= 0.81.0-0.20040321.4 |
f1662e8a | 15 | BuildRequires: XFree86-devel |
2bd76f02 | 16 | BuildRequires: autoconf >= 2.50 |
6dc912b7 | 17 | BuildRequires: automake |
2bd76f02 JB |
18 | BuildRequires: gettext-devel |
19 | # the rest is required for libwraster (but not all libs from WindowMaker-devel): | |
20 | BuildRequires: Hermes-devel | |
818fa50c | 21 | BuildRequires: giflib-devel |
6239518b | 22 | BuildRequires: libjpeg-devel |
0716fafb | 23 | BuildRequires: libpng >= 1.0.8 |
6239518b | 24 | BuildRequires: libtiff-devel |
2bd76f02 JB |
25 | # the end of libwraster deps |
26 | Requires: WindowMaker >= 0.70.0 | |
4a8f5a96 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
863500b0 | 28 | |
2bd76f02 JB |
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 | |
f9405d0e | 33 | |
863500b0 | 34 | %description |
316a3621 | 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. | |
863500b0 | 38 | |
21e42b90 JR |
39 | %description -l pl.UTF-8 |
40 | FSViewer jest przeglądarką plików dla Window Makera wyglądającą jak | |
316a3621 | 41 | NeXT FileViewer. |
863500b0 AF |
42 | |
43 | %prep | |
2bd76f02 | 44 | %setup -q -n FSViewer.app-%{version} |
74a102d9 | 45 | %patch0 -p1 |
f1662e8a | 46 | %patch1 -p1 |
863500b0 AF |
47 | |
48 | %build | |
2bd76f02 | 49 | %{__gettextize} |
d4a0f192 | 50 | %{__aclocal} |
70ecd952 | 51 | %{__autoconf} |
2bd76f02 | 52 | %{__autoheader} |
70ecd952 | 53 | %{__automake} |
2bd76f02 JB |
54 | %configure \ |
55 | --with-appspath=%{gsappsdir} | |
d07df512 | 56 | %{__make} |
863500b0 AF |
57 | |
58 | %install | |
f9405d0e | 59 | rm -rf $RPM_BUILD_ROOT |
79bdc014 | 60 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
863500b0 | 61 | |
f3b1f6a0 PG |
62 | %{__make} install \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
863500b0 | 64 | |
2bd76f02 | 65 | install defs/chdef $RPM_BUILD_ROOT%{gsappsdir}/FSViewer.app |
79bdc014 | 66 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} |
863500b0 | 67 | |
2bd76f02 JB |
68 | %find_lang %{name} |
69 | ||
863500b0 AF |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
2bd76f02 | 73 | %files -f %{name}.lang |
f9405d0e | 74 | %defattr(644,root,root,755) |
cdf320e6 | 75 | %doc AUTHORS ChangeLog README |
2bd76f02 JB |
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 | |
79bdc014 | 82 | %{_desktopdir}/FSViewer.desktop |