Group :: Development/Python
RPM: python-module-utmp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname python-utmp
Name: python-module-utmp
Version: 0.7
Release: alt1.1
Summary: Python module for working with utmp
License: GPL
Group: Development/Python
Url: http://melkor.dnp.fmph.uniba.sk/~garabik/python-utmp/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://melkor.dnp.fmph.uniba.sk/~garabik/python-utmp/python-utmp_%version.tar.bz2
Patch: %name.patch
# Automatically added by buildreq on Wed Jan 16 2008
BuildRequires: python-devel
%description
This package provides 3 python modules to access utmp and wtmp
records. utmpaccess is lowlevel module wrapping glibc functions,
UTMPCONST provides useful constants, and utmp is module build on top
of utmpaccess module, providing object oriented interface.
%prep
%setup -n %oname-%version
%patch
%build
%make_build -f Makefile.glibc \
PYTHONVER="%__python_version" \
PYTHONDIR="%python_sitelibdir"
%install
%makeinstall -f Makefile.glibc \
PYTHONVER="%__python_version" \
PYTHONDIR="%buildroot%python_sitelibdir"
%files
%doc README TODO examples/*
%python_sitelibdir/*
%changelog
…
Full changelog you can see here
Name: python-module-utmp
Version: 0.7
Release: alt1.1
Summary: Python module for working with utmp
License: GPL
Group: Development/Python
Url: http://melkor.dnp.fmph.uniba.sk/~garabik/python-utmp/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://melkor.dnp.fmph.uniba.sk/~garabik/python-utmp/python-utmp_%version.tar.bz2
Patch: %name.patch
# Automatically added by buildreq on Wed Jan 16 2008
BuildRequires: python-devel
%description
This package provides 3 python modules to access utmp and wtmp
records. utmpaccess is lowlevel module wrapping glibc functions,
UTMPCONST provides useful constants, and utmp is module build on top
of utmpaccess module, providing object oriented interface.
%prep
%setup -n %oname-%version
%patch
%build
%make_build -f Makefile.glibc \
PYTHONVER="%__python_version" \
PYTHONDIR="%python_sitelibdir"
%install
%makeinstall -f Makefile.glibc \
PYTHONVER="%__python_version" \
PYTHONDIR="%buildroot%python_sitelibdir"
%files
%doc README TODO examples/*
%python_sitelibdir/*
%changelog
…
Full changelog you can see here