Accepting request 584809 from GNOME:Next

Update to 0.3.0

OBS-URL: https://build.opensuse.org/request/show/584809
OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2018-03-09 11:48:32 +00:00 committed by Git OBS Bridge
parent 87600d2b87
commit 5cc2227a2e
4 changed files with 30 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cb143493fab1dc3d0d0fdba2114b1d8ec8c5b6fad05bfd0f7700e4e4ff8f7de
size 291992

3
libgusb-0.3.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8e7950f99b6ae4c3e9b8c65f3692b9635289e6cff8de40c4af41b2e9b348edc
size 37816

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Mar 8 12:23:43 UTC 2018 - dimstar@opensuse.org
- Update to version 0.3.0:
+ New Features:
- Add Travis integration.
- Allow changing the path to usb.ids file.
- Port to the Meson build system.
+ Replace libusb-1.0/libusb.h with libusb.h.
- Port to meson build system:
+ Add meson BuildRequires.
+ Replace configure/make/make_install with
meson/meson_build/meson_install.
- Add gtk-doc BuildRequires: the meson-based tarball no longer
ships pre-built documentation.
- Drop xz BuildRequires: this is implicit in all openSUSE
buildroots.
-------------------------------------------------------------------
Mon Mar 5 19:25:54 UTC 2018 - jengelh@inai.de

View File

@ -17,16 +17,17 @@
Name: libgusb
Version: 0.2.11
Version: 0.3.0
Release: 0
Summary: GObject-based library for libusb1
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: https://github.com/hughsie/libgusb
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
BuildRequires: pkgconfig(gudev-1.0)
@ -70,20 +71,18 @@ cancellation and integration into a mainloop.
%setup -q
%build
%configure \
--disable-static
make %{?_smp_mflags}
%meson
%meson_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%meson_install
%post -n libgusb2 -p /sbin/ldconfig
%postun -n libgusb2 -p /sbin/ldconfig
%files -n libgusb2
%license COPYING
%doc AUTHORS NEWS README
%doc AUTHORS NEWS
%{_libdir}/libgusb.so.?
%{_libdir}/libgusb.so.?.0.*
@ -91,13 +90,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
%files devel
%doc %{_datadir}/gtk-doc/html/gusb/
%{_bindir}/gusbcmd
%{_datadir}/gir-1.0/GUsb-1.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gusb.deps
%{_datadir}/vala/vapi/gusb.vapi
%{_includedir}/gusb-1/
%{_libdir}/libgusb.so
%{_libdir}/pkgconfig/gusb.pc
%doc %{_datadir}/gtk-doc/html/gusb/
%changelog