2014-11-12 21:52:01 +01:00
|
|
|
#
|
|
|
|
# spec file for package kgraphviewer
|
|
|
|
#
|
2019-07-17 22:43:30 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-11-12 21:52:01 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-07-17 22:43:30 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-12 21:52:01 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-09-13 17:09:29 +02:00
|
|
|
%define soname 3
|
2014-11-12 21:52:01 +01:00
|
|
|
Name: kgraphviewer
|
2018-09-17 21:50:15 +02:00
|
|
|
Version: 2.4.3
|
2014-11-12 21:52:01 +01:00
|
|
|
Release: 0
|
2017-09-13 17:09:29 +02:00
|
|
|
Summary: Graphviz dot graph file viewer
|
2019-07-17 22:43:30 +02:00
|
|
|
License: GPL-2.0-only
|
2014-11-12 21:52:01 +01:00
|
|
|
Group: Development/Tools/Other
|
2019-07-17 22:43:30 +02:00
|
|
|
URL: https://www.kde.org/applications/graphics/kgraphviewer/
|
2020-08-27 13:34:53 +02:00
|
|
|
Source: https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
|
2014-11-12 21:52:01 +01:00
|
|
|
BuildRequires: boost-devel
|
2023-12-15 23:07:39 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2014-11-12 21:52:01 +01:00
|
|
|
BuildRequires: graphviz-devel
|
2017-09-13 17:09:29 +02:00
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kiconthemes-devel
|
2019-07-17 22:43:30 +02:00
|
|
|
BuildRequires: kparts-devel
|
2017-09-13 17:09:29 +02:00
|
|
|
BuildRequires: kwidgetsaddons-devel
|
2019-07-17 22:43:30 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-09-13 17:09:29 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
2019-07-17 22:43:30 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
2014-11-12 21:52:01 +01:00
|
|
|
Requires: graphviz
|
|
|
|
Requires: libkgraphviewer%{soname} = %{version}
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description
|
2017-09-13 17:09:29 +02:00
|
|
|
KGraphViewer is a Graphviz dot graph file viewer, aimed to replace the other outdated Graphviz tools.
|
|
|
|
Graphs are commonly used in scientific domains and particularly in computer science.
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%package -n libkgraphviewer%{soname}
|
2017-09-13 17:09:29 +02:00
|
|
|
Summary: Graphviz dot graph file viewer
|
2014-11-12 21:52:01 +01:00
|
|
|
Group: Development/Tools/Other
|
|
|
|
Suggests: kgraphviewer = %{version}
|
|
|
|
|
|
|
|
%description -n libkgraphviewer%{soname}
|
2017-09-13 17:09:29 +02:00
|
|
|
KGraphViewer is a Graphviz dot graph file viewer, aimed to replace the other outdated Graphviz tools.
|
|
|
|
Graphs are commonly used in scientific domains and particularly in computer science.
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%package -n kgraphviewer-devel
|
2017-09-13 17:09:29 +02:00
|
|
|
Summary: Graphviz dot graph file viewer
|
2014-11-12 21:52:01 +01:00
|
|
|
Group: Development/Tools/Other
|
|
|
|
Requires: kgraphviewer = %{version}
|
|
|
|
Requires: libkgraphviewer%{soname} = %{version}
|
|
|
|
|
|
|
|
%description -n kgraphviewer-devel
|
2017-09-13 17:09:29 +02:00
|
|
|
KGraphViewer is a Graphviz dot graph file viewer, aimed to replace the other outdated Graphviz tools.
|
|
|
|
Graphs are commonly used in scientific domains and particularly in computer science.
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%lang_package
|
2019-07-17 22:43:30 +02:00
|
|
|
|
2014-11-12 21:52:01 +01:00
|
|
|
%prep
|
2023-12-15 23:07:39 +01:00
|
|
|
%autosetup -p1
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%build
|
2023-12-15 23:07:39 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%install
|
2023-12-15 23:07:39 +01:00
|
|
|
%kf5_makeinstall -C build
|
2014-11-12 21:52:01 +01:00
|
|
|
|
2023-12-15 23:07:39 +01:00
|
|
|
%find_lang kgraphviewer %{name}.lang
|
|
|
|
%{kf5_find_htmldocs}
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%post -n libkgraphviewer%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libkgraphviewer%{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n kgraphviewer-devel
|
2017-09-13 17:09:29 +02:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_kf5_cmakedir}/KGraphViewerPart
|
|
|
|
%{_kf5_libdir}/libkgraphviewer.so
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%files -n libkgraphviewer%{soname}
|
2017-09-13 17:09:29 +02:00
|
|
|
%{_kf5_libdir}/libkgraphviewer.so.*
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files
|
2019-07-17 22:43:30 +02:00
|
|
|
%license COPYING COPYING.DOC
|
|
|
|
%doc AUTHORS
|
2017-09-13 17:09:29 +02:00
|
|
|
%dir %{_kf5_configkcfgdir}
|
2019-07-17 22:43:30 +02:00
|
|
|
%{_kf5_debugdir}/kgraphviewer.categories
|
2017-09-13 17:09:29 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kgraphviewer.desktop
|
|
|
|
%{_kf5_kxmlguidir}/kgraphviewer
|
|
|
|
%{_kf5_sharedir}/kgraphviewerpart
|
|
|
|
%{_kf5_bindir}/*
|
|
|
|
%{_kf5_configkcfgdir}/kgraphviewer_partsettings.kcfg
|
|
|
|
%{_kf5_configkcfgdir}/kgraphviewersettings.kcfg
|
|
|
|
%{_kf5_appstreamdir}/org.kde.kgraphviewer.appdata.xml
|
|
|
|
%{_kf5_appstreamdir}/org.kde.libkgraphviewer.metainfo.xml
|
|
|
|
%{_kf5_iconsdir}/*
|
|
|
|
%{_kf5_plugindir}/kgraphviewerpart.so
|
|
|
|
%{_kf5_servicesdir}/kgraphviewer_part.desktop
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kgraphviewer
|
2014-11-12 21:52:01 +01:00
|
|
|
|
|
|
|
%changelog
|