3 %bcond_with tests # build with tests
5 # - runtime Requires if any
8 %define kdeframever 5.111
10 %define kfname kapidox
17 Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
18 # Source0-md5: 925c310d987dd65128771121634358d0
19 URL: http://www.kde.org/
20 BuildRequires: Qt5Core-devel >= 5.2.0
21 BuildRequires: Qt5DBus-devel >= 5.2.0
22 BuildRequires: Qt5Gui-devel >= 5.3.1
23 BuildRequires: Qt5Test-devel
24 BuildRequires: Qt5Widgets-devel >= 5.2.0
25 BuildRequires: Qt5X11Extras-devel >= 5.2.0
26 BuildRequires: cmake >= 3.16
27 BuildRequires: kf5-extra-cmake-modules >= %{version}
29 BuildRequires: rpm-pythonprov
30 BuildRequires: rpmbuild(macros) >= 1.164
31 BuildRequires: sphinx-pdg
32 BuildRequires: tar >= 1:1.22
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define qt5dir %{_libdir}/qt5
42 This framework contains scripts and data for building API
43 documentation (dox) in a standard format and style.
45 The Doxygen tool is used to do the actual documentation extraction and
46 formatting, but this framework provides a wrapper script to make
47 generating the documentation more convenient (including reading
48 settings from the target framework or other module) and a standard
49 template for the generated documentation.
52 %setup -q -n %{kfname}-%{version}
58 rm -rf $RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/depdiagram_generate_all
67 %attr(755,root,root) %{_bindir}/kapidox-depdiagram-generate
68 %attr(755,root,root) %{_bindir}/kapidox-depdiagram-prepare
69 %attr(755,root,root) %{_bindir}/kapidox-generate
70 %{py3_sitescriptdir}/kapidox/
71 %{py3_sitescriptdir}/kapidox-*.egg-info