summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be52186)
raw | patch | inline | side by side (parent: be52186)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 May 2004 20:50:36 +0000 (20:50 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 May 2004 20:50:36 +0000 (20:50 +0000) |
program/rrdtool.spec | patch | blob | history |
diff --git a/program/rrdtool.spec b/program/rrdtool.spec
index e1df5baaf5f93779c2982d561c0f4f21be78ff91..d7ac1d7b9bd7eba6374a633f3fa4905c2dae8429 100644 (file)
--- a/program/rrdtool.spec
+++ b/program/rrdtool.spec
-%define cvsdate 2004-04-30
+%define cvsdate cvs-snap
%define cvsver %(echo %{cvsdate} | tr -d -)
-%define sover 1.0.2
+%define sover 1.0.0
Summary: Round Robin Database Tools
Name: rrdtool
Version: 1.1.0
-Release: 0.1.%{cvsver}
+Release: %{cvsver}
License: GPL
Group: Applications/Networking
Source: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/beta/rrdtool-cvs-snap.tar.gz
Buildroot: /tmp/%{name}-root
BuildRequires: perl
-BuildRequires: cgilib
+BuildRequires: cgilib-devel
BuildRequires: freetype-devel libart_lgpl-devel libpng-devel zlib-devel
%description
%build
CPPFLAGS="-I/usr/include/libart-2.0 -I/usr/include/freetype2"
export CPPFLAGS
+aclocal > /tmp/aclocal.out 2>&1
+automake
+autoconf
%configure
make
# Fix up the documentation
[ -d docs ] && mv docs docs.src
mv %{buildroot}/usr/doc docs
+rm -f docs/*.pod
[ -d examples ] && mv examples examples.src
mv %{buildroot}/usr/examples examples
[ -d html ] && mv html html.src
rmdir %{buildroot}%{_libdir}/perl
# Fix up the man pages
-if [ "%{_mandir}" != "/usr/man" ]; then
+if [ "%{_mandir}" != "/usr/share/man" ]; then
mkdir -p %{buildroot}%{_mandir}
mv %{buildroot}/usr/man/* %{buildroot}%{_mandir}/
fi