Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
pcsc-gempc
pcsc-gempc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pcsc-gempc.spec of Package pcsc-gempc
# # spec file for package pcsc-gempc (Version 1.0.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, 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/ # # norootforbuild Name: pcsc-gempc %define _name ifd-gempc BuildRequires: pcsc-lite-devel pkg-config %if %suse_version > 1020 BuildRequires: libusb-devel licenses %endif Version: 1.0.5 Release: 1 Group: Productivity/Security License: BSD 3-clause (or similar) ; GPL v2 or later Url: http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/ Summary: PCSC driver for the Gemplus GemPC 410/430 smartcard readers Source: %{_name}-%{version}.tar.bz2 Patch: %{_name}-1.0.0-devname.diff Patch1: %{_name}-1.0.0-makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: pcsc-lite Supplements: modalias(usb:v08E6p0430d*dc*dsc*dp*ic*isc*ip*) Supplements: modalias(usb:v08E6p0432d*dc*dsc*dp*ic*isc*ip*) Supplements: modalias(usb:v08E6p0435d*dc*dsc*dp*ic*isc*ip*) %define ifddir %(pkg-config libpcsclite --variable=usbdropdir) %description This package contains a driver for the GemPC 410 and GemPC 430 smart card readers produced by Gemplus. This driver is meant to be used with the PCSC-Lite daemon from the pcsc-lite package. Authors: -------- Ludovic Rousseau <ludovic.rousseau@free.fr> Jean-Luc Giraud <jlgiraud@mac.com> %prep %setup -q -n %{_name}-%{version} %patch %patch1 mv README.410 README_410 mv README.430 README_430 for DIR in GemPC410 GemPC430 ; do for FILE in $DIR/COPYING* $DIR/TODO* ; do SUFFIX=.${FILE##*.} if test "$SUFFIX" = ".$FILE" ; then SUFFIX= fi mv $FILE ${FILE%.*}${DIR#GemPC}$SUFFIX done done %build # This package failed when testing with -Wl,-as-needed being default. # So we disable it here, if you want to retest, just delete this comment and the line below. export SUSE_ASNEEDED=0 make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS" %if %suse_version > 1020 for FILE in Gem*/COPYING* ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done %endif %install # This package failed when testing with -Wl,-as-needed being default. # So we disable it here, if you want to retest, just delete this comment and the line below. export SUSE_ASNEEDED=0 %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changelog README* Gem*/COPYING* Gem*/TODO* %{ifddir}/ifd* %{ifddir}/serial/* # FIXME: Maybe should be a part of pcsc-lite: %dir %{ifddir}/serial %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