@ -17,11 +17,12 @@
Summary: Round Robin Database Tool to store and display time-series data
Summary: Round Robin Database Tool to store and display time-series data
Name: rrdtool
Name: rrdtool
Version: 1.7.2
Version: 1.8.0
Release: 21%{?dist}
Release: 19%{?dist}
License: GPLv2+ with exceptions
# gd license in php bindings isn't by default built-in
License: gpl-1.0-or-later AND gpl-2.0-or-later AND gpl-2.0-or-later WITH rrdtool-floss-exception-2.0 AND mit AND lgpl-2.0-or-later AND lgpl-2.1-or-later AND bsd-source-code AND snprintf AND bsd-3-clause AND gpl-2.0-only AND licenseref-fedora-public-domain AND gtkbook
URL: https://oss.oetiker.ch/rrdtool/
URL: https://oss.oetiker.ch/rrdtool/
Source0: https://oss.oetiker.ch/%{name}/pub /%{name}-%{version}.tar.gz
Source0: https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version} /%{name}-%{version}.tar.gz
Source1: php4-%{svnrev}.tar.gz
Source1: php4-%{svnrev}.tar.gz
Patch1: rrdtool-1.4.4-php54.patch
Patch1: rrdtool-1.4.4-php54.patch
# disable logo for php 5.5.
# disable logo for php 5.5.
@ -29,23 +30,41 @@ Patch2: rrdtool-1.4.7-php55.patch
Patch3: rrdtool-1.6.0-ruby-2-fix.patch
Patch3: rrdtool-1.6.0-ruby-2-fix.patch
# enable php bindings on ppc
# enable php bindings on ppc
Patch4: rrdtool-1.4.8-php-ppc-fix.patch
Patch4: rrdtool-1.4.8-php-ppc-fix.patch
Patch5: rrdtool-1.7.2-python-rpath-fix.patch
# Fix BUILD_DATE in rrdtool help output
# https://github.com/oetiker/rrdtool-1.x/commit/e59f703
Patch5: rrdtool-1.8.0-BUILD_DATE-fix.patch
Patch6: rrdtool-configure-c99.patch
# gcc-14 fix
# https://github.com/oetiker/rrdtool-1.x/commit/b76e3c578f1e9f582e9c28f50d82b1f569602075
Patch7: rrdtool-1.8.0-const-argv.patch
Requires: dejavu-sans-mono-fonts
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
BuildRequires: make
BuildRequires: make
BuildRequires: gcc-c++, openssl-devel, freetype-devel
BuildRequires: gcc-c++
BuildRequires: libpng-devel, zlib-devel, intltool >= 0.35.0
BuildRequires: freetype-devel
BuildRequires: cairo-devel >= 1.4.6, pango-devel >= 1.17
BuildRequires: libpng-devel
BuildRequires: libtool, groff
BuildRequires: zlib-devel
BuildRequires: gettext, libxml2-devel, systemd, sed
BuildRequires: intltool >= 0.35.0
BuildRequires: cairo-devel >= 1.4.6
BuildRequires: pango-devel >= 1.17
BuildRequires: libtool
BuildRequires: groff
BuildRequires: gettext
BuildRequires: libxml2-devel
BuildRequires: systemd
BuildRequires: sed
%if %{with_dbi}
%if %{with_dbi}
BuildRequires: libdbi-devel
BuildRequires: libdbi-devel
%endif
%endif
BuildRequires: perl-ExtUtils-MakeMaker, perl-generators, perl-Pod-Html, perl-devel
BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: automake, autoconf
BuildRequires: perl-generators
BuildRequires: perl-Pod-Html
BuildRequires: perl-devel
BuildRequires: automake
BuildRequires: autoconf
Requires: dejavu-sans-mono-fonts
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description
%description
RRD is the Acronym for Round Robin Database. RRD is a system to store and
RRD is the Acronym for Round Robin Database. RRD is a system to store and
@ -77,7 +96,6 @@ server load average). This package contains documentation on using RRD.
%package perl
%package perl
Summary: Perl RRDtool bindings
Summary: Perl RRDtool bindings
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Obsoletes: perl-%{name} < %{version}-%{release}
Obsoletes: perl-%{name} < %{version}-%{release}
Provides: perl-%{name} = %{version}-%{release}
Provides: perl-%{name} = %{version}-%{release}
@ -126,7 +144,7 @@ The %{name}-tcl package includes RRDtool bindings for Tcl.
%endif
%endif
%if %{with_ruby}
%if %{with_ruby}
%{!?ruby_vendorarchdir: %global ruby_vendorarchdir %(ruby -rrbconfig -e 'puts Config::CONFIG["vendorarchdir"]')}
%{!?ruby_vendorarchdir: %global ruby_vendorarchdir %(ruby -rrbconfig -e 'puts Rb Config::CONFIG["vendorarchdir"]')}
%package ruby
%package ruby
Summary: Ruby RRDtool bindings
Summary: Ruby RRDtool bindings
@ -166,7 +184,9 @@ The %{name}-lua package includes RRDtool bindings for Lua.
%patch3 -p1 -b .ruby-2-fix
%patch3 -p1 -b .ruby-2-fix
%endif
%endif
%patch4 -p1 -b .php-ppc-fix
%patch4 -p1 -b .php-ppc-fix
%patch5 -p1 -b .python-rpath-fix
%patch5 -p1 -b .BUILD_DATE-fix
%patch6 -p1 -b .configure-c99
%patch7 -p1 -b .const-argv
# Fix to find correct python dir on lib64
# Fix to find correct python dir on lib64
perl -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' \
perl -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' \
@ -345,10 +365,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
%{_unitdir}/rrdcached.socket
%{_unitdir}/rrdcached.socket
%{_datadir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/*
%{_mandir}/man1/*
%{_mandir}/man3/lib*.3*
%files devel
%files devel
%{_includedir}/*.h
%{_includedir}/*.h
%exclude %{_libdir}/*.la
%{_libdir}/lib*.so
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pkgconfig/*.pc
@ -358,7 +378,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
%files perl
%files perl
%doc doc3/html
%doc doc3/html
%{_mandir}/man3/*
%{_mandir}/man3/*.3pm*
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/*.pm
%attr(0755,root,root) %{perl_vendorarch}/auto/RRDs/
%attr(0755,root,root) %{perl_vendorarch}/auto/RRDs/
@ -391,29 +411,92 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
%if %{with_lua}
%if %{with_lua}
%files lua
%files lua
%doc bindings/lua/README
%doc bindings/lua/README
%exclude %{lualibdir}/*.la
%{lualibdir}/*
%{lualibdir}/*
%endif
%endif
%changelog
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.2-21
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.8.0-19
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Bump release for Aug 2024 java mass rebuild
Related: rhbz#1991688
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.0-18
- Bump release for June 2024 mass rebuild
* Mon May 27 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-17
- Added recently approved SPDX exception rrdtool-floss-exception-2.0
Resolves: RHEL-38985
* Wed Jan 24 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-16
- Converted license to SPDX
* Mon Jan 22 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-15
- Fixed FTBFS with GCC 14
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 03 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.8.0-13
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.0-11
- Perl 5.38 rebuild
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.2-20
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.8.0-10
- Rebuilt for RHEL 9 BETA for openssl 3.0
- Rebuilt for Python 3.12
Related: rhbz#1971065
* Mon Apr 17 2023 Florian Weimer <fweimer@redhat.com> - 1.8.0-9
- Backport upstream patch to fix C99 issue in configure script
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.8.0-7
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
* Fri Dec 02 2022 Wolfgang Stöggl <c72578@yahoo.de> - 1.8.0-6
- Fix BUILD_DATE
Add patch: rrdtool-1.8.0-BUILD_DATE-fix.patch
* Thu Nov 24 2022 FeRD (Frank Dana) <ferdnyc@gmail.com> - 1.8.0-5
- Remove excludes for nonexistent .la files
- Fix Ruby directory lookup
- Move librrd(3) man page from -perl subpackage to main package
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.8.0-3
- Rebuilt for Python 3.11
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.8.0-2
- Perl 5.36 rebuild
* Tue Mar 22 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-1
- New version
Resolves: rhbz#2065186
* Thu Jan 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-23
- F-36: rebuild against ruby31
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.2-20
- Rebuilt for Python 3.10
* Wed May 26 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.7.2-19
* Wed May 26 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.7.2-19
- Removed rpath from python bindings better way
- Removed rpath from python bindings better way
Related: rhbz#1960385
* Wed May 26 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.7.2-18
* Sat May 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.7.2-18
- Removed rpath from python bindings
- Perl 5.34 rebuild
Resolves: rhbz#1960385
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.2-17
* Thu May 13 2021 Jaroslav Škarvada <jskarvad @redhat.com> - 1.7.2-17
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Removed rpath from python bindings
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-16
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild