Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
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 # # Copyright (c) 2011 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 %endif Version: 1.0.5 Release: 12 Group: Productivity/Security License: BSD-3-Clause ; GPL-2.0+ 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" %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