Blob Blame History Raw
%global forgeurl

Name:           python-collectd_cvmfs
Version:        1.3.3
%global tag     %{version}
Release:        %autorelease
Summary:        Collectd plugin to monitor CvmFS Clients

License:        Apache-2.0
URL:            %{forgeurl}
Source0:        %{forgesource}
BuildArch:      noarch
BuildRequires:  python3-devel
# For import in checks
BuildRequires:  collectd-python

%global _description %{expand:
Collectd module for CvmFS clients. Reports time to mount as well as
other parameters vailable from the extended attributes of a CvmFS file

%description %_description

%package -n     python3-collectd_cvmfs
Summary:        %{summary}
Requires:       collectd-python

%description -n python3-collectd_cvmfs %_description


%pyproject_buildrequires  -t



mkdir -p %{buildroot}%{_datadir}/collectd
mv %{buildroot}%{python3_sitelib}%{_datadir}/collectd/collectd_cvmfs.db %{buildroot}%{_datadir}/collectd/collectd_cvmfs.db

%pyproject_save_files collectd_cvmfs


%files -n python3-collectd_cvmfs -f %{pyproject_files}
%license LICENSE