SHA256
1
0
forked from pool/rrdtool
OBS User unknown 2007-11-28 22:48:25 +00:00 committed by Git OBS Bridge
parent fb2f79e4d4
commit 00d45552d6
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 28 10:30:29 CET 2007 - dmueller@suse.de
- fix default font after dejavu font update
- add dejavu to the package requires
- build parallel
-------------------------------------------------------------------
Mon Jul 9 14:56:57 CEST 2007 - dmueller@suse.de

View File

@ -14,17 +14,18 @@ Name: rrdtool
BuildRequires: freetype2-devel libart_lgpl-devel libpng-devel python-devel tcl-devel
License: GPL v2 or later
Group: Productivity/Scientific/Math
Autoreqprov: on
AutoReqProv: on
Requires: perl = %{perl_version}
Version: 1.2.23
Release: 24
Release: 64
Source: %{name}-%{version}.tar.bz2
Source1: cgilib-0.5.tar.bz2
Patch: %{name}-%{version}-ssize.diff
Patch1: %{name}-%{version}-python.diff
URL: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
Url: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A tool for data logging and analysis
Requires: dejavu >= 2.21
%description
A tool to log and analyze data gathered from all kinds of data sources.
@ -70,8 +71,8 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-L`pwd`/lb/lib"
--enable-shared \
--with-tcllib=%{_libdir} \
--with-gnu-ld \
--with-rrd-default-font=/usr/share/fonts/truetype/DejaVuSansMono.ttf
make
--with-rrd-default-font=/usr/share/fonts/truetype/DejaVuMonoSans.ttf
make %{?jobs:-j %jobs}
%install
#eval `perl -V:installarchlib`
@ -104,7 +105,6 @@ sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:
mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd.la
sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:space:]]*/ /' $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la > tmp
mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la
# documentation
install -m 644 CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO $RPM_BUILD_ROOT/%{_docdir}/%{name}
# Script libraries for Tcl extensions should be in a package-specific
@ -135,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorarch}/auto/*
/var/adm/perl-modules/rrdtool
%{_datadir}/%{name}
%package devel
Summary: A tool for data logging and analysis - Development files
Group: Productivity/Scientific/Math
@ -152,7 +153,6 @@ Authors:
--------
Tobias Oetiker <oetiker@ee.ethz.ch>
%files devel
%defattr(-, root, root)
/usr/include/*
@ -162,11 +162,11 @@ Authors:
%{_libdir}/librrd.so
%{_libdir}/librrd_th.a
%{_libdir}/librrd_th.la
%package -n python-rrdtool
Summary: Python bindings for rrdtool
Group: Productivity/Scientific/Math
Requires: %name = %version
%py_requires
%description -n python-rrdtool
@ -183,12 +183,15 @@ Authors:
--------
Tobias Oetiker <oetiker@ee.ethz.ch>
%files -n python-rrdtool
%defattr(-, root, root)
%{py_sitedir}/*
%changelog
* Wed Nov 28 2007 - dmueller@suse.de
- fix default font after dejavu font update
- add dejavu to the package requires
- build parallel
* Mon Jul 09 2007 - dmueller@suse.de
- apply python requires only to python-rrdtool subpackage
* Thu Jun 21 2007 - dmueller@suse.de