libusb1-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Summary: A library which allows userspace access to USB devices
  2. Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
  3. Name: libusb1
  4. Version: 1.0.8
  5. Release: 1%{?_dist_release}
  6. Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
  7. License: LGPLv2+
  8. Group: System Environment/Libraries
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. URL: http://libusb.wiki.sourceforge.net/Libusb1.0
  11. ExcludeArch: s390 s390x
  12. BuildRequires: doxygen
  13. %description
  14. This package provides a way for applications to access USB devices. Note that
  15. this library is not compatible with the original libusb-0.1 series.
  16. %description -l ja
  17. このパッケージはアプリケーションが USB デバイスにアクセスする方法を提供します。
  18. このライブラリはオリジナルの libusb-0.1 シリーズと互換性がないことに注意してください。
  19. %package devel
  20. Summary: Development files for libusb
  21. Summary(ja): libusb の開発ファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig
  25. %description devel
  26. This package contains the header files, libraries and documentation needed to
  27. develop applications that use libusb1.
  28. %description devel -l ja
  29. このパッケージは libusb1 を使うアプリケーションを開発するために
  30. 必要なヘッダファイル、ライブラリ、ドキュメントを含んでいます。
  31. %package static
  32. Summary: Static development files for libusb
  33. Summary(ja): libusb の静的開発ファイル
  34. Group: Development/Libraries
  35. Requires: %{name}-devel = %{version}-%{release}
  36. %description static
  37. This package contains static libraries to develop applications that use libusb1.
  38. %description static -l ja
  39. このパッケージは libusb1 を使うアプリケーションを開発するための
  40. 静的ライブラリを含んでいます。
  41. %prep
  42. %setup -q -n libusb-%{version}
  43. %build
  44. %configure
  45. make CFLAGS="$RPM_OPT_FLAGS"
  46. pushd doc
  47. make docs
  48. popd
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-,root,root)
  59. %doc AUTHORS COPYING README NEWS ChangeLog
  60. %{_libdir}/*.so.*
  61. %files devel
  62. %defattr(-,root,root)
  63. %doc doc/html examples/*.c
  64. %{_libdir}/pkgconfig/libusb-1.0.pc
  65. %{_includedir}/*
  66. %{_libdir}/*.so
  67. %files static
  68. %defattr(-,root,root)
  69. %{_libdir}/*.a
  70. %changelog
  71. * Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  72. - new upstream release
  73. * Thu Dec 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.6-1
  74. - new upstream release
  75. * Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.3-1
  76. - new upstream release
  77. * Mon Aug 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
  78. - new upstream release
  79. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1-1
  80. - new upstream release
  81. - fixed BuildRoot
  82. - added Japanese description, summary
  83. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  84. - initial build for Vine Linux
  85. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  87. * Mon Dec 15 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.0-1
  88. - Update to 1.0.0
  89. * Fri Nov 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.4-1
  90. - Update to 0.9.4
  91. * Tue Sep 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.3-0.1
  92. - update to 0.9.3
  93. * Sun Jul 06 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.1
  94. - Update to 0.9.1
  95. * Mon May 26 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.4
  96. - update to official beta
  97. * Thu May 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.3.gitbef33bb
  98. - update comment on how the tarball was created
  99. - use abbreviated git hash within package name to avoid conflicts
  100. - add to %%description that libusb1 is incompatible with libsub-0.1
  101. * Thu May 22 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.2.gitbef33bb
  102. - add info on how the snapshot tarball was created
  103. * Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1.gitbef33bb
  104. - use proper version to denote it is a git snapshot
  105. * Thu May 15 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1
  106. - initial packaging