Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
python-pyscard
python-pyscard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyscard.spec of Package python-pyscard
# # spec file for package python-pyscard # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test %define modname pyscard Name: python-pyscard Version: 1.9.6 Release: 0 Summary: Python module adding smart card support License: LGPL-2.0+ Group: Development/Languages/Python Url: http://pyscard.sourceforge.net/ Source: https://files.pythonhosted.org/packages/source/p/pyscard/pyscard-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: pcsc-lite-devel BuildRequires: pkg-config BuildRequires: python-rpm-macros BuildRequires: swig Requires: pcsc-ccid BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description Python-pyscard consists of smartcard.scard, an extension module wrapping Windows smart card base components (also known as PCSC) on Windows and PCSC lite on linux and Mac OS X Tiger and Leopard, and smartcard, a higher level python framework built on top of the raw PCSC API. %prep %setup -q -n %{modname}-%{version} mv smartcard/doc . dos2unix LICENSE %build export CFLAGS="%{optflags}" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc ACKS ChangeLog doc LICENSE PKG-INFO README TODO %{python_sitearch}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor