File python-ctypeslib.spec of Package python-ctypeslib
# norootforbuild
Name: python-ctypeslib
Version: 0.5.4a
Release: 1
Summary: Useful additions to the ctypes FFI library
License: MIT
Group: Development/Libraries/Python
Source: ctypeslib-%{version}.tar.gz
URL: http://pypi.python.org/pypi/ctypeslib
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
ctypeslib contains these packages:
- ctypeslib.codegen - a code generator;
- ctypeslib.contrib - various contributed modules;
- ctypeslib.util - assorted small helper functions;
- ctypeslib.test - unittests.
Author:
--------
Thomas Heller <theller@ctypes.org>
%prep
%setup -q -n ctypeslib-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)