Add kgraphviewer 2.2beta
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kgraphviewer?expand=0&rev=2
This commit is contained in:
parent
3304840832
commit
47e6b2eb05
12
_service
12
_service
@ -1,12 +0,0 @@
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<param name="versionprefix">2.1.40git</param>
|
||||
<param name="url">git://anongit.kde.org/kgraphviewer</param>
|
||||
<param name="scm">git</param>
|
||||
</service>
|
||||
<service name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version"/>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06e370933e36991c5f980cd77c7b5d80dc58c858d6bba9c36cf9ce72d7938d1c
|
||||
size 676332
|
@ -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
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:079928c4e0a663b45b7e588a5430bca79e3e4e996e30ed4deab4512be3e9022d
|
||||
size 674600
|
3
kgraphviewer-2.1.90.tar.xz
Normal file
3
kgraphviewer-2.1.90.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ae74c1a51e252e88afb7a3d7864fc1bc6326c191ad36c89cc7fab7e8a96f08f
|
||||
size 973348
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2e6500ffc2665ad63d4793fae103f75e09dbd8c93e01c43420f8ccaa847f615
|
||||
size 138257
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user