forked from pool/rrdtool
Accepting request 102100 from devel:languages:python
- require lua51-devel OBS-URL: https://build.opensuse.org/request/show/102100 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rrdtool?expand=0&rev=38
This commit is contained in:
commit
7219549c10
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 19:28:22 CET 2012 - dmueller@suse.de
|
||||
|
||||
- require lua51-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 11:35:26 UTC 2011 - max@novell.com
|
||||
|
||||
|
37
rrdtool.spec
37
rrdtool.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rrdtool
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@ -15,27 +15,35 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: rrdtool
|
||||
BuildRequires: cairo-devel freetype2-devel glib2-devel intltool libart_lgpl-devel libpng-devel libxml2-devel pango-devel python-devel tcl-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libart_lgpl-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: pango-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: tcl-devel
|
||||
%if 0%{?suse_version} >= 1100
|
||||
BuildRequires: gettext-tools
|
||||
%else
|
||||
BuildRequires: gettext
|
||||
%endif
|
||||
BuildRequires: ruby-devel
|
||||
%if 0%{?suse_version} >= 920
|
||||
%define has_lua 1
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildRequires: lua51-devel
|
||||
%else
|
||||
BuildRequires: lua-devel
|
||||
%endif
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: tcpd-devel
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: perl = %{perl_version}
|
||||
Version: 1.4.5
|
||||
Release: 8
|
||||
Release: 0
|
||||
%define cgilib_version 0.7
|
||||
# http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
@ -48,6 +56,8 @@ Patch11: cgilib-fix_automake.patch
|
||||
Url: http://oss.oetiker.ch/rrdtool/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: A tool for data logging and analysis
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: dejavu
|
||||
|
||||
%description
|
||||
@ -161,7 +171,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
#%{_datadir}/%{name}
|
||||
|
||||
%package devel
|
||||
License: GPL-2.0+
|
||||
Summary: A tool for data logging and analysis - Development files
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: %name = %version
|
||||
@ -181,7 +190,6 @@ definable time period.
|
||||
%{_libdir}/pkgconfig/librrd.pc
|
||||
|
||||
%package -n python-rrdtool
|
||||
License: GPL-2.0+
|
||||
Summary: Python bindings for rrdtool
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: %name = %version
|
||||
@ -199,10 +207,7 @@ This package contains the Python bindings
|
||||
%defattr(-, root, root)
|
||||
%{py_sitedir}/*
|
||||
|
||||
%if 0%{?has_lua}
|
||||
|
||||
%package -n lua-rrdtool
|
||||
License: GPL-2.0+
|
||||
Summary: Lua bindings for rrdtool
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: %name = %version
|
||||
@ -221,10 +226,8 @@ This package contains the Lua bindings
|
||||
%dir %{_libdir}/lua/*
|
||||
%{_libdir}/lua/*/rrd.so
|
||||
%{_libdir}/lua/*/rrd.so.*
|
||||
%endif
|
||||
|
||||
%package -n tcl-rrdtool
|
||||
License: GPL-2.0+
|
||||
Summary: Tcl bindings for rrdtool
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: tcl
|
||||
|
Loading…
Reference in New Issue
Block a user