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