]> git.pld-linux.org Git - packages/kf5-kapidox.git/blobdiff - kf5-kapidox.spec
rebuild against QT 5.15.9
[packages/kf5-kapidox.git] / kf5-kapidox.spec
index 1492ba02329e4395f3bc7ba0905104319479f158..854a5f3025719a705a4b9690b75b9e1f4318bfe6 100644 (file)
@@ -1,18 +1,21 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # - runtime Requires if any
 # - python3 version
 # - .pyo etc
-%define                kdeframever     5.62
-%define                qtver           5.9.0
+%define                kdeframever     5.104
+%define                qtver           5.15.2
 %define                kfname          kapidox
 Summary:       Kapidox
 Name:          kf5-%{kfname}
-Version:       5.62.0
-Release:       1
+Version:       5.104.0
+Release:       2
 License:       LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 389fbadf7e25573556891de7f9c052f1
+Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 2bec17db148bc7b90ac25a6021e7ae1f
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= 5.2.0
 BuildRequires: Qt5DBus-devel >= 5.2.0
@@ -30,6 +33,7 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: xz
 Requires:      graphviz
 Requires:      kf5-dirs
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                qt5dir          %{_libdir}/qt5
@@ -48,32 +52,20 @@ template for the generated documentation.
 %setup -q -n %{kfname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
+%py3_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/depdiagram-generate
-%attr(755,root,root) %{_bindir}/depdiagram-generate-all
-%attr(755,root,root) %{_bindir}/depdiagram-prepare
-%attr(755,root,root) %{_bindir}/kapidox_generate
-#%%attr(755,root,root) %{_bindir}/kgenapidox
-#%%attr(755,root,root) %{_bindir}/kgenframeworksapidox
-%{py_sitedir}/kapidox
-%{py_sitedir}/kapidox-*.egg-info
-%{_mandir}/man1/depdiagram-generate-all.1*
-%{_mandir}/man1/depdiagram-generate.1*
-%{_mandir}/man1/depdiagram-prepare.1*
-#%%{_mandir}/man1/kgenapidox.1*
-#%%{_mandir}/man1/kgenframeworksapidox.1*
+%attr(755,root,root) %{_bindir}/depdiagram_generate_all
+%attr(755,root,root) %{_bindir}/kapidox-depdiagram-generate
+%attr(755,root,root) %{_bindir}/kapidox-depdiagram-prepare
+%attr(755,root,root) %{_bindir}/kapidox-generate
+%{py3_sitescriptdir}/kapidox/
+%{py3_sitescriptdir}/kapidox-*.egg-info
This page took 0.044239 seconds and 4 git commands to generate.