Package pcsc-lite: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | # undefine XXX__libtoolize # %define unstable 1 %def_disable static Name: pcsc-lite Version: 1.5.5 Release: alt1 Group: System/Servers Summary: Muscle PCSC Framework for Linux License: %bsd URL: http://pcsclite.alioth.debian.org/ Source0: pcsc-lite-%version.tar Patch: %name-%version-%release.patch Source1: pcscd.startup Source2: pcsc-lite-pcscd.sysconfig Conflicts: libpcsclite < %version-%release Conflicts: libpcsclite > %version-%release # Automatically added by buildreq on Thu Sep 10 2009 BuildRequires: flex libhal-devel tetex-latex BuildRequires: rpm-build-licenses %if_enabled static BuildRequires: glibc-devel-static %endif %description pcscd is the daemon program for PC/SC Lite. It is a resource manager that coorinates communications with Smart Card readers and Smart Cards that are connected to the system. 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 uses the same winscard api as used under Windows(R) This package contains daemon program for PC/SC Lite %package -n libpcsclite Group: System/Libraries Summary: Libraries for pcscd # %description -n libpcsclite Libraries for pcscd. pcscd is the daemon program for PC/SC Lite. It is a resource manager that coorinates communications with Smart Card readers and Smart Cards that are connected to the system. 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 uses the same winscard api as used under Windows(R) %package -n libpcsclite-devel Group: Development/C Summary: Haeders and other development files for libpcsclite Requires: libpcsclite = %version-%release # %description -n libpcsclite-devel Haeders and other development files for libpcsclite %package -n libpcsclite-devel-static Group: Development/C Summary: Static libraries for libpcsclite Requires: libpcsclite-devel = %version-%release # %description -n libpcsclite-devel-static Static libraries for libpcsclite %prep %setup -q %patch -p1 %build %autoreconf %configure \ %{subst_enable static} \ --enable-debugatr \ --enable-confdir=%_sysconfdir \ --enable-ipcdir=/var/run/pcscd \ --enable-usbdropdir=%_libdir/pcsc/drivers \ --enable-scf \ # %make_build # pdf %make_build -C doc pcsc-lite.pdf ifdhandler-3.pdf %install %makeinstall_std mkdir -p %buildroot/%_initdir/ install -m 755 %SOURCE1 %buildroot/%_initdir/pcscd mkdir -p %buildroot/%_sysconfdir/sysconfig install -m 644 %SOURCE2 %buildroot/%_sysconfdir/sysconfig/pcscd mkdir -p %{buildroot}%{_sysconfdir}/reader.conf.d cat <<__EOF__ >%buildroot/%_sysconfdir/reader.conf # Put configs to %_sysconfdir/reader.conf.d/ # Execute %_sbindir/update-reader.conf __EOF__ mkdir -p %buildroot/var/run/pcscd mkdir -p %buildroot%_libdir/pcsc/drivers %files %doc AUTHORS COPYING DRIVERS HELP NEWS README SECURITY TODO %config(noreplace) %_sysconfdir/reader.conf %dir %_sysconfdir/reader.conf.d/ %config(noreplace) %_sysconfdir/reader.conf.d/reader.conf %config(noreplace) %_sysconfdir/sysconfig/pcscd %_initdir/pcscd %_sbindir/pcscd %_sbindir/update-reader.conf %_mandir/*/* %dir %_libdir/pcsc %dir %_libdir/pcsc/drivers %dir /var/run/pcscd %files -n libpcsclite %_libdir/libpcsclite.so.* %files -n libpcsclite-devel %doc ChangeLog doc/pcsc-lite.pdf doc/ifdhandler-3.pdf %_libdir/libpcsclite.so %_includedir/PCSC/ %_libdir/pkgconfig/libpcsclite.pc %if_enabled static %files -n libpcsclite-devel-static %_libdir/libpcsclite.a %endif %changelog * Thu Sep 10 2009 Alexey I. Froloff <raorn@altlinux.org> 1.5.5-alt1 - [1.5.5] (closes: #21489) - Dropped testpcsc (test tool) - IPC directory moved to /var/run/pcscd - Packaged driver directory * Tue Apr 28 2009 Andriy Stepanov <stanv@altlinux.ru> 1.5.2-alt1 - New version * Thu Jan 17 2008 Sergey V Turchin <zerg at altlinux dot org> 1.4.4-alt3 - fix initscript daemon startup options (#14023) * Mon Oct 01 2007 Sergey V Turchin <zerg at altlinux dot org> 1.4.4-alt2 - add description to initscript * Wed Sep 05 2007 Sergey V Turchin <zerg at altlinux dot org> 1.4.4-alt1 - new version * Mon Jul 03 2006 Sergey V Turchin <zerg at altlinux dot org> 1.3.1-alt1 - new version * Tue Feb 01 2005 Sergey V Turchin <zerg at altlinux dot org> 1.2.0-alt2 - fix default /etc/sysconfig/pcscd * Mon Oct 11 2004 Sergey V Turchin <zerg at altlinux dot org> 1.2.0-alt1 - new version * Tue Apr 06 2004 Sergey V Turchin <zerg at altlinux dot org> 1.1.1-alt5 - add patches from PLD * Mon Dec 01 2003 Sergey V Turchin <zerg at altlinux dot org> 1.1.1-alt4 - remove *.la * Mon Sep 29 2003 Sergey V Turchin <zerg at altlinux dot org> 1.1.1-alt3 - move config to %_sysconfdir - fix build requires - WITHOUT_RC_COMPAT=1 in initscript * Thu Oct 24 2002 Sergey V Turchin <zerg@altlinux.ru> 1.1.1-alt2 - fix requires * Tue Oct 22 2002 Sergey V Turchin <zerg@altlinux.ru> 1.1.1-alt1 - initial spec |