This commit is contained in:
parent
fb2f79e4d4
commit
00d45552d6
@ -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
|
Mon Jul 9 14:56:57 CEST 2007 - dmueller@suse.de
|
||||||
|
|
||||||
|
21
rrdtool.spec
21
rrdtool.spec
@ -14,17 +14,18 @@ Name: rrdtool
|
|||||||
BuildRequires: freetype2-devel libart_lgpl-devel libpng-devel python-devel tcl-devel
|
BuildRequires: freetype2-devel libart_lgpl-devel libpng-devel python-devel tcl-devel
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Version: 1.2.23
|
Version: 1.2.23
|
||||||
Release: 24
|
Release: 64
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: cgilib-0.5.tar.bz2
|
Source1: cgilib-0.5.tar.bz2
|
||||||
Patch: %{name}-%{version}-ssize.diff
|
Patch: %{name}-%{version}-ssize.diff
|
||||||
Patch1: %{name}-%{version}-python.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: A tool for data logging and analysis
|
Summary: A tool for data logging and analysis
|
||||||
|
Requires: dejavu >= 2.21
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A tool to log and analyze data gathered from all kinds of data sources.
|
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 \
|
--enable-shared \
|
||||||
--with-tcllib=%{_libdir} \
|
--with-tcllib=%{_libdir} \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--with-rrd-default-font=/usr/share/fonts/truetype/DejaVuSansMono.ttf
|
--with-rrd-default-font=/usr/share/fonts/truetype/DejaVuMonoSans.ttf
|
||||||
make
|
make %{?jobs:-j %jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#eval `perl -V:installarchlib`
|
#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
|
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
|
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
|
mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la
|
||||||
|
|
||||||
# documentation
|
# documentation
|
||||||
install -m 644 CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
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
|
# Script libraries for Tcl extensions should be in a package-specific
|
||||||
@ -135,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/*
|
||||||
/var/adm/perl-modules/rrdtool
|
/var/adm/perl-modules/rrdtool
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
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
|
||||||
@ -152,7 +153,6 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Tobias Oetiker <oetiker@ee.ethz.ch>
|
Tobias Oetiker <oetiker@ee.ethz.ch>
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/usr/include/*
|
/usr/include/*
|
||||||
@ -162,11 +162,11 @@ Authors:
|
|||||||
%{_libdir}/librrd.so
|
%{_libdir}/librrd.so
|
||||||
%{_libdir}/librrd_th.a
|
%{_libdir}/librrd_th.a
|
||||||
%{_libdir}/librrd_th.la
|
%{_libdir}/librrd_th.la
|
||||||
|
|
||||||
%package -n python-rrdtool
|
%package -n python-rrdtool
|
||||||
Summary: Python bindings for rrdtool
|
Summary: Python bindings for rrdtool
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Requires: %name = %version
|
Requires: %name = %version
|
||||||
|
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description -n python-rrdtool
|
%description -n python-rrdtool
|
||||||
@ -183,12 +183,15 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Tobias Oetiker <oetiker@ee.ethz.ch>
|
Tobias Oetiker <oetiker@ee.ethz.ch>
|
||||||
|
|
||||||
|
|
||||||
%files -n python-rrdtool
|
%files -n python-rrdtool
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{py_sitedir}/*
|
%{py_sitedir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 09 2007 - dmueller@suse.de
|
||||||
- apply python requires only to python-rrdtool subpackage
|
- apply python requires only to python-rrdtool subpackage
|
||||||
* Thu Jun 21 2007 - dmueller@suse.de
|
* Thu Jun 21 2007 - dmueller@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user