File collectd.spec of Package collectd

#
# spec file for package collectd
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2005-2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

%define plugins aggregation apache battery bind ceph cgroups chrony \\\
conntrack contextswitch cpu cpufreq cpusleep csv curl curl_json curl_xml \\\
df disk dns drbd email entropy ethstat exec fhcount filecount fscache \\\
hddtemp hugepages interface ipc iptables ipvs irq load log_logstash \\\
logfile lvm madwifi match_empty_counter match_hashed match_regex \\\
match_timediff match_value mbmon mcelog md memory network nfs nginx \\\
notify_email notify_nagios ntpd numa olsrd openvpn processes protocols \\\
python rrdcached rrdtool sensors serial snmp_agent statsd swap synproxy syslog \\\
table tail tail_csv target_notification target_replace target_scale \\\
target_set target_v5upgrade tcpconns ted thermal threshold turbostat \\\
unixsock uptime users uuid vmem vserver wireless write_graphite \\\
write_http write_log write_sensu zookeeper

# removed: netlink
# external: dbi,lua,mysql,notify_desktop,openldap,postgresql,smart,snmp,virt
# ///////////////////////////////////////////////////////////////////////

Name:           collectd
Version:        5.8.0
Release:        44
Summary:        Statistics Collection Daemon for filling RRD Files
License:        GPL-2.0-only
Group:          System/Monitoring
Url:            http://collectd.org/
Source:         http://collectd.org/files/collectd-%{version}.tar.gz
Source1:        collectd.suse.init
Source2:        collectd.apache2.conf
Source3:        collectd-js.apache2.conf
Patch18:        collectd-fix_collection_cgi.patch
Patch21:        collectd-fix_collectd_config_path_in_snmp_probe.patch

# general
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  gcc
BuildRequires:  gdbm-devel
BuildRequires:  gettext-tools
BuildRequires:  libtool
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  pkg-config
BuildRequires:  systemd
BuildRequires:  systemd-rpm-macros
# modules
BuildRequires:  bind-devel
# BuildRequires:  gtk2-devel
# BuildRequires:  intltool
# BuildRequires:  java-devel
BuildRequires:  kernel-devel
BuildRequires:  libart_lgpl-devel
BuildRequires:  libcurl-devel
BuildRequires:  libdb-4_8-devel
BuildRequires:  libesmtp-devel
BuildRequires:  libevent-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libiptc-devel
BuildRequires:  libmicrohttpd-devel
BuildRequires:  libnetlink-devel
# BuildRequires:  liboping-devel
BuildRequires:  libpcap-devel
BuildRequires:  libpng-devel
# BuildRequires:  librdkafka-devel
BuildRequires:  libsensors4-devel
BuildRequires:  libudev-devel
BuildRequires:  libxml2-devel
BuildRequires:  libxtables-devel
BuildRequires:  libyajl-devel
BuildRequires:  linux-kernel-headers
BuildRequires:  lvm2-devel
# BuildRequires:  protobuf-devel
BuildRequires:  xfsprogs-devel

BuildRequires:  python-devel


Requires(post): %fillup_prereq
# play nice with collectd-beta:
Obsoletes:      collectd-beta < %{version}
Provides:       collectd-beta = %{version}-%{release}
#%{?systemd_requires}

%description
collectd is a daemon (written in C) that reads various system
statistics and updates RRD files. Statistics are very fine grained
with an update interval of 10 seconds.

# ///////////////////////////////////////////////////////////////////////
%package web
Summary:        Web Frontend for watching the %{name} Statistics
Group:          System/Monitoring
Requires:       apache2
Requires:       perl
Requires:       rrdtool
Requires:       perl(CGI)
Requires:       perl(Data::Dumper)
Requires:       perl(HTML::Entities)
Requires:       perl(RRDs)
Requires:       perl(URI::Escape)
BuildRequires:  apache2
BuildRequires:  perl
BuildRequires:  rrdtool-devel

