File python-pcsclite.spec of Package python-pcsclite

#
# spec file for package python-pcsclite
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python-pcsclite
Version:        0.14
Release:        0
Summary:        Python module wrapper for libpcsclite
License:        AGPL-3.0+
Group:          Productivity/Telephony/Utilities
Url:            http://python-pcsclite.sourceforge.net/
Source:         http://sourceforge.net/projects/python-pcsclite/files/python-pcsclite-%{version}.tar.gz
BuildRequires:  pkgconfig
BuildRequires:  python-Sphinx
BuildRequires:  python-devel
BuildRequires:  pkgconfig(libpcsclite)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PCSC lite is an I/O library for smart cards.  This package provides
the Python bindings for the PCSC lite libaray, thus letting you write
smart card applications in Python.

%prep
%setup -q

%build
cd src
python setup.py build

%install
cd src
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog.txt README.txt
%doc doc
%{python_sitearch}/*

%changelog
openSUSE Build Service is sponsored by