]>
Commit | Line | Data |
---|---|---|
a79afed2 | 1 | # TODO: - check what causes msg. like: |
2 | # echo "<base href=\"$PREFIX/share/dox/html/stl\"/>" >> stl.toc ; \ | |
3 | # cat stl.toc.in >> stl.toc | |
4 | # /bin/sh: source: not found" | |
5 | # - maybe release separate subpackages with documentation | |
6 | # - check what going on with htdig, "configure" (/opt/www/htdig), etc | |
2e000a63 | 7 | Summary: dox - graphical documentation browser for Unix/X11 |
843a9acc | 8 | Summary(pl.UTF-8): dox - przeglądarka dokumentacji dla Uniksa/X11 |
a79afed2 | 9 | Name: dox |
10 | Version: 1.1 | |
11 | Release: 0.1 | |
12 | Epoch: 0 | |
13 | License: GPL | |
14 | Group: Documentation | |
15 | Source0: http://download.berlios.de/dox/%{name}-%{version}.tar.gz | |
16 | # Source0-md5: 368afc1cc1cf1b56789dbb8754f38c50 | |
17 | Source1: %{name}.desktop | |
18 | Source2: %{name}.png | |
19 | Patch0: %{name}-destpaths.patch | |
20 | URL: http://dox.berlios.de/ | |
21 | BuildRequires: qmake >= 3.0.0 | |
2cb4a4e1 | 22 | BuildRequires: qt-devel >= 1:3.0.0 |
a79afed2 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Dox is a graphical documentation browser for Unix/X11. | |
27 | ||
28 | Features: | |
29 | - manpage browser. | |
30 | - info browser. | |
31 | - access to books in HTML format via their respective table of contents. | |
32 | glibc and STL are included in the release, others can be downloaded. | |
33 | - integration of Debian's docbase. | |
34 | - access to books in HTML format via their respective keyword index. | |
35 | - search in manpage titles and contents (cf. apropos and whatis). | |
36 | - interface to the pydoc and perldoc utilities. | |
37 | - fulltext search in HTML documentation Extensibility: Tables of content | |
38 | and keyword indices can be added by installing simple XML files to be | |
39 | extracted from the documentation. | |
40 | - remote controllable from the shell. | |
41 | - a utility for converting tags files generated by Doxygen to keyword | |
42 | indices. | |
43 | ||
ac3f6703 JR |
44 | %description -l pl.UTF-8 |
45 | Dox to graficzna przeglądarka dokumentacji dla Uniksa/X11. | |
2e000a63 | 46 | |
ac3f6703 JR |
47 | Możliwości: |
48 | - przeglądanie stron man | |
49 | - przeglądanie info | |
50 | - dostęp do książek w formacie HTML poprzez ich spis treści; | |
51 | w tej wersji załączone są glibc i STL, inne można ściągnąć | |
2e000a63 | 52 | - integracja z debianowym docbase |
ac3f6703 JR |
53 | - dostęp do książek w formacie HTML poprzez indeks słów kluczowych |
54 | - wyszukiwanie po tytułach i zawartości stron man (podobnie jak | |
2e000a63 | 55 | apropos i whatis) |
ac3f6703 JR |
56 | - interfejs do narzędzi pydoc i perldoc |
57 | - wyszukiwanie pełnotekstowe w dokumentacji HTML, rozszerzalne po | |
58 | dodaniu indeksów spisu treści i słów kluczowych poprzez | |
59 | zainstalowanie plików XML wyciągniętych z dokumentacji | |
60 | - zdalne sterowanie z powłoki | |
61 | - narzędzie to konwersji plików znaczników wygenerowanych przez | |
62 | Doxygen do indeksów słów kluczowych. | |
a79afed2 | 63 | |
64 | %prep | |
65 | %setup -q | |
66 | %patch0 -p1 | |
67 | ||
68 | %build | |
2e000a63 JB |
69 | ./configure \ |
70 | -prefix "%{_prefix}" | |
71 | %{__make} \ | |
72 | QTDIR="%{_prefix}" \ | |
73 | PREFIX="%{_prefix}" | |
a79afed2 | 74 | |
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
2e000a63 | 79 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png |
a79afed2 | 80 | |
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT \ | |
83 | PREFIX="%{_prefix}" | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS ChangeLog README | |
91 | %attr(755,root,root) %{_bindir}/* | |
92 | %{_datadir}/%{name} | |
93 | %{_mandir}/man[15]/* | |
2e000a63 JB |
94 | %{_desktopdir}/*.desktop |
95 | %{_pixmapsdir}/*.png |