David Corcoran wrote:

Thanks a bunch =)

> %define name    pcsc-lite
> %define version 0.8.7
> %define release 1
> %define prefix  /usr
> %define sysconf /etc
>
> Summary:        PCSC Lite is a Windows(R) SCard interface
> Name:           %{name}
> Version:        %{version}
> Release:        %{release}
> Copyright:      See LICENSE file
> Group:          Development/Libraries
> Source:
> http://linuxnet.com/middleware/files/%{name}-%{version}.tar.gz
> Prefix:         %{prefix}
> BuildRoot:      /var/tmp/%{name}-%{version}
>
> %description
> The purpose of PCSC Lite is to provide a Windows(R) SCard interface
> in a very small form factor for communicating to smartcards and readers.
>  PCSC Lite can be compiled directly to a desired reader driver or
> can be used to dynamically allocate/deallocate reader drivers at
> runtime (default).
>
> PCSC Lite uses the same winscard api as used under Windows(R).
>
> For security aware persons please read the SECURITY file on possible
> vulnerabilites to pcsclite, how you can fix some, and how some will
> be fixed.
>
> %package devel
> Summary:        Development for PCSC Lite SCard interface
> Group:          Development/Tools
> Requires:       %{name} = %{version}
>
> %description devel
> The purpose of PCSC Lite is to provide a Windows(R) SCard interface
> in a very small form factor for communicating to smartcards and readers.
>  PCSC Lite can be compiled directly to a desired reader driver or
> can be used to dynamically allocate/deallocate reader drivers at
> runtime (default).
>
> PCSC Lite uses the same winscard api as used under Windows(R).
>
> For security aware persons please read the SECURITY file on possible
> vulnerabilites to pcsclite, how you can fix some, and how some will
> be fixed.
>
> %prep
>
> %setup
> rm -rf $RPM_BUILD_ROOT
>
> %build
> make linux-usb
>
> %install
> install -d -m 755 $RPM_BUILD_ROOT%{sysconf}
> make -e PREFIX=$RPM_BUILD_ROOT%{prefix} SYSCONF=$RPM_BUILD_ROOT%{sysconf}
> install-linux
>
> %post
> /sbin/ldconfig
>
> %postun
> /sbin/ldconfig
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %files
> %doc AUTHORS CHANGES DRIVERS LICENSE README SECURITY docs/*
> %config(noreplace) %{sysconf}/reader.conf
> %{prefix}/bin/*
> %{prefix}/lib/*.so
>
> %files devel
> %{prefix}/include/*
>
> ###########################################################################
> %changelog
> * Fri Mar 08 2001 Mikkel K Johnsen <[EMAIL PROTECTED]>
> - Added development package
>
> *************************************************************
> David Corcoran                 Internet Security/Smartcards
>
> Home:                          Purdue University
> 1008 Cherry Lane               Department of Computer Science
> West Lafayette, IN 47906
> Home: (765) 463-0096
> Cell: (765) 532-6006
>
> http://www.linuxnet.com
>
> *************************************************************
>
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************

--
  Charles Stevenson
  Software System Engineer
  Shuffle Master Inc.



***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to