libusb1-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Summary: A library which allows userspace access to USB devices
  2. Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
  3. Name: libusb1
  4. Version: 1.0.9
  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. * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.9-1
  72. - new upstream release
  73. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  74. - rebuild with rpm-4.8.1 for pkg-config file
  75. * Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  76. - new upstream release
  77. * Thu Dec 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.6-1
  78. - new upstream release
  79. * Wed Sep 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.3-1
  80. - new upstream release
  81. * Mon Aug 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.2-1
  82. - new upstream release
  83. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.1-1
  84. - new upstream release
  85. - fixed BuildRoot
  86. - added Japanese description, summary
  87. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  88. - initial build for Vine Linux
  89. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Mon Dec 15 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.0-1
  92. - Update to 1.0.0
  93. * Fri Nov 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.4-1
  94. - Update to 0.9.4
  95. * Tue Sep 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.3-0.1
  96. - update to 0.9.3
  97. * Sun Jul 06 2008 - Bastien Nocera <bnocera@redhat.com> - 0.9.1
  98. - Update to 0.9.1
  99. * Mon May 26 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.4
  100. - update to official beta
  101. * Thu May 23 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.3.gitbef33bb
  102. - update comment on how the tarball was created
  103. - use abbreviated git hash within package name to avoid conflicts
  104. - add to %%description that libusb1 is incompatible with libsub-0.1
  105. * Thu May 22 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.2.gitbef33bb
  106. - add info on how the snapshot tarball was created
  107. * Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1.gitbef33bb
  108. - use proper version to denote it is a git snapshot
  109. * Thu May 15 2008 Jindrich Novy <jnovy@redhat.com> 0.9.0-0.1
  110. - initial packaging