SHA256
1
0
forked from pool/kapidox
kapidox/kapidox.spec

69 lines
2.0 KiB
RPMSpec

#
# spec file for package kapidox
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _tar_path 5.27
Name: kapidox
Version: 5.27.0
Release: 0
Requires: doxygen
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: python
Requires: python-Jinja2
Recommends: python-PyYAML
Requires: doxygen
Requires: graphviz
Requires: graphviz-gd
Requires: python-xml
Summary: KDE Base Libraries
License: BSD-2-Clause
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the core libraries of the K Desktop Environment.
This package is absolutely necessary for using KDE applications.
%prep
%setup -q
%build
python setup.py build
%install
python setup.py install --prefix=%{_kf5_prefix} --root=%{buildroot}
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%doc README* LICENSE
%{_kf5_bindir}/kapidox_generate
%{_kf5_bindir}/depdiagram-generate
%{_kf5_bindir}/depdiagram-generate-all
%{_kf5_bindir}/depdiagram-prepare
%{_kf5_mandir}/man1/depdiagram-generate-all.1*
%{_kf5_mandir}/man1/depdiagram-generate.1*
%{_kf5_mandir}/man1/depdiagram-prepare.1*
%{python_sitelib}/kapidox/
%{python_sitelib}/kapidox-*.egg-info
%changelog