rpms/python-openhpi/devel python-openhpi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dan Horak (sharkcz)
fedora-extras-commits at redhat.com
Mon Apr 28 08:51:46 UTC 2008
Author: sharkcz
Update of /cvs/pkgs/rpms/python-openhpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30959
Modified Files:
.cvsignore sources
Added Files:
python-openhpi.spec
Log Message:
initial import
--- NEW FILE python-openhpi.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define srcname py-openhpi
Name: python-openhpi
Version: 1.1
Release: 1%{?dist}
Summary: Python interface for OpenHPI
Group: Development/Languages
License: BSD
URL: http://www.openhpi.org
Source0: http://downloads.sourceforge.net/openhpi/%{srcname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, swig, glib2-devel, openhpi-devel >= 2.10
%description
An extension module that makes it possible to access
HPI api functions and structures from the Python language.
It supports everything that is exposed through SaHpi.h,
SaHpiAtca.h, SaHpiBladeCenter.h, oHpi.h, and oh_utils.h.
%prep
%setup -q -n %{srcname}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/*.so
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%{python_sitearch}/*
%changelog
* Fri Apr 18 2008 Dan Horak <dan[at]danny.cz> 1.1-1
- initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-openhpi/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 25 Apr 2008 18:50:39 -0000 1.1
+++ .cvsignore 28 Apr 2008 08:51:11 -0000 1.2
@@ -0,0 +1 @@
+py-openhpi-1.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-openhpi/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 25 Apr 2008 18:50:39 -0000 1.1
+++ sources 28 Apr 2008 08:51:11 -0000 1.2
@@ -0,0 +1 @@
+37cf9b0f2b22fea67c54cb6b638a1b27 py-openhpi-1.1.tar.gz
More information about the fedora-extras-commits
mailing list