Package libgusb: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | %define api_ver 1.0 Name: libgusb Version: 0.1.6 Release: alt1 Summary: GLib wrapper around libusb1 Group: System/Libraries License: LGPLv2+ Url: https://gitorious.org/gusb/ Source: http://people.freedesktop.org/~hughsient/releases/%name-%version.tar.xz BuildRequires: libgio-devel >= 2.28 libgudev-devel libusb-devel BuildRequires: gobject-introspection-devel libgudev-gir-devel vala-tools %description GUsb is a GObject wrapper for libusb that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. %package devel Summary: Libraries and headers for %name Group: Development/C Requires: %name = %version-%release %description devel GLib headers and libraries for the GUsb library. %package gir Summary: GObject introspection data for GUsb Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the GUsb library. %package gir-devel Summary: GObject introspection devel data for GUsb Group: Development/Other BuildArch: noarch Requires: %name-devel = %version-%release Requires: %name-gir = %version-%release %description gir-devel GObject introspection devel data for the GUsb library. %package devel-doc Summary: Development documentation for GUsb Group: Development/C BuildArch: noarch Conflicts: %name-devel < %version %description devel-doc This package provides documentation for developing applications that use GUsb library. %prep %setup %build %configure \ --disable-static \ --disable-dependency-tracking \ --enable-tests %make_build %install %make DESTDIR=%buildroot install %check # failed to init libusb in hasher #%%make check %files %_libdir/libgusb.so.* %doc README AUTHORS NEWS %files devel %_includedir/gusb-1/ %_libdir/libgusb.so %_libdir/pkgconfig/gusb.pc %_vapidir/gusb.vapi %files gir %_typelibdir/GUsb-%api_ver.typelib %files gir-devel %_girdir/GUsb-%api_ver.gir %files devel-doc %_datadir/gtk-doc/html/gusb/ %changelog * Sat Mar 09 2013 Yuri N. Sedunov <aris@altlinux.org> 0.1.6-alt1 - 0.1.6 * Sat Feb 16 2013 Yuri N. Sedunov <aris@altlinux.org> 0.1.5-alt1 - 0.1.5 * Sun Jan 20 2013 Yuri N. Sedunov <aris@altlinux.org> 0.1.4-alt1 - 0.1.4 - new -gir{,-devel} subpackages - added Vala bindings to -devel subpackage * Thu Jan 19 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1.3-alt1 - adapted for Sisyphus * Mon Dec 05 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1 - New upstream version - Add a missing error enum value * Fri Nov 11 2011 Richard Hughes <richard@hughsie.com> 0.1.2-1 - New upstream version - Ignore EBUSY when trying to detach a detached kernel driver * Tue Nov 01 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1 - New upstream version * Thu Sep 15 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1 - Initial version for Fedora package review |