]>
Commit | Line | Data |
---|---|---|
16d42e4e | 1 | # TODO: |
16d42e4e WF |
2 | # - runtime Requires if any |
3 | # - python3 version | |
4 | # - .pyo etc | |
fc58105d | 5 | %define kdeframever 5.85 |
a8d70c71 WF |
6 | %define qtver 5.9.0 |
7 | %define kfname kapidox | |
16d42e4e | 8 | Summary: Kapidox |
e31350bc | 9 | Name: kf5-%{kfname} |
fc58105d WF |
10 | Version: 5.85.0 |
11 | Release: 1 | |
16d42e4e WF |
12 | License: LGPL v2.1+ |
13 | Group: X11/Libraries | |
e31350bc | 14 | Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
fc58105d | 15 | # Source0-md5: 007581e41e7c13cc52f03c50f65c9826 |
16d42e4e WF |
16 | URL: http://www.kde.org/ |
17 | BuildRequires: Qt5Core-devel >= 5.2.0 | |
18 | BuildRequires: Qt5DBus-devel >= 5.2.0 | |
19 | BuildRequires: Qt5Gui-devel >= 5.3.1 | |
20 | BuildRequires: Qt5Test-devel | |
21 | BuildRequires: Qt5Widgets-devel >= 5.2.0 | |
22 | BuildRequires: Qt5X11Extras-devel >= 5.2.0 | |
23 | BuildRequires: cmake >= 2.8.12 | |
d0e6394a WF |
24 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
25 | BuildRequires: ninja | |
16d42e4e WF |
26 | BuildRequires: rpm-pythonprov |
27 | BuildRequires: rpmbuild(macros) >= 1.164 | |
28 | BuildRequires: sphinx-pdg | |
f1b4dd5a WF |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
16d42e4e | 31 | Requires: graphviz |
ce7ccf67 | 32 | Requires: kf5-dirs |
7f64ea36 | 33 | BuildArch: noarch |
16d42e4e WF |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %define qt5dir %{_libdir}/qt5 | |
37 | ||
38 | %description | |
39 | This framework contains scripts and data for building API | |
40 | documentation (dox) in a standard format and style. | |
41 | ||
42 | The Doxygen tool is used to do the actual documentation extraction and | |
43 | formatting, but this framework provides a wrapper script to make | |
44 | generating the documentation more convenient (including reading | |
45 | settings from the target framework or other module) and a standard | |
46 | template for the generated documentation. | |
47 | ||
48 | %prep | |
e31350bc | 49 | %setup -q -n %{kfname}-%{version} |
16d42e4e WF |
50 | |
51 | %build | |
7f64ea36 | 52 | %py3_build |
16d42e4e WF |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
7f64ea36 | 56 | %py3_install |
d5d605b0 | 57 | |
16d42e4e WF |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_bindir}/depdiagram-generate | |
64 | %attr(755,root,root) %{_bindir}/depdiagram-generate-all | |
65 | %attr(755,root,root) %{_bindir}/depdiagram-prepare | |
ce7ccf67 | 66 | %attr(755,root,root) %{_bindir}/kapidox_generate |
297351eb KM |
67 | %{py3_sitescriptdir}/kapidox/ |
68 | %{py3_sitescriptdir}/kapidox-*.egg-info | |
78bd50b0 AM |
69 | %{_mandir}/man1/depdiagram-generate-all.1* |
70 | %{_mandir}/man1/depdiagram-generate.1* | |
71 | %{_mandir}/man1/depdiagram-prepare.1* |