OBS User unknown
2009-08-07 13:41:50 +00:00
committed by Git OBS Bridge
parent ac2aa58f55
commit 60f4736641
9 changed files with 32 additions and 347 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package pcsc-lite (Version 1.5.3)
# spec file for package pcsc-lite (Version 1.5.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -22,8 +22,8 @@ Name: pcsc-lite
# FIXME: Maybe we should use /usr/lib/pcsc/drivers as others do:
%define ifddir %{_libdir}/readers
BuildRequires: hal-devel pkg-config readline-devel
Version: 1.5.3
Release: 2
Version: 1.5.5
Release: 1
PreReq: %{insserv_prereq} %{fillup_prereq}
Group: Productivity/Security
License: BSD 3-clause (or similar)
@@ -33,14 +33,7 @@ Source: %{name}-%{version}.tar.bz2
Source1: %{name}.sysconfig
Source2: README.SUSE
Source3: pre_checkin.sh
Patch: pcsc-lite-musclecard.patch
Patch1: pcsc-lite-init.patch
# PATCH-FIX-UPSTREAM pcsc-lite-overflow.patch bnc499734 sbrabec@suse.cz -- Fix possible buffer overflows.
Patch2: pcsc-lite-overflow.patch
# PATCH-FIX-UPSTREAM pcsc-lite-strict-aliasing.patch sbrabec@suse.cz -- Strict aliasing fix.
Patch3: pcsc-lite-strict-aliasing.patch
# PATCH-FIX-UPSTREAM pcsc-lite-strict-aliasing.patch bnc466211 sbrabec@suse.cz -- Fix permissions of /var/run/pcscd.
Patch4: pcsc-lite-permissions.patch
Requires: libpcsclite1 >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -125,16 +118,11 @@ Authors:
%prep
%setup -q
# Ensure that Apple Public Source License Version 1.1 does not apply:
cp -a %{S:1} %{S:2} .
%patch
%patch1
%patch2 -p2
%patch3
%patch4 -p2
%build
%if %suse_version > 1010
%if %suse_version > 1110
ACLOCAL="aclocal -I m4" autoreconf -f -i
%endif
%configure\