pcsc-tools-vl.spec 5.8 KB

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