| 1 | Summary: Tools to be used with smart cards and PC/SC |
|---|
| 2 | Summary(ja): スマートカードおよびPC/SCを使うためのツール |
|---|
| 3 | |
|---|
| 4 | Name: pcsc-tools |
|---|
| 5 | Version: 1.4.20 |
|---|
| 6 | Release: 1%{?_dist_release} |
|---|
| 7 | |
|---|
| 8 | Group: Development/Tools |
|---|
| 9 | License: GPLv2+ |
|---|
| 10 | URL: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ |
|---|
| 11 | Source0: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/%{name}-%{version}.tar.gz |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 14 | BuildRequires: desktop-file-utils |
|---|
| 15 | BuildRequires: pcsc-lite-devel >= 1.2.9 |
|---|
| 16 | Requires: pcsc-lite |
|---|
| 17 | Requires: pcsc-perl |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | The pcsc-tools package contains some useful tools for a PC/SC user: |
|---|
| 21 | pcsc_scan regularly scans connected PC/SC smart card readers and |
|---|
| 22 | prints detected events, ATR_analysis analyzes smart card ATRs (Anwser |
|---|
| 23 | To Reset), scriptor sends commands to a smart card, and gscriptor does |
|---|
| 24 | that from a GTK user interface. |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | %prep |
|---|
| 28 | %setup -q |
|---|
| 29 | sed -i -e 's/-O2 -g/$(RPM_OPT_FLAGS)/' Makefile |
|---|
| 30 | |
|---|
| 31 | f=Changelog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | %build |
|---|
| 35 | make %{?_smp_mflags} |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %install |
|---|
| 39 | rm -rf $RPM_BUILD_ROOT |
|---|
| 40 | make install DESTDIR=$RPM_BUILD_ROOT%{_prefix} |
|---|
| 41 | desktop-file-install --vendor=fedora --mode=644 \ |
|---|
| 42 | --dir=$RPM_BUILD_ROOT%{_datadir}/applications gscriptor.desktop |
|---|
| 43 | # TODO: icon |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %clean |
|---|
| 47 | rm -rf $RPM_BUILD_ROOT |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %files |
|---|
| 51 | %defattr(-,root,root,-) |
|---|
| 52 | %doc Changelog LICENCE README TODO |
|---|
| 53 | %{_bindir}/ATR_analysis |
|---|
| 54 | %{_bindir}/gscriptor |
|---|
| 55 | %{_bindir}/pcsc_scan |
|---|
| 56 | %{_bindir}/scriptor |
|---|
| 57 | %{_datadir}/applications/*gscriptor.desktop |
|---|
| 58 | %{_datadir}/pcsc/ |
|---|
| 59 | %{_mandir}/man1/ATR_analysis.1* |
|---|
| 60 | %{_mandir}/man1/gscriptor.1* |
|---|
| 61 | %{_mandir}/man1/pcsc_scan.1* |
|---|
| 62 | %{_mandir}/man1/scriptor.1* |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | %changelog |
|---|
| 66 | * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.20-1 |
|---|
| 67 | - new upstream release |
|---|
| 68 | |
|---|
| 69 | * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.18-1 |
|---|
| 70 | - new upstream release |
|---|
| 71 | |
|---|
| 72 | * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.17-1 |
|---|
| 73 | - new upstream release |
|---|
| 74 | - build with perl-5.12.3 |
|---|
| 75 | |
|---|
| 76 | * Sun Feb 21 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.15-1 |
|---|
| 77 | - new upstream release |
|---|
| 78 | - add R: pcsc-perl |
|---|
| 79 | |
|---|
| 80 | * Mon Mar 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.14-1 |
|---|
| 81 | - initial build for Vine Linux |
|---|
| 82 | |
|---|
| 83 | * Thu Jun 5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4.14-1 |
|---|
| 84 | - upgrade to a latest upstream version |
|---|
| 85 | |
|---|
| 86 | * Sat Feb 16 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.4.12-1 |
|---|
| 87 | - 1.4.12. |
|---|
| 88 | |
|---|
| 89 | * Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.10-1 |
|---|
| 90 | - 1.4.10, desktop entry patch applied upstream. |
|---|
| 91 | |
|---|
| 92 | * Tue Aug 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.9-2 |
|---|
| 93 | - License: GPLv2+ |
|---|
| 94 | |
|---|
| 95 | * Sat Jun 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.9-1 |
|---|
| 96 | - 1.4.9. |
|---|
| 97 | - Drop Encoding key from desktop entry. |
|---|
| 98 | |
|---|
| 99 | * Sun Nov 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.8-1 |
|---|
| 100 | - 1.4.8. |
|---|
| 101 | - Drop X-Fedora desktop entry category. |
|---|
| 102 | |
|---|
| 103 | * Sun Oct 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.7-1 |
|---|
| 104 | - 1.4.7, Oct 8 smartcard_list.txt. |
|---|
| 105 | |
|---|
| 106 | * Sat Sep 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.6-1 |
|---|
| 107 | - 1.4.6, Aug 30 smartcard_list.txt. |
|---|
| 108 | - Drop pcsc-lite < 1.2.9 support. |
|---|
| 109 | |
|---|
| 110 | * Mon May 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.5-1 |
|---|
| 111 | - 1.4.5. |
|---|
| 112 | |
|---|
| 113 | * Sat Mar 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.4-1 |
|---|
| 114 | - 1.4.4. |
|---|
| 115 | |
|---|
| 116 | * Thu Mar 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.3-1 |
|---|
| 117 | - 1.4.3. |
|---|
| 118 | - Improve description. |
|---|
| 119 | |
|---|
| 120 | * Wed Mar 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.2-1 |
|---|
| 121 | - 1.4.2, desktop file, recent smartcard_list.txt, ATR_analysis message |
|---|
| 122 | patch and smartcard_list.txt lookup path improvement included upstream. |
|---|
| 123 | |
|---|
| 124 | * Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-3 |
|---|
| 125 | - Update smartcard_list.txt to 20060305. |
|---|
| 126 | - Fix some ATR_analysis messages. |
|---|
| 127 | |
|---|
| 128 | * Sat Feb 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-2 |
|---|
| 129 | - Update smartcard_list.txt to 20060205. |
|---|
| 130 | |
|---|
| 131 | * Tue Dec 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-1 |
|---|
| 132 | - Update smartcard_list.txt to 20051127 and convert it to UTF-8. |
|---|
| 133 | - Improve summary and description. |
|---|
| 134 | - Add "Application" desktop entry category for legacy distros. |
|---|
| 135 | - Drop BR: sed. |
|---|
| 136 | |
|---|
| 137 | * Sat Oct 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-0.2 |
|---|
| 138 | - Update smartcard_list.txt to 20051011. |
|---|
| 139 | - Specfile cleanups. |
|---|
| 140 | |
|---|
| 141 | * Wed Oct 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-0.1 |
|---|
| 142 | - 1.4.1, patched to compile with pcsc-lite < 1.2.9-beta4. |
|---|
| 143 | - Move smartcard_list.txt to %%{_datadir}/pcsc. |
|---|
| 144 | - Add menu entry for gscriptor. |
|---|
| 145 | |
|---|
| 146 | * Sat May 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.3.3-0.1 |
|---|
| 147 | - Rebuild for FC4. |
|---|
| 148 | |
|---|
| 149 | * Thu Jul 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.4 |
|---|
| 150 | - Requires pcsc-lite (not too useful without the daemon). |
|---|
| 151 | - Update smartcard_list.txt to 1.72. |
|---|
| 152 | |
|---|
| 153 | * Thu May 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.3 |
|---|
| 154 | - Due to use of pkg-config, BuildRequires pcsc-lite-devel >= 1.2.0 (bug 1282). |
|---|
| 155 | - Update smartcard_list.txt to 1.71 (bug 1282). |
|---|
| 156 | |
|---|
| 157 | * Wed May 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.2 |
|---|
| 158 | - Patch to get PC/SC Lite CFLAGS and libs from pkg-config. |
|---|
| 159 | - Update smartcard_list (1.70). |
|---|
| 160 | |
|---|
| 161 | * Fri Apr 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.1 |
|---|
| 162 | - Update to 1.3.3. |
|---|
| 163 | |
|---|
| 164 | * Tue Feb 10 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.2-0.fdr.2 |
|---|
| 165 | - Update smartcard_list (1.64). |
|---|
| 166 | |
|---|
| 167 | * Wed Dec 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.2-0.fdr.1 |
|---|
| 168 | - Update to 1.3.2. |
|---|
| 169 | |
|---|
| 170 | * Thu Oct 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-0.fdr.1 |
|---|
| 171 | - Update to 1.3.1. |
|---|
| 172 | |
|---|
| 173 | * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.4 |
|---|
| 174 | - Own %%{_libdir}/pcsc. |
|---|
| 175 | - Spec cleanups. |
|---|
| 176 | |
|---|
| 177 | * Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.3 |
|---|
| 178 | - Updated smartcard_list.txt (1.43). |
|---|
| 179 | |
|---|
| 180 | * Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.2 |
|---|
| 181 | - Spec cleanups. |
|---|
| 182 | |
|---|
| 183 | * Sun Jun 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.1 |
|---|
| 184 | - Update to 1.3.0. |
|---|
| 185 | |
|---|
| 186 | * Sun May 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.5-0.fdr.1 |
|---|
| 187 | - Update to 1.2.5. |
|---|
| 188 | |
|---|
| 189 | * Fri May 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.4-0.fdr.1 |
|---|
| 190 | - First build. |
|---|