libgusb-vl.spec 2.4 KB

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