From 96c553ba19106e09dfa25d2d9d55eff057bb9435 Mon Sep 17 00:00:00 2001 From: Ratnadeep Debnath Date: Aug 27 2015 15:42:21 +0000 Subject: statscache-plugins v0.0.1-1 --- diff --git a/.gitignore b/.gitignore index e69de29..d770d14 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/statscache_plugins-0.0.1.tar.gz diff --git a/sources b/sources index e69de29..26b41d0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +38a92f10566647aed021ce38faec3423 statscache_plugins-0.0.1.tar.gz diff --git a/statscache-plugins.spec b/statscache-plugins.spec new file mode 100644 index 0000000..08148f3 --- /dev/null +++ b/statscache-plugins.spec @@ -0,0 +1,45 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?pyver: %global pyver %(%{__python} -c "import sys ; print sys.version[:3]")} + +%global modname statscache_plugins + + +Name: statscache-plugins +Version: 0.0.1 +Release: 1%{?dist} +Summary: Plugins for statscache daemon +Group: Applications/Internet +License: LGPLv2+ +URL: http://github.com/fedora-infra/statscache_plugins +Source0: https://rtnpro.fedorapeople.org/statscache_plugins-0.0.1.tar.gz + +BuildArch: noarch + +BuildRequires: statscache-common +Requires: statscache-common + +%description +Plugins for statscache daemon. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%{__python} setup.py build + +%check +PYTHONPATH=$(pwd) python setup.py test + +%install +%{__python} setup.py install -O1 --skip-build \ + --install-data=%{_datadir} --root %{buildroot} + +%files +%doc README.rst COPYING COPYING.LESSER + +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-%{version}-py%{pyver}.egg-info/ + +%changelog +* Tue Jun 23 2015 Ratnadeep Debpnath - 0.0.1-1 +- Initial packaging.