diff --git a/_service b/_service deleted file mode 100644 index f486de9..0000000 --- a/_service +++ /dev/null @@ -1,12 +0,0 @@ - - - 2.1.40git - git://anongit.kde.org/kgraphviewer - git - - - *.tar - xz - - - diff --git a/_service:recompress:tar_scm:kgraphviewer-2.1.40git.1413250754.d5210f4.tar.xz b/_service:recompress:tar_scm:kgraphviewer-2.1.40git.1413250754.d5210f4.tar.xz deleted file mode 100644 index 36176e0..0000000 --- a/_service:recompress:tar_scm:kgraphviewer-2.1.40git.1413250754.d5210f4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06e370933e36991c5f980cd77c7b5d80dc58c858d6bba9c36cf9ce72d7938d1c -size 676332 diff --git a/_service:set_version:kgraphviewer.spec b/_service:set_version:kgraphviewer.spec deleted file mode 100644 index aab1b12..0000000 --- a/_service:set_version:kgraphviewer.spec +++ /dev/null @@ -1,121 +0,0 @@ -# -# spec file for package kgraphviewer -# -# Copyright (c) 2014 SUSE LINUX Products 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/ -# - - -# Spec file for kgraphviewer -%define soname 2 -Name: kgraphviewer -Version: 2.1.40git.1413250754.d5210f4 -Release: 0 -Summary: Graphviz dot graph file viewer for KDE -License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and GPL-3.0 -Group: Development/Tools/Other -Url: https://projects.kde.org/projects/extragear/graphics/kgraphviewer -Source0: %{name}-%{version}.tar.xz -Source1: %{name}-lang.tar.bz2 -Patch0: test_old_graphviz.diff -BuildRequires: boost-devel -BuildRequires: graphviz-devel -BuildRequires: libkde4-devel -BuildRequires: zlib-devel -Requires: graphviz -Requires: libkgraphviewer%{soname} = %{version} -Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{kde4_runtime_requires} - -%description -KGraphViewer is a Graphviz dot graph file viewer for KDE - -%package -n libkgraphviewer%{soname} -Summary: Graphviz dot graph file viewer for KDE -Group: Development/Tools/Other -Suggests: kgraphviewer = %{version} - -%description -n libkgraphviewer%{soname} -KGraphViewer is a Graphviz dot graph file viewer for KDE - -%package -n kgraphviewer-devel -Summary: Graphviz dot graph file viewer for KDE -Group: Development/Tools/Other -Requires: kgraphviewer = %{version} -Requires: libkgraphviewer%{soname} = %{version} - -%description -n kgraphviewer-devel -KGraphViewer is a Graphviz dot graph file viewer for KDE - -%lang_package - -%prep -%setup -q -a 1 -%if 0%{?suse_version} < 1320 -#patch -p1 < old_graphviz.diff -%patch0 -p1 -%endif -cat >> CMakeLists.txt << EOF -add_subdirectory( po ) -EOF - -%build -# The patch for older graphviz version is provided in the repo -%if 0%{?suse_version} < 1320 -#patch -p1 < old_graphviz.diff -%endif - %cmake_kde4 -d build - %make_jobs - -%install - %kde4_makeinstall -C build - %kde_post_install - - %find_lang kgraphviewer %{name}.lang - -%post -n libkgraphviewer%{soname} -p /sbin/ldconfig - -%postun -n libkgraphviewer%{soname} -p /sbin/ldconfig - -%files -n kgraphviewer-devel -%defattr(-,root,root) -%{_kde4_includedir}/* -%{_kde4_libdir}/libkgraphviewer.so - -%files -n libkgraphviewer%{soname} -%defattr(-,root,root) -%{_kde4_libdir}/libkgraphviewer.so.* - -%files lang -f %{name}.lang -%defattr(-,root,root) - -%files -%defattr(-,root,root) -%doc AUTHORS COPYING COPYING.DOC -%dir %{_kde4_datadir}/appdata -%{_kde4_applicationsdir}/kgrapheditor.desktop -%{_kde4_applicationsdir}/kgraphviewer.desktop -%{_kde4_appsdir}/kgrapheditor -%{_kde4_appsdir}/kgraphviewer -%{_kde4_appsdir}/kgraphviewerpart -%{_kde4_bindir}/* -%{_kde4_configkcfgdir}/kgrapheditorsettings.kcfg -%{_kde4_configkcfgdir}/kgraphviewer_partsettings.kcfg -%{_kde4_configkcfgdir}/kgraphviewersettings.kcfg -%{_kde4_datadir}/appdata/kgraphviewer* -%{_kde4_iconsdir}/* -%{_kde4_modulesdir}/kgraphviewerpart.so -%{_kde4_servicesdir}/kgraphviewer_part.desktop - -%changelog diff --git a/kgraphviewer-2.1.40git.1403573518.tar.xz b/kgraphviewer-2.1.40git.1403573518.tar.xz deleted file mode 100644 index 589720e..0000000 --- a/kgraphviewer-2.1.40git.1403573518.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:079928c4e0a663b45b7e588a5430bca79e3e4e996e30ed4deab4512be3e9022d -size 674600 diff --git a/kgraphviewer-2.1.90.tar.xz b/kgraphviewer-2.1.90.tar.xz new file mode 100644 index 0000000..3ddd7d4 --- /dev/null +++ b/kgraphviewer-2.1.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ae74c1a51e252e88afb7a3d7864fc1bc6326c191ad36c89cc7fab7e8a96f08f +size 973348 diff --git a/kgraphviewer-lang.tar.bz2 b/kgraphviewer-lang.tar.bz2 deleted file mode 100644 index 4e3f547..0000000 --- a/kgraphviewer-lang.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2e6500ffc2665ad63d4793fae103f75e09dbd8c93e01c43420f8ccaa847f615 -size 138257 diff --git a/kgraphviewer.spec b/kgraphviewer.spec index 11844c4..4c9c481 100644 --- a/kgraphviewer.spec +++ b/kgraphviewer.spec @@ -16,18 +16,15 @@ # -# Spec file for kgraphviewer %define soname 2 Name: kgraphviewer -Version: 2.1.40git.1403573518 +Version: 2.1.90 Release: 0 Summary: Graphviz dot graph file viewer for KDE License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and GPL-3.0 Group: Development/Tools/Other -Url: https://projects.kde.org/projects/extragear/graphics/kgraphviewer -Source0: %{name}-%{version}.tar.xz -Source1: %{name}-lang.tar.bz2 -Patch0: test_old_graphviz.diff +Url: https://projects.kde.org/kgraphviewer +Source0: ftp://ftp.kde.org/pub/kde/unstable/kgraphviewer/%{version}/src/kgraphviewer-%{name}-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: graphviz-devel BuildRequires: libkde4-devel @@ -59,22 +56,15 @@ Requires: libkgraphviewer%{soname} = %{version} KGraphViewer is a Graphviz dot graph file viewer for KDE %lang_package - %prep -%setup -q -a 1 -%if 0%{?suse_version} < 1320 -#patch -p1 < old_graphviz.diff -%patch0 -p1 -%endif -cat >> CMakeLists.txt << EOF -add_subdirectory( po ) -EOF +%setup -q %build -# The patch for older graphviz version is provided in the repo -%if 0%{?suse_version} < 1320 -#patch -p1 < old_graphviz.diff -%endif + %if 0%{?suse_version} < 1320 + # The patch is in the tarball + patch -p1 < old_graphviz.diff + %endif + %cmake_kde4 -d build %make_jobs