From 1e7e115cfbf62e1f83be2ae8818358fcdf63fc24 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Feb 18 2009 21:28:40 +0000 Subject: First import --- diff --git a/.cvsignore b/.cvsignore index e69de29..73a9714 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +python-linux-procfs-0.4.4.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..175a449 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-linux-procfs-0_4_4-1_fc10:HEAD:python-linux-procfs-0.4.4-1.fc10.src.rpm:1234992406 diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec new file mode 100644 index 0000000..446090e --- /dev/null +++ b/python-linux-procfs.spec @@ -0,0 +1,63 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} + +Name: python-linux-procfs +Version: 0.4.4 +Release: 1%{?dist} +License: GPLv2 +Summary: Linux /proc abstraction classes +Group: System Environment/Libraries +Source: http://userweb.kernel.org/~acme/python-linux-procfs/%{name}-%{version}.tar.bz2 +URL: http://userweb.kernel.org/~acme/python-linux-procfs +BuildArch: noarch +BuildRequires: python-devel +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +%description +Abstractions to extract information from the Linux kernel /proc files. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(0755,root,root,0755) +%{python_sitelib}/procfs/ +%defattr(0644,root,root,0755) +%if "%{python_ver}" >= "2.5" +%{python_sitelib}/*.egg-info +%endif +%doc COPYING + +%changelog +* Mon Feb 10 2009 Arnaldo Carvalho de Melo - 0.4.4-1 +- Even more fixes due to the fedora review process + +* Mon Feb 9 2009 Arnaldo Carvalho de Melo - 0.4.3-1 +- Fixups due to the fedora review process + +* Tue Aug 12 2008 Arnaldo Carvalho de Melo - 0.4.2-1 +- interrupts: Add find_by_user_regex +- process: Always set the "cmdline" array, even if empty +- pidstats: Remove dead processes in find_by_name() +- pidstats: Add process class to catch dict references for late parsing +- pidstats: Move the /proc/PID/{stat,status} parsing to classes +- pidstats: Introduce process_flags method + +* Tue Aug 12 2008 Arnaldo Carvalho de Melo - 0.4-1 +- Per process flags needed by tuna + +* Fri Jun 13 2008 Arnaldo Carvalho de Melo - 0.3-1 +- Support CPU hotplug + +* Mon Feb 25 2008 Arnaldo Carvalho de Melo - 0.1-1 +- package created diff --git a/sources b/sources index e69de29..1d73bbb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7209283a013e3358bad7dc4c3b19c109 python-linux-procfs-0.4.4.tar.bz2