diff --git a/kgraphviewer-2.4.3.tar.xz b/kgraphviewer-2.4.3.tar.xz deleted file mode 100644 index 6ceb5e5..0000000 --- a/kgraphviewer-2.4.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54e0c218453912ea82ad9a96edfb2d4dfd8cb15f6a567ef843b4ef97d07bd7c0 -size 1491328 diff --git a/kgraphviewer-2.5.0.tar.xz b/kgraphviewer-2.5.0.tar.xz new file mode 100644 index 0000000..107f18b --- /dev/null +++ b/kgraphviewer-2.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872bee63fb4df6f7fb2b4eaf02ff825cba3ca953ac02509a287fe5cd0f1e2b69 +size 1571364 diff --git a/kgraphviewer-2.5.0.tar.xz.sig b/kgraphviewer-2.5.0.tar.xz.sig new file mode 100644 index 0000000..e8e0f5d --- /dev/null +++ b/kgraphviewer-2.5.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmY7nTAACgkQu0YzUNbv +Me9eoA//Z1fQpateOcnCG6xUEQGuZP6Cay7FhHG2mZOVKdbnUxfPOr0k5iEEwoFP ++8awuYdXBiuOH716ZYp3tNUZnrHxATI7xRAVeh4Mz68s5sTslYQeaQA/YkX3aJ2z +AfOOGNJy5QnX9DIAi3yK6YIacZSLbnAH67woaAZuVTOSR2ZVa9yAfLHQoBmi4SsP +yGNMCDud4MCVcp6cANjvNoX+VHY6u4rEym3A3maX93uib464yjD0WjStS23ef2od +Fhpqr7fOl5f6DERQfhmVoyC4OnA5440BEP7TQUSyQM4DsUk5pkb7KZM7+h0b76zf +17Ene4KXbgMRgESPwNSAmJeFhlghRYi/rTHl8JrU9CRkxDpEFDi1gm8W195tlv87 +buG0pysUskPBr1gxrEe9DWozWBicETcKvBw60ABEqE+c03OEp7J3qXZZyOQ2Pmqo +VtoPxdmiLpSpNDXvs1bevRev8kjakWl9gFZ1UpO4CYQ0/vG5XY103F3aqTcJQCYF +xBsy9ZikNk1XJBvPGzRRaMGJ+DA6+nimFUKs25gQ9ccl5nBCk8RponxGO2PztbM7 +OVnBKIUyDbsBj9trru6Zjtx8iYgmHJTUNjSO1UC4Ff6juh8dD4iSbgaG0He4pI+0 +XfAlRJsVA+/Iq1vTV4FmnML8j4qTe99CogB7ra+EveVDjlPWfDo= +=reUT +-----END PGP SIGNATURE----- diff --git a/kgraphviewer.changes b/kgraphviewer.changes index 0212899..f7fc19e 100644 --- a/kgraphviewer.changes +++ b/kgraphviewer.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu May 9 08:23:56 UTC 2024 - Christophe Marin + +- Update to 2.5.0: + https://blogs.kde.org/2024/05/08/kgraphviewer-2.5.0-released/ + * Port to Qt6 and KF6 + * General code modernization + ------------------------------------------------------------------- Fri Dec 15 22:07:35 UTC 2023 - Christophe Marin diff --git a/kgraphviewer.keyring b/kgraphviewer.keyring new file mode 100644 index 0000000..6e25bde Binary files /dev/null and b/kgraphviewer.keyring differ diff --git a/kgraphviewer.spec b/kgraphviewer.spec index 13d96f1..88a6dcc 100644 --- a/kgraphviewer.spec +++ b/kgraphviewer.spec @@ -1,7 +1,7 @@ # # spec file for package kgraphviewer # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,56 +16,59 @@ # -%define soname 3 +%define kf6_version 6.0.0 +%define qt6_version 6.5.0 + +%bcond_without released Name: kgraphviewer -Version: 2.4.3 +Version: 2.5.0 Release: 0 Summary: Graphviz dot graph file viewer License: GPL-2.0-only -Group: Development/Tools/Other -URL: https://www.kde.org/applications/graphics/kgraphviewer/ -Source: https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz +URL: https://apps.kde.org/kgraphviewer +Source: https://download.kde.org/stable/kgraphviewer/%{version}/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/kgraphviewer/%{version}/%{name}-%{version}.tar.xz.sig +Source2: kgraphviewer.keyring +%endif BuildRequires: boost-devel -BuildRequires: extra-cmake-modules -BuildRequires: graphviz-devel -BuildRequires: kcoreaddons-devel -BuildRequires: kdoctools-devel -BuildRequires: ki18n-devel -BuildRequires: kiconthemes-devel -BuildRequires: kparts-devel -BuildRequires: kwidgetsaddons-devel -BuildRequires: pkgconfig -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5PrintSupport) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: graphviz-devel >= 2.30 +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6Parts) >= %{kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version} +BuildRequires: cmake(Qt6Svg) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} Requires: graphviz -Requires: libkgraphviewer%{soname} = %{version} -Recommends: %{name}-lang %description -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. +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. -%package -n libkgraphviewer%{soname} +%package -n libkgraphviewer0 Summary: Graphviz dot graph file viewer -Group: Development/Tools/Other -Suggests: kgraphviewer = %{version} -%description -n libkgraphviewer%{soname} -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. +%description -n libkgraphviewer0 +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. + +This package install the kgraphviewer library. %package -n kgraphviewer-devel -Summary: Graphviz dot graph file viewer -Group: Development/Tools/Other +Summary: Development files for kgraphviewer Requires: kgraphviewer = %{version} -Requires: libkgraphviewer%{soname} = %{version} +Requires: libkgraphviewer0 = %{version} %description -n kgraphviewer-devel -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. +Development files for kgraphviewer. %lang_package @@ -73,44 +76,37 @@ Graphs are commonly used in scientific domains and particularly in computer scie %autosetup -p1 %build -%cmake_kf5 -d build -%make_jobs +%cmake_kf6 + +%kf6_build %install -%kf5_makeinstall -C build +%kf6_install -%find_lang kgraphviewer %{name}.lang -%{kf5_find_htmldocs} +%find_lang kgraphviewer --with-html kgraphviewer.lang -%post -n libkgraphviewer%{soname} -p /sbin/ldconfig -%postun -n libkgraphviewer%{soname} -p /sbin/ldconfig - -%files -n kgraphviewer-devel -%{_includedir}/* -%{_kf5_cmakedir}/KGraphViewerPart -%{_kf5_libdir}/libkgraphviewer.so - -%files -n libkgraphviewer%{soname} -%{_kf5_libdir}/libkgraphviewer.so.* - -%files lang -f %{name}.lang +%ldconfig_scriptlets -n libkgraphviewer0 %files %license COPYING COPYING.DOC %doc AUTHORS -%dir %{_kf5_configkcfgdir} -%{_kf5_debugdir}/kgraphviewer.categories -%{_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 +%doc %lang(en) %{_kf6_htmldir}/en/kgraphviewer +%{_kf6_applicationsdir}/org.kde.kgraphviewer.desktop +%{_kf6_appstreamdir}/org.kde.kgraphviewer.appdata.xml +%{_kf6_bindir}/kgraphviewer +%{_kf6_configkcfgdir}/kgraphviewersettings.kcfg +%{_kf6_debugdir}/kgraphviewer.categories +%{_kf6_iconsdir}/hicolor/apps/*/kgraphviewer.png + +%files -n libkgraphviewer0 +%{_kf6_libdir}/libkgraphviewer.so.* + +%files -n kgraphviewer-devel +%{_includedir}/kgraphviewer/ +%{_kf6_cmakedir}/KGraphViewerPart/ +%{_kf6_libdir}/libkgraphviewer.so + +%files lang -f kgraphviewer.lang +%exclude %{_kf6_htmldir}/en/kgraphviewer %changelog