libusb1-vl.spec 4.5 KB

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