Author: qboosh                       Date: Mon Feb 20 21:34:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0
- disable libsysfs by default (not ready for 2.0.0)

---- Files affected:
SPECS:
   libchipcard2.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libchipcard2.spec
diff -u SPECS/libchipcard2.spec:1.1 SPECS/libchipcard2.spec:1.2
--- SPECS/libchipcard2.spec:1.1 Tue Jan 17 15:45:14 2006
+++ SPECS/libchipcard2.spec     Mon Feb 20 22:34:49 2006
@@ -1,21 +1,26 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    sysfs   # use sysfs to scan for ttyUSB
+#
 Summary:       A library for easy access to smart cards (chipcards)
 Summary(pl):   Biblioteka do łatwego dostępu do kart procesorowych
 Name:          libchipcard2
-# "beta" is constant suffix added to all releases before stable version,
-# no need to move it to release - there won't be 1.9.19 non-beta release
-Version:       1.9.19beta
+Version:       2.0
 Release:       1
 License:       GPL v2 with OpenSSL linking exception
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/libchipcard/%{name}-%{version}.tar.gz
-# Source0-md5: c8f3e08474a893890c4d221288c9e7a6
+# Source0-md5: 7c76464250ca49522c753f305c450b1b
 URL:           http://www.libchipcard.de/
-BuildRequires: gwenhywfar-devel >= 1.99.1
+BuildRequires: gwenhywfar-devel >= 1.99.5
 BuildRequires: libusb-devel
 BuildRequires: opensc-devel >= 0.9.4
 BuildRequires: pkgconfig
-BuildRequires: sysfsutils-devel
+%if %{with sysfs}
+BuildRequires: sysfsutils-devel >= 1.3.0-3
+BuildRequires: sysfsutils-devel < 2.0
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,9 +47,9 @@
 Summary(pl):   Pliki programistyczne serwera libchipcard
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      gwenhywfar-devel >= 1.99.1
+Requires:      gwenhywfar-devel >= 1.99.5
 Requires:      libusb-devel
-Requires:      sysfsutils-devel
+%{?with_sysfs:Requires:        sysfsutils-devel >= 1.3.0-3}
 
 %description devel
 This package contains chipcard2-server-config and header files for
@@ -62,6 +67,7 @@
 %build
 # pcmcia code needs fix to use userspace headers
 %configure \
+       %{!?with_sysfs:ac_cv_header_sysfs_libsysfs_h=no} \
        --with-kernel-sources=/usr
 
 %{__make}
@@ -143,5 +149,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/02/20 21:34:49  qboosh
+- updated to 2.0
+- disable libsysfs by default (not ready for 2.0.0)
+
 Revision 1.1  2006/01/17 14:45:14  qboosh
 - new, needs DEVEL gwenhywfar
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libchipcard2.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to