libgusb-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: libgusb
  2. Version: 0.1.6
  3. Release: 1%{?_dist_release}
  4. Summary: GObject wrapper for libusb1
  5. Summary(ja): libusb1 用 GObject ラッパー
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: https://gitorious.org/gusb/
  9. Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.28.0
  12. BuildRequires: gobject-introspection-devel
  13. BuildRequires: libgudev1-devel
  14. BuildRequires: libusb1-devel >= 1.0.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. GUsb is a GObject wrapper for libusb1 that makes it easy to do
  20. asynchronous control, bulk and interrupt transfers with proper
  21. cancellation and integration into a mainloop.
  22. This makes it easy to integrate low level USB transfers with your
  23. high-level application or system daemon.
  24. Not everything you can do in libusb1 is wrapped, although we'll accept
  25. feature requests (with patches) if it makes sense. There is some pretty
  26. low hanging fruit if you're interested.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Summary(ja): %{name} の開発ファイル
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: glib2-devel
  33. %description devel
  34. The %{name}-devel package contains libraries and header files for
  35. developing applications that use %{name}.
  36. %package doc
  37. Summary: Documentation for %{name}
  38. Summary(ja): %{name} 用のドキュメント
  39. Group: Documentation
  40. Requires: %{name} = %{version}-%{release}
  41. BuildArch: noarch
  42. %description doc
  43. This package contains documentation for %{name}.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-static
  48. make %{?_smp_mflags}
  49. %check
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  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 ChangeLog COPYING MAINTAINERS NEWS README
  61. %{_libdir}/%{name}.so.*
  62. %{_libdir}/girepository-1.0/GUsb-1.0.typelib
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_includedir}/gusb-1
  66. %{_libdir}/%{name}.so
  67. %{_libdir}/pkgconfig/gusb.pc
  68. %{_datadir}/gir-1.0/GUsb-1.0.gir
  69. %files doc
  70. %defattr(-,root,root,-)
  71. %{_datadir}/gtk-doc/html/gusb
  72. %changelog
  73. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1
  74. - new upstream release
  75. - add BuildRequires: gobject-introspection-devel
  76. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  77. - new upstream release
  78. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1
  79. - initial build