pcsc-tools-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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.15
  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 Feb 21 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.15-1
  51. - new upstream release
  52. - add R: pcsc-perl
  53. * Mon Mar 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.14-1
  54. - initial build for Vine Linux
  55. * Thu Jun 5 2008 Tomas Mraz <tmraz@redhat.com> - 1.4.14-1
  56. - upgrade to a latest upstream version
  57. * Sat Feb 16 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.4.12-1
  58. - 1.4.12.
  59. * Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.10-1
  60. - 1.4.10, desktop entry patch applied upstream.
  61. * Tue Aug 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.9-2
  62. - License: GPLv2+
  63. * Sat Jun 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.9-1
  64. - 1.4.9.
  65. - Drop Encoding key from desktop entry.
  66. * Sun Nov 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.8-1
  67. - 1.4.8.
  68. - Drop X-Fedora desktop entry category.
  69. * Sun Oct 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.7-1
  70. - 1.4.7, Oct 8 smartcard_list.txt.
  71. * Sat Sep 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.6-1
  72. - 1.4.6, Aug 30 smartcard_list.txt.
  73. - Drop pcsc-lite < 1.2.9 support.
  74. * Mon May 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.5-1
  75. - 1.4.5.
  76. * Sat Mar 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.4-1
  77. - 1.4.4.
  78. * Thu Mar 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.3-1
  79. - 1.4.3.
  80. - Improve description.
  81. * Wed Mar 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.2-1
  82. - 1.4.2, desktop file, recent smartcard_list.txt, ATR_analysis message
  83. patch and smartcard_list.txt lookup path improvement included upstream.
  84. * Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-3
  85. - Update smartcard_list.txt to 20060305.
  86. - Fix some ATR_analysis messages.
  87. * Sat Feb 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-2
  88. - Update smartcard_list.txt to 20060205.
  89. * Tue Dec 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-1
  90. - Update smartcard_list.txt to 20051127 and convert it to UTF-8.
  91. - Improve summary and description.
  92. - Add "Application" desktop entry category for legacy distros.
  93. - Drop BR: sed.
  94. * Sat Oct 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-0.2
  95. - Update smartcard_list.txt to 20051011.
  96. - Specfile cleanups.
  97. * Wed Oct 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.1-0.1
  98. - 1.4.1, patched to compile with pcsc-lite < 1.2.9-beta4.
  99. - Move smartcard_list.txt to %%{_datadir}/pcsc.
  100. - Add menu entry for gscriptor.
  101. * Sat May 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.3.3-0.1
  102. - Rebuild for FC4.
  103. * Thu Jul 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.4
  104. - Requires pcsc-lite (not too useful without the daemon).
  105. - Update smartcard_list.txt to 1.72.
  106. * Thu May 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.3
  107. - Due to use of pkg-config, BuildRequires pcsc-lite-devel >= 1.2.0 (bug 1282).
  108. - Update smartcard_list.txt to 1.71 (bug 1282).
  109. * Wed May 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.2
  110. - Patch to get PC/SC Lite CFLAGS and libs from pkg-config.
  111. - Update smartcard_list (1.70).
  112. * Fri Apr 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.3-0.fdr.1
  113. - Update to 1.3.3.
  114. * Tue Feb 10 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.2-0.fdr.2
  115. - Update smartcard_list (1.64).
  116. * Wed Dec 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.2-0.fdr.1
  117. - Update to 1.3.2.
  118. * Thu Oct 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-0.fdr.1
  119. - Update to 1.3.1.
  120. * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.4
  121. - Own %%{_libdir}/pcsc.
  122. - Spec cleanups.
  123. * Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.3
  124. - Updated smartcard_list.txt (1.43).
  125. * Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.2
  126. - Spec cleanups.
  127. * Sun Jun 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.1
  128. - Update to 1.3.0.
  129. * Sun May 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.5-0.fdr.1
  130. - Update to 1.2.5.
  131. * Fri May 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.4-0.fdr.1
  132. - First build.