New upstream version
This commit is contained in:
parent
f5b6f8b20e
commit
da47f8d3d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
||||
/libgusb-0.2.9.tar.xz
|
||||
/libgusb-0.2.10.tar.xz
|
||||
/libgusb-0.2.11.tar.xz
|
||||
/libgusb-0.3.0.tar.xz
|
||||
|
31
libgusb.spec
31
libgusb.spec
@ -1,15 +1,16 @@
|
||||
Summary: GLib wrapper around libusb1
|
||||
Name: libgusb
|
||||
Version: 0.2.11
|
||||
Release: 4%{?dist}
|
||||
Version: 0.3.0
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: https://gitorious.org/gusb/
|
||||
URL: https://github.com/hughsie/libgusb
|
||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: glib2-devel >= 2.38.0
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libusb1-devel >= 1.0.19
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: libusb1-devel >= 1.0.19
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala-devel
|
||||
BuildRequires: vala-tools
|
||||
|
||||
@ -29,25 +30,18 @@ GLib headers and libraries for gusb.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-vala=yes \
|
||||
--enable-introspection=yes \
|
||||
--disable-gtk-doc \
|
||||
--disable-dependency-tracking
|
||||
%meson -Dvapi=true -Dtests=true
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libgusb.la
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README AUTHORS NEWS COPYING
|
||||
%doc README.md AUTHORS NEWS COPYING
|
||||
%{_libdir}/libgusb.so.?
|
||||
%{_libdir}/libgusb.so.?.0.*
|
||||
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
||||
@ -60,9 +54,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libgusb.la
|
||||
%{_libdir}/pkgconfig/gusb.pc
|
||||
%{_datadir}/gtk-doc/html/gusb
|
||||
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
||||
%{_datadir}/vala/vapi/gusb.deps
|
||||
%{_datadir}/vala/vapi/gusb.vapi
|
||||
|
||||
%changelog
|
||||
* Thu Feb 15 2018 Richard Hughes <richard@hughsie.com> 0.3.0-1
|
||||
- New upstream version
|
||||
- Port to the Meson build system
|
||||
|
||||
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.11-4
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libgusb-0.2.11.tar.xz) = f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096
|
||||
SHA512 (libgusb-0.3.0.tar.xz) = 0e4f5d3ef68f3f80ad7c3b2916a9597593bb52d5fae4ee307a3069a6c1747c010b80ea1f4274c52e6b69c24a973f70327cfaa8f4ecc56df41d63107aee90fabe
|
||||
|
Loading…
Reference in New Issue
Block a user