Skip to content

Commit

Permalink
Initial package.
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed May 29, 2018
1 parent 973169b commit 7f0e9d4
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/collectd-cvmfs-1.0.2.tar.gz
3 changes: 0 additions & 3 deletions README.md

This file was deleted.

51 changes: 51 additions & 0 deletions python-collectd_cvmfs.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Created by pyp2rpm-3.3.2
%global pypi_name collectd_cvmfs

Name: python-%{pypi_name}
Version: 1.0.2
Release: 1%{?dist}
Summary: Collectd plugin to monitor CvmFS Clients

License: ASL 2.0
URL: https://github.com/cvmfs/collectd-cvmfs
Source0: https://github.com/cvmfs/collectd-cvmfs/archive/%{version}/collectd-cvmfs-%{version}.tar.gz
BuildArch: noarch

BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)

%description
Collectd module for CvmFS clients

%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires: python3dist(psutil)
Requires: python3dist(pyxattr)
Requires: collectd-python
%description -n python3-%{pypi_name}
Collectd module for CvmFS clients


%prep
%autosetup -n collectd-cvmfs-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%doc README.rst NEWS.txt
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{_prefix}/share/collectd/%{pypi_name}.db

%changelog
* Fri May 25 2018 Steve Traylen <[email protected]> - 1.0.1-1
- Initial package.
1 change: 1 addition & 0 deletions sources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SHA512 (collectd-cvmfs-1.0.2.tar.gz) = 4200a55988b7388eb8be5cfc3e8838bd7155abf576f7583dc18166693e1aee248065502bbc56b99fe5552a963e3b34aeb12acc7df14dd01136d06e74b5c7de97

0 comments on commit 7f0e9d4

Please sign in to comment.