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