2 # TODO: - don't know how to deal with rest of images
4 Summary: Smart viewer for IETF RFCs
5 Summary(pl.UTF-8): Sprytna przeglądarka dokumentów RFC
10 Group: X11/Applications
11 Source0: http://download.berlios.de/qrfcview/%{name}-%{version}.tgz
12 # Source0-md5: 836783d9c327237f4b1aa40de6b4376a
13 Source1: %{name}.desktop
14 URL: http://qrfcview.berlios.de/
15 BuildRequires: QtGui-devel
16 BuildRequires: QtNetwork-devel
17 BuildRequires: qt4-build >= 4.3.3-3
18 BuildRequires: qt4-qmake >= 4.3.3-3
19 BuildRequires: rpmbuild(macros) >= 1.129
20 BuildRequires: sed >= 4.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 qRFCView is a viewer for IETF RFCs. Advantages are:
25 - automatic table of content, with direct opening of section;
26 - handling of RFC internal cross-references;
27 - automatic downloading of a referenced RFC from the IETF web site on
29 - caching of RFC in a local directory;
30 - tab-browsing of RFC;
33 %description -l pl.UTF-8
34 qRFCView to przeglądarka dla RFC z IETF. Jej zalety to:
35 - automatyczny spis treści, z bezpośrednim otwieraniem sekcji
36 - obsługa wewnętrznych odnośników w RFC
37 - automatyczne ściąganie wzmiankowanych RFC ze strony WWW IETF prostym
39 - zapamiętywanie RFC w lokalnym katalogu
40 - przeglądanie RFC z użyciem zakładek
45 %{__sed} -i '1s@^@#include <stdint.h>@' src/*.{cpp,h}
48 export QTDIR="%{_prefix}"
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
58 install bin/qRFCView $RPM_BUILD_ROOT%{_bindir}/qrfcview
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
60 install images/rfcview.png $RPM_BUILD_ROOT%{_pixmapsdir}/qrfcview.png
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/*
69 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/%{name}.png