%description web
Web frontend CGI for watching %{name} statistics from a browser.

Please look at %{_sysconfdir}/apache2/conf.d/%{name}.conf on how to enable.

# ///////////////////////////////////////////////////////////////////////
%package web-js
Summary:        Web/JavaScript Frontend for watching %{name} Statistics
Group:          System/Monitoring
Requires:       apache2
Requires:       perl
Requires:       rrdtool
Requires:       perl(CGI)
Requires:       perl(Config::General)
Requires:       perl(Data::Dumper)
Requires:       perl(HTML::Entities)
Requires:       perl(JSON)
Requires:       perl(RRDs)
BuildRequires:  apache2
BuildRequires:  perl
BuildRequires:  rrdtool-devel

%description web-js
Web/JavaScript frontend CGI for watching %{name} statistics from
a browser.

Please look at %{_sysconfdir}/apache2/conf.d/%{name}-js.conf on how to
enable.

# ///////////////////////////////////////////////////////////////////////
%package plugin-notify-desktop
Summary:        Desktop Notification Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  libnotify-devel

%description plugin-notify-desktop
Desktop Notification Support for %{name} allow you to receive
message delivery on your desktop.

# ///////////////////////////////////////////////////////////////////////
#### %package plugin-ipmi
#### Summary:        OpenIPMI Monitoring Plugin for %{name}
#### Group:          System/Monitoring
#### Requires:       %{name} = %{version}-%{release}
#### BuildRequires:  OpenIPMI-devel

#### %description plugin-ipmi
#### Optional %{name} plugin to monitor sensors using the OpenIPMI
#### library for IPMI enabled systems.

# ///////////////////////////////////////////////////////////////////////
%package plugin-snmp
Summary:        SNMP Monitoring Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
Requires:       perl(Config::General)
Requires:       perl(SNMP)
Requires:       perl(Socket6)
BuildRequires:  net-snmp-devel

%description plugin-snmp
Optional %{name} plugin to monitor devices using SNMP.

# ///////////////////////////////////////////////////////////////////////
%package plugin-mysql
Summary:        MySQL Monitoring Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  libmysqld-devel

%description plugin-mysql
Optional %{name} plugin to monitor MySQL server instances.

# ///////////////////////////////////////////////////////////////////////
%package plugin-openldap
Summary:        OpenLDAP plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  openldap2-devel
BuildRequires:  libldapcpp-devel

%description plugin-openldap
This plugin for collectd reads monitoring information
from OpenLDAP's cn=Monitor subtree.

# ///////////////////////////////////////////////////////////////////////
%package plugin-postgresql
Summary:        PostgreSQL Monitoring Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  postgresql-devel

%description plugin-postgresql
Optional %{name} plugin to monitor PostgreSQL server instances.

# ///////////////////////////////////////////////////////////////////////
## %package plugin-python3
## Summary:        Python3 API for %{name}
## Group:          System/Monitoring
## Requires:       %{name} = %{version}-%{release}
## BuildRequires:  python-devel

## %description plugin-python3
## Optional %{name} Python3 API in order to write %{name} plugins in
## Python3.

# ///////////////////////////////////////////////////////////////////////
%package plugin-virt
Summary:        Virtual Machine Statistics Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  libvirt-devel

%description plugin-virt
Optional %{name} plugin to gather statistics from virtual
machines using libvirt.

# ///////////////////////////////////////////////////////////////////////
%package plugin-dbi
Summary:        DBI Storage Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  libdbi-devel

%description plugin-dbi
Optional %{name} plugin to store sampling results into
various databases as supported by libdbi.

# ///////////////////////////////////////////////////////////////////////
%package plugin-smart
Summary:        SMART Monitoring Plugin for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
BuildRequires:  libatasmart-devel

%description plugin-smart
Optional %{name} plugin to monitor Self-Monitoring, Analysis and Reporting
Technology (SMART) information from disk drives.

# ///////////////////////////////////////////////////////////////////////
%package plugin-lua
Summary:        Lua API for %{name}
Group:          System/Monitoring
Requires:       %{name} = %{version}-%{release}
Requires:       lua
BuildRequires:  lua-devel

%description plugin-lua
Optional %{name} Lua API in order to write %{name} plugins in Lua.

# ///////////////////////////////////////////////////////////////////////
%package -n libcollectdclient1
Summary:        Library for %{name} clients
Group:          System/Monitoring
Provides:       libcollectdclient = %{version}-%{release}

%description -n libcollectdclient1
Library which abstracts communication with the %{name}
unixsock plugin for clients.

# ///////////////////////////////////////////////////////////////////////
%package -n libcollectdclient-devel
Summary:        Development Environment for %{name} clients
Group:          Development/Libraries/C and C++
Requires:       libcollectdclient1 = %{version}-%{release}

%description -n libcollectdclient-devel
Library which abstracts communication with the %{name}
unixsock plugin for clients.
This package contains the required development environment
to write %{name} unixsock clients.

# ///////////////////////////////////////////////////////////////////////

%prep
%setup -q -n "collectd-%{version}"
%patch18
%patch21

# replace @@VERSION@@ with 5.8.0
sed -i 's|@@VERSION@@|%{version}|g' configure.ac

# replace $withval/lib with /lib64 oder so ähnlich
perl -p -i -e 's|(-L\$withval/lib)\b|${1}64|g' configure.ac configure

# remove unneeded files:
rm -rf contrib/SpamAssassin contrib/aix contrib/docker contrib/redhat contrib/sles10.1 contrib/solaris-smf

# remove -Werror flag from configure
find . -name 'configure*' -o -name 'Makefile*' -exec sed -i 's|-Werror||g' {} \;

%build
autoreconf -fiv

export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-error"
export CXXFLAGS="$CFLAGS"
export KERNEL_DIR=%{_prefix}/src/linux

%configure \
--enable-apache \
--enable-aggregation \
--disable-amqp \
--disable-apcups \
--disable-apple_sensors \
--disable-aquaero \
--disable-ascent \
--disable-barometer \
--enable-battery \
--enable-bind \
--enable-ceph \
--enable-cgroups \
--enable-chrony \
--enable-conntrack \
--enable-contextswitch \
--enable-cpu \
--enable-cpufreq \
--enable-cpusleep \
--enable-csv \
--enable-curl \
--enable-curl_json \
--enable-curl_xml \
--enable-dbi \
--enable-df \
--enable-disk \
--enable-dns \
--disable-dpdkevents \
--disable-dpdkstat \
--enable-drbd \
--enable-email \
--enable-entropy \
--enable-ethstat \
--enable-exec \
--enable-fhcount \
--enable-filecount \
--enable-fscache \
--disable-gmond \
--disable-gps \
--disable-grpc \
--enable-hddtemp \
--enable-hugepages \
--disable-intel_pmu \
--disable-intel_rdt \
--enable-interface \
--enable-ipc \
--disable-ipmi \
--enable-iptables \
--enable-ipvs \
--enable-irq \
--disable-java \
--enable-load \
--enable-log_logstash \
--enable-logfile \
--disable-lpar \
--enable-lua \
--enable-lvm \
--enable-madwifi \
--enable-match_empty_counter \
--enable-match_hashed \
--enable-match_regex \
--enable-match_timediff \
--enable-match_value \
--enable-mbmon \
--enable-mcelog \
--enable-md \
--disable-memcachec \
--disable-memcached \
--enable-memory \
--disable-mic \
--disable-modbus \
--disable-mqtt \
--disable-multimeter \
--enable-mysql \
--disable-netapp \
--disable-netlink \
--enable-network \
--enable-nfs \
--enable-nginx \
--enable-notify_desktop \
--enable-notify_email \
--enable-notify_nagios \
--enable-ntpd \
--enable-numa \
--disable-nut \
--enable-olsrd \
--disable-onewire \
--enable-openldap \
--enable-openvpn \
--disable-oracle \
--disable-ovs_events \
--disable-ovs_stats \
--disable-perl \
--disable-pf \
--disable-pinba \
--disable-ping \
--enable-postgresql \
--disable-powerdns \
--enable-processes \
--enable-protocols \
--enable-python \
--disable-redis \
--disable-routeros \
--enable-rrdcached \
--enable-rrdtool \
--enable-sensors \
--enable-serial \
--disable-sigrok \
--enable-smart \
--enable-snmp \
--enable-snmp_agent \
--enable-statsd \
--enable-swap \
--enable-synproxy \
--enable-syslog \
--enable-table \
--enable-tail \
--enable-tail_csv \
--disable-tape \
--enable-target_notification \
--enable-target_scale \
--enable-target_replace \
--enable-target_set \
--enable-target_v5upgrade \
--enable-tcpconns \
--disable-teamspeak2 \
--enable-ted \
--enable-thermal \
--enable-threshold \
--disable-tokyotyrant \
--enable-turbostat \
--enable-unixsock \
--enable-uptime \
--enable-users \
--enable-uuid \
--disable-varnish \
--enable-virt \
--enable-vmem \
--enable-vserver \
--enable-wireless \
--enable-write_graphite \
--enable-write_http \
--disable-write_kafka \
--enable-write_log \
--disable-write_mongodb \
--disable-write_prometheus \
--disable-write_redis \
--disable-write_riemann \
--enable-write_sensu \
--disable-write_tsdb \
--disable-xencpu \
--disable-xmms \
--disable-zfs_arc \
--disable-zone \
--enable-zookeeper \
--disable-werror \
--disable-silent-rules \
--disable-static 
#--without-included-ltdl


make %{?_smp_mflags} V=1

%install
%make_install

# delete .a && .la files
rm -f "%{buildroot}%{_libdir}"/*.{a,la}
rm -f "%{buildroot}%{_libdir}/collectd"/*.a

# python depencies
sed -i '/^dependency_libs=/ s|-L'"${RPM_BUILD_DIR}/%{name}-%{version}"'/src||g' "%{buildroot}%{_libdir}/collectd/python.la"

# fix permissions:
chmod 0755 "%{buildroot}%{_libdir}/collectd"/*.so
chmod 0644 "%{buildroot}%{_libdir}/collectd"/*.la

# create /var/lib/collectd to add it to the %files section:
install -d -m 0755 "%{buildroot}%{_localstatedir}/lib/collectd"

# Apache2 configuration for the CGI frontend:
install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/apache2/conf.d/%{name}.conf"
install -D -m 0755 contrib/collection.cgi "%{buildroot}/srv/www/collectd/collection.cgi"
install -D -m 0644 contrib/collection.conf "%{buildroot}%{_sysconfdir}/collectd/collection.conf"
sed -i 's|@@LIBDIR@@|%{_libdir}|g' "%{buildroot}%{_sysconfdir}/collectd/collection.conf"
# remove it from contrib, to avoid having it end up in the main package as well:
rm contrib/collection.cgi contrib/collection.conf

%perl_process_packlist
rm -rf "%{buildroot}%{_localstatedir}/adm/perl-modules"/*

# web-js CGI frontend (_must_ be installed _after_ perl_process_packlist)
install -d "%{buildroot}/srv/www/collectd-js"
mkdir -p _rpmdoc_/web-js
mv contrib/collection3/README _rpmdoc_/web-js/README
find contrib/collection3/ -name .htaccess -exec rm {} \;
cp -a \
     contrib/collection3/bin/* \
     contrib/collection3/share/* \
     "%{buildroot}/srv/www/collectd-js/"
mkdir -p "%{buildroot}%{_libexecdir}/collectd-js"
mv contrib/collection3/lib/* "%{buildroot}%{_libexecdir}/collectd-js/"

install -D -m 0644 contrib/collection3%{_sysconfdir}/collection.conf \
     "%{buildroot}%{_sysconfdir}/collectd/collection-js.conf"
rm -fr contrib/collection3/etc
install -D -m 0644 "%{SOURCE3}" "%{buildroot}%{_sysconfdir}/apache2/conf.d/%{name}-js.conf"

# cussh script from contrib:
install -m0755 contrib/cussh.pl "%{buildroot}%{_bindir}/cussh"
install -d "%{buildroot}%{_mandir}/man1"
pod2man \
     -c "Collectd UNIX Socket Shell" \
     -n "CUSSH" \
     -s 1 \
     contrib/cussh.pl > "%{buildroot}%{_mandir}/man1/cussh.1"
rm contrib/cussh.pl

# snmp:
mkdir -p _rpmdoc_/snmp
sed -n '/^snmp-data\.conf/,$ p' contrib/README > _rpmdoc_/snmp/README
sed -i '/^snmp-data\.conf/,$ d' contrib/README
mv contrib/snmp-data.conf _rpmdoc_/snmp/
sed -i 's|\(\./\)snmp-probe-host\.px|collectd-snmp-probe-host|g' contrib/snmp-probe-host.px
pod2man \
     -c "Collectd SNMP Host Probe" \
     -n "COLLECTD-SNMP-PROBE-HOST" \
     -s 1 \
     contrib/snmp-probe-host.px \
     > "%{buildroot}%{_mandir}/man1/collectd-snmp-probe-host.1"
install -D -m0755 contrib/snmp-probe-host.px "%{buildroot}%{_bindir}/collectd-snmp-probe-host"
rm contrib/snmp-probe-host.px
install -d "%{buildroot}%{_mandir}/man1"

find contrib/ -name '*.orig' -delete

# plugin list:
echo -n > plugins.lst
for plugin in %{plugins}; do
     for ext in so la; do
         echo "%{_libdir}/collectd/${plugin}.${ext}" >> plugins.lst
     done
done

# remove perl stuff
## %dir %{perl_vendorlib}/Collectd
## %{perl_vendorlib}/Collectd.pm
## %{perl_vendorlib}/Collectd/*
## %{perl_vendorarch}/auto/Collectd
## %doc %{perl_man3dir}/Collectd::Unixsock.%{perl_man3ext}%{ext_man}
rm -rf %{buildroot}%{perl_sitelib}/*
rm -rf %{buildroot}%{perl_vendorlib}/*
rm -rf %{buildroot}%{perl_man3dir}/*
rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5
## rm -f %{buildroot}%{_mandir}/man5/collectd-python.5
rm -f %{buildroot}%{_mandir}/man5/collectd-java.5

install -d -m 0755 "%{buildroot}%{_prefix}/sbin"
install -D -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}

%preun
%service_del_preun %{name}.service

%postun
%service_del_postun %{name}.service

%pre
%service_add_pre %{name}.service

%post
%{fillup_only collectd}
%service_add_post %{name}.service

%post   -n libcollectdclient1 -p /sbin/ldconfig
%postun -n libcollectdclient1 -p /sbin/ldconfig

%files -f plugins.lst
%doc AUTHORS ChangeLog COPYING README
%doc contrib
%config(noreplace) %{_sysconfdir}/collectd.conf
%dir %{_sysconfdir}/collectd
%{_bindir}/collectd-tg
%{_bindir}/collectd-nagios
%{_bindir}/collectdctl
%{_bindir}/cussh
%{_sbindir}/collectd
%{_sbindir}/collectdmon
%{_sbindir}/rccollectd
%dir %{_libdir}/collectd
%dir %{_datadir}/collectd
%{_datadir}/collectd/types.db

# we have disabled embedded perl interpreter
## %dir %{perl_vendorlib}/Collectd
## %{perl_vendorlib}/Collectd.pm
## %{perl_vendorlib}/Collectd/*
## %{perl_vendorarch}/auto/Collectd
## %doc %{perl_man3dir}/Collectd::Unixsock.%{perl_man3ext}%{ext_man}

%doc %{_mandir}/man1/cussh.1%{ext_man}
%doc %{_mandir}/man1/collectd.1%{ext_man}
%doc %{_mandir}/man1/collectdctl.1%{ext_man}
%doc %{_mandir}/man1/collectdmon.1%{ext_man}
%doc %{_mandir}/man1/collectd-tg.1%{ext_man}
%doc %{_mandir}/man1/collectd-nagios.1%{ext_man}

%doc %{_mandir}/man5/collectd.conf.5%{ext_man}
%doc %{_mandir}/man5/collectd-email.5%{ext_man}
%doc %{_mandir}/man5/collectd-exec.5%{ext_man}
## %doc %{_mandir}/man5/collectd-perl.5%{ext_man}
%doc %{_mandir}/man5/collectd-threshold.5%{ext_man}
%doc %{_mandir}/man5/collectd-unixsock.5%{ext_man}
%doc %{_mandir}/man5/types.db.5%{ext_man}

## added (for included python but removed in module/files ection below)
%doc %{_mandir}/man5/collectd-python.5%{ext_man}


%dir %{_localstatedir}/lib/collectd
%{_unitdir}/collectd.service

%files web
%config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf
%dir %{_sysconfdir}/collectd
%config(noreplace) %{_sysconfdir}/collectd/collection.conf
/srv/www/collectd

%files web-js
%doc _rpmdoc_/web-js/README
%config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}-js.conf
%dir %{_sysconfdir}/collectd
%config(noreplace) %{_sysconfdir}/collectd/collection-js.conf
/srv/www/collectd-js
%{_libexecdir}/collectd-js

%files plugin-notify-desktop
%{_libdir}/collectd/notify_desktop.so
%{_libdir}/collectd/notify_desktop.la

#### %files plugin-ipmi
#### %{_libdir}/collectd/ipmi.so
#### %{_libdir}/collectd/ipmi.la

%files plugin-snmp
%doc _rpmdoc_/snmp/*
%{_bindir}/collectd-snmp-probe-host
%{_mandir}/man1/collectd-snmp-probe-host.1%{ext_man}
%{_libdir}/collectd/snmp.so
%{_libdir}/collectd/snmp.la
%{_mandir}/man5/collectd-snmp.5%{ext_man}

%files plugin-mysql
%{_libdir}/collectd/mysql.so
%{_libdir}/collectd/mysql.la

%files plugin-postgresql
%{_libdir}/collectd/postgresql.so
%{_libdir}/collectd/postgresql.la
%config %{_datadir}/collectd/postgresql_default.conf

# we have disabled embedded python interpreter (well it also fails)
## %files plugin-python3
## %{_libdir}/collectd/python.so
## %{_libdir}/collectd/python.la
## %{_mandir}/man5/collectd-python.5%{ext_man}

%files plugin-virt
%{_libdir}/collectd/virt.so
%{_libdir}/collectd/virt.la

%files plugin-dbi
%{_libdir}/collectd/dbi.so
%{_libdir}/collectd/dbi.la

%files plugin-smart
%{_libdir}/collectd/smart.so
%{_libdir}/collectd/smart.la

%files plugin-lua
%{_libdir}/collectd/lua.so
%{_libdir}/collectd/lua.la
%{_mandir}/man5/collectd-lua.5%{ext_man}

%files plugin-openldap
%{_libdir}/collectd/openldap.so
%{_libdir}/collectd/openldap.la

%files -n libcollectdclient1
%{_libdir}/libcollectdclient.so.1
%{_libdir}/libcollectdclient.so.1.*.*

%files -n libcollectdclient-devel
%{_includedir}/collectd
%{_libdir}/libcollectdclient.so
%{_libdir}/pkgconfig/libcollectdclient.pc

%changelog
* Sat Dec 29 2018 fsos@dunkelziffer.win
- Rebuild from scratch using parts of
- obs::server:monitoring/collectd
- obs::home:jschanz:systemsmanagement/collectd
openSUSE Build Service is sponsored by