public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10: Added pyscard
Date: Fri, 21 Aug 2026 02:56:35 GMT	[thread overview]
Message-ID: <178728099515.1.8639326316127399285.rpms-pyscard-377436586f44@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pyscard
Branch : epel10
Commit : 377436586f442f3b9e04535e811d47704ae30b11
Author : Nikos Mavrogiannopoulos <nmav@redhat.com>
Date   : 2014-08-11T14:40:47+02:00
Stats  : +64/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/pyscard/c/377436586f442f3b9e04535e811d47704ae30b11?branch=epel10

Log:
Added pyscard

---
diff --git a/.gitignore b/.gitignore
index e69de29..cb3c80f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyscard-1.6.16.tar.gz

diff --git a/pyscard.spec b/pyscard.spec
new file mode 100644
index 0000000..6259daa
--- /dev/null
+++ b/pyscard.spec
@@ -0,0 +1,62 @@
+Name:           pyscard
+Version:        1.6.16
+Release:        2%{?dist}
+Summary:        A framework for building smart card aware applications in Python
+
+Group:          Development/Libraries
+
+# The entire source code is LGPLv2+ except for ClassLoader.py (Python),
+# and Synchronization.py, Observer.py (CC-BY-SA 3.0), according to
+# http://sourceforge.net/p/pyscard/code/619/
+
+License:        LGPLv2+ and Python and CC-BY-SA
+URL:            http://ludovicrousseau.blogspot.cz/2014/07/pyscard-unofficial-version-1616.html
+Source0:        http://ludovic.rousseau.free.fr/softwares/pcsc-lite/%{name}-%{version}.tar.gz
+
+BuildRequires:  python2-devel
+BuildRequires:  pcsc-lite-devel
+BuildRequires:  swig >= 1.3.31
+Requires:       pcsc-lite
+
+%description
+The pyscard smartcard library is a framework for building smart card aware 
+applications in Python. The smartcard module is built on top of the PCSC API 
+Python wrapper module.
+
+%prep
+%setup -q
+# license file is CRLF terminated -- prevent a rpmlint warning
+sed -i 's/\r//' LICENSE
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+chmod 755 %{buildroot}%{python_sitearch}/smartcard/scard/_scard.so
+
+%files
+%license LICENSE
+%doc README
+%doc smartcard/doc/*
+%{python_sitearch}/smartcard/
+%{python_sitearch}/%{name}-%{version}-py*.egg-info 
+
+%changelog
+* Fri Aug 08 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> 1.6.16-2
+- Clarified licenses.
+
+* Fri Aug 01 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> 1.6.16-1
+- New (unofficial) release.
+
+* Fri Jan 21 2011 Andrew Elwell <andrew.elwell@gmail.com> 1.6.12-4
+- Rebuilt to address comments in package review (bug #663102)
+
+* Fri Jan 14 2011 Andrew Elwell <andrew.elwell@gmail.com> 1.6.12-3
+- Added missing BuildRequres on swig.
+
+* Thu Dec 16 2010 Andrew Elwell <andrew.elwell@gmail.com> 1.6.12-2
+- Corrected CFLAGS in build.
+
+* Tue Dec 14 2010 Andrew Elwell <andrew.elwell@gmail.com> 1.6.12-1
+- Initial package of 1.6.12 from upstream.

diff --git a/sources b/sources
index e69de29..63f9a07 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d472530735f24e23e7278e2e6c4f87e4  pyscard-1.6.16.tar.gz

                 reply	other threads:[~2026-08-21  2:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178728099515.1.8639326316127399285.rpms-pyscard-377436586f44@fedoraproject.org \
    --to=nmav@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox