SHA256
1
0
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:
Stephan Kulow 2012-01-31 09:22:13 +00:00 committed by Git OBS Bridge
commit 7219549c10
2 changed files with 25 additions and 17 deletions

View File

@ -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 Thu May 12 11:35:26 UTC 2011 - max@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rrdtool # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,27 +15,35 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: rrdtool 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 %if 0%{?suse_version} >= 1100
BuildRequires: gettext-tools BuildRequires: gettext-tools
%else %else
BuildRequires: gettext BuildRequires: gettext
%endif %endif
BuildRequires: ruby-devel BuildRequires: ruby-devel
%if 0%{?suse_version} >= 920 %if 0%{?suse_version} >= 1120
%define has_lua 1 BuildRequires: lua51-devel
%else
BuildRequires: lua-devel BuildRequires: lua-devel
%endif %endif
BuildRequires: autoconf automake libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: tcpd-devel BuildRequires: tcpd-devel
License: GPL-2.0+
Group: Productivity/Scientific/Math
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Version: 1.4.5 Version: 1.4.5
Release: 8 Release: 0
%define cgilib_version 0.7 %define cgilib_version 0.7
# http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz # http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
@ -48,6 +56,8 @@ Patch11: cgilib-fix_automake.patch
Url: http://oss.oetiker.ch/rrdtool/ Url: http://oss.oetiker.ch/rrdtool/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A tool for data logging and analysis Summary: A tool for data logging and analysis
License: GPL-2.0+
Group: Productivity/Scientific/Math
Requires: dejavu Requires: dejavu
%description %description
@ -161,7 +171,6 @@ rm -rf $RPM_BUILD_ROOT
#%{_datadir}/%{name} #%{_datadir}/%{name}
%package devel %package devel
License: GPL-2.0+
Summary: A tool for data logging and analysis - Development files Summary: A tool for data logging and analysis - Development files
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Requires: %name = %version Requires: %name = %version
@ -181,7 +190,6 @@ definable time period.
%{_libdir}/pkgconfig/librrd.pc %{_libdir}/pkgconfig/librrd.pc
%package -n python-rrdtool %package -n python-rrdtool
License: GPL-2.0+
Summary: Python bindings for rrdtool Summary: Python bindings for rrdtool
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Requires: %name = %version Requires: %name = %version
@ -199,10 +207,7 @@ This package contains the Python bindings
%defattr(-, root, root) %defattr(-, root, root)
%{py_sitedir}/* %{py_sitedir}/*
%if 0%{?has_lua}
%package -n lua-rrdtool %package -n lua-rrdtool
License: GPL-2.0+
Summary: Lua bindings for rrdtool Summary: Lua bindings for rrdtool
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Requires: %name = %version Requires: %name = %version
@ -221,10 +226,8 @@ This package contains the Lua bindings
%dir %{_libdir}/lua/* %dir %{_libdir}/lua/*
%{_libdir}/lua/*/rrd.so %{_libdir}/lua/*/rrd.so
%{_libdir}/lua/*/rrd.so.* %{_libdir}/lua/*/rrd.so.*
%endif
%package -n tcl-rrdtool %package -n tcl-rrdtool
License: GPL-2.0+
Summary: Tcl bindings for rrdtool Summary: Tcl bindings for rrdtool
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Requires: tcl Requires: tcl