]> git.pld-linux.org Git - SPECS.git/blob - qrfcview.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / qrfcview.spec
1 #
2 # TODO: - don't know how to deal with rest of images
3 #
4 Summary:        Smart viewer for IETF RFCs
5 Summary(pl.UTF-8):      Sprytna przeglądarka dokumentów RFC
6 Name:           qrfcview
7 Version:        0.62
8 Release:        3
9 License:        GPL
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)
22
23 %description
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
28    a simple click;
29  - caching of RFC in a local directory;
30  - tab-browsing of RFC;
31  - searching.
32
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
38    kliknięciem
39  - zapamiętywanie RFC w lokalnym katalogu
40  - przeglądanie RFC z użyciem zakładek
41  - wyszukiwanie
42
43 %prep
44 %setup -q
45 %{__sed} -i '1s@^@#include <stdint.h>@' src/*.{cpp,h}
46
47 %build
48 export QTDIR="%{_prefix}"
49 qmake-qt4
50 %{__make} \
51         CC="%{__cc}" \
52         CXX="%{__cxx}"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
57
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
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README.txt
68 %attr(755,root,root) %{_bindir}/*
69 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/%{name}.png
This page took 0.603864 seconds and 3 git commands to generate.