diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 16:46:06 +0200 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2013-04-28 16:46:06 +0200 |
commit | 828d943c0544b8dfc06d2055373aad791af72d09 (patch) | |
tree | 161082d38be7ad9eb1601d58f20d325e2089b21d | |
parent | a67403b1d335191577296f479947f828a7fe35e7 (diff) | |
download | collectd-828d943c0544b8dfc06d2055373aad791af72d09.tar.gz collectd-828d943c0544b8dfc06d2055373aad791af72d09.tar.xz collectd-828d943c0544b8dfc06d2055373aad791af72d09.zip |
Move curl plugins to sub-packages
-rw-r--r-- | collectd.spec | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/collectd.spec b/collectd.spec index 660e203..627d59d 100644 --- a/collectd.spec +++ b/collectd.spec @@ -23,9 +23,6 @@ Source97: rrdtool.conf Patch0: %{name}-include-collectd.d.patch -BuildRequires: libxml2-devel -BuildRequires: curl-devel -BuildRequires: yajl-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Embed) BuildRequires: python-devel @@ -65,11 +62,42 @@ This plugin collects data provided by Apache's 'mod_status'. Summary: Ascent plugin for collectd Group: System Environment/Daemons Requires: collectd = %{version}-%{release} +BuildRequires: curl-devel +BuildRequires: libxml2-devel %description ascent This plugin collects data about an Ascent server, a free server for the "World of Warcraft" game. +%package curl +Summary: Curl plugin for collectd +Group: System Environment/Daemons +Requires: collectd = %{version}-%{release} +BuildRequires: curl-devel +%description curl +This plugin reads webpages with curl + + +%package curl_json +Summary: Curl JSON plugin for collectd +Group: System Environment/Daemons +Requires: collectd = %{version}-%{release} +BuildRequires: curl-devel +BuildRequires: yajl-devel +%description curl_json +This plugin retrieves JSON data via curl. + + +%package curl_xml +Summary: Curl XML plugin for collectd +Group: System Environment/Daemons +Requires: collectd = %{version}-%{release} +BuildRequires: curl-devel +BuildRequires: libxml2-devel +%description curl_xml +This plugin retrieves XML data via curl. + + %package dbi Summary: DBI plugin for collectd Group: System Environment/Daemons @@ -324,6 +352,7 @@ Summary: Libvirt plugin for collectd Group: System Environment/Daemons Requires: collectd = %{version}-%{release} BuildRequires: libvirt-devel +BuildRequires: libxml2-devel %description virt This plugin collects information from virtualized guests. %endif @@ -509,9 +538,6 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la %{_libdir}/collectd/cpu.so %{_libdir}/collectd/cpufreq.so %{_libdir}/collectd/csv.so -%{_libdir}/collectd/curl.so -%{_libdir}/collectd/curl_json.so -%{_libdir}/collectd/curl_xml.so %{_libdir}/collectd/df.so %{_libdir}/collectd/disk.so %{_libdir}/collectd/entropy.so @@ -609,6 +635,18 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la %{_libdir}/collectd/ascent.so +%files curl +%{_libdir}/collectd/curl.so + + +%files curl_json +%{_libdir}/collectd/curl_json.so + + +%files curl_xml +%{_libdir}/collectd/curl_xml.so + + %files dbi %{_libdir}/collectd/dbi.so |