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