Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool Version: 1.6.0 Release: 1%{?dist} License: LGPLv2 or MPLv1.1 URL: http://oss.oetiker.ch/rrdtool/ Group: System Environment/Libraries Vendor: VMware, Inc. Distribution: Photon Source0: https://github.com/oetiker/rrdtool-1.x/releases/download/v1.6.0/%{name}-%{version}.tar.gz %define sha1 rrdtool=9866b41bda9416188f236d61d24f185b173fd571 BuildRequires: pkg-config BuildRequires: libpng-devel BuildRequires: pango-devel BuildRequires: libxml2-devel BuildRequires: pixman-devel BuildRequires: freetype2-devel BuildRequires: fontconfig-devel BuildRequires: cairo-devel BuildRequires: glib-devel BuildRequires: systemd Requires: systemd %description RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data. %package devel Summary: Header and development files Requires: %{name} = %{version}-%{release} %description devel It contains the libraries and header files to create applications %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ --disable-tcl \ --disable-python \ --disable-perl \ --disable-lua \ --disable-examples \ --with-systemdsystemunitdir=%{_unitdir} \ --disable-docs \ --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install find %{buildroot} -name '*.la' -delete #%check #make %{?_smp_mflags} -k check %post /sbin/ldconfig %systemd_post rrdcached.service %preun %systemd_preun rrdcached.service %postun /sbin/ldconfig %systemd_postun_with_restart rrdcached.service %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/*.so* %{_unitdir}/rrdcached.service %{_unitdir}/rrdcached.socket %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Apr 5 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.6.0-1 - Initial version