1073fd033Sopenharmony_ci#Resolve name conflict with libusb-compat-0.1 2073fd033Sopenharmony_ci%global source libusb 3073fd033Sopenharmony_ci 4073fd033Sopenharmony_ciName: libusbx 5073fd033Sopenharmony_ciVersion: 1.0.26 6073fd033Sopenharmony_ciRelease: 1 7073fd033Sopenharmony_ciSummary: Library for accessing USB devices 8073fd033Sopenharmony_ciLicense: LGPLv2+ 9073fd033Sopenharmony_ciURL: http://libusb.info 10073fd033Sopenharmony_ciSource0: https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 11073fd033Sopenharmony_ci 12073fd033Sopenharmony_ciBuildRequires: systemd-devel doxygen libtool 13073fd033Sopenharmony_ci 14073fd033Sopenharmony_ci%description 15073fd033Sopenharmony_cilibusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING). 16073fd033Sopenharmony_ci 17073fd033Sopenharmony_cilibusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information. 18073fd033Sopenharmony_ci 19073fd033Sopenharmony_ci%package devel 20073fd033Sopenharmony_ciSummary: %{name} libs and docs files for development 21073fd033Sopenharmony_ciRequires: %{name}%{?_isa} = %{version}-%{release} 22073fd033Sopenharmony_ciProvides: libusb1-devel = %{version}-%{release} 23073fd033Sopenharmony_ciProvides: libusb1-devel-doc = %{version}-%{release} 24073fd033Sopenharmony_ciProvides: libusbx-devel-doc 25073fd033Sopenharmony_ciObsoletes: libusb1-devel <= 1.0.9 26073fd033Sopenharmony_ciObsoletes: libusb1-devel-doc <= 1.0.22-1 27073fd033Sopenharmony_ciObsoletes: libusbx-devel-doc 28073fd033Sopenharmony_ci 29073fd033Sopenharmony_ci%description devel 30073fd033Sopenharmony_ciThe %{name}-devel package contains libraries and header files. 31073fd033Sopenharmony_ci 32073fd033Sopenharmony_ci%prep 33073fd033Sopenharmony_ci%autosetup -n %{source}-%{version} -p1 34073fd033Sopenharmony_ci 35073fd033Sopenharmony_ci%build 36073fd033Sopenharmony_cimkdir -p m4 37073fd033Sopenharmony_ciautoreconf -ivf 38073fd033Sopenharmony_ci%configure --disable-static --enable-examples-build 39073fd033Sopenharmony_ci%make_build 40073fd033Sopenharmony_cimake docs -C doc 41073fd033Sopenharmony_ci 42073fd033Sopenharmony_ci%check 43073fd033Sopenharmony_cimake check 44073fd033Sopenharmony_ci 45073fd033Sopenharmony_ci%install 46073fd033Sopenharmony_ci%make_install 47073fd033Sopenharmony_ci 48073fd033Sopenharmony_ci%ldconfig_scriptlets 49073fd033Sopenharmony_ci 50073fd033Sopenharmony_ci%files 51073fd033Sopenharmony_ci%doc AUTHORS README ChangeLog 52073fd033Sopenharmony_ci%license COPYING 53073fd033Sopenharmony_ci%{_libdir}/*.so.* 54073fd033Sopenharmony_ci%exclude %{_libdir}/*.la 55073fd033Sopenharmony_ci 56073fd033Sopenharmony_ci%files devel 57073fd033Sopenharmony_ci%doc examples/*.c 58073fd033Sopenharmony_ci%{_includedir}/libusb-1.0 59073fd033Sopenharmony_ci%{_libdir}/*.so 60073fd033Sopenharmony_ci%{_libdir}/pkgconfig/libusb-1.0.pc 61073fd033Sopenharmony_ci 62073fd033Sopenharmony_ci%changelog 63073fd033Sopenharmony_ci* Fri Oct 28 2022 Wenchao Hao <haowenchao@hauwei.com> - 1.0.26-1 64073fd033Sopenharmony_ci- Update to libusb-1.0.26 65073fd033Sopenharmony_ci 66073fd033Sopenharmony_ci* Tue Oct 11 2022 huangduirong <huangduirong@huawei.com> - 1.0.24-2 67073fd033Sopenharmony_ci- Type:bugfix 68073fd033Sopenharmony_ci- ID:NA 69073fd033Sopenharmony_ci- SUG:NA 70073fd033Sopenharmony_ci- DESC:Move autoreconf to build 71073fd033Sopenharmony_ci 72073fd033Sopenharmony_ci* Wed Nov 17 2021 Wenchao Hao <haowenchao@hauwei.com> - 1.0.24-1 73073fd033Sopenharmony_ci- Update to libusb-1.0.24 74073fd033Sopenharmony_ci 75073fd033Sopenharmony_ci* Fri Jul 23 2021 zhouwenpei <zhouwenpei1@hauwei.com> - 1.0.23-4 76073fd033Sopenharmony_ci- remove unnecessary build require. 77073fd033Sopenharmony_ci 78073fd033Sopenharmony_ci* Wed Nov 4 2020 lixiaokeng <lixiaokeng@hauwei.com> - 1.0.23-3 79073fd033Sopenharmony_ci- add make check 80073fd033Sopenharmony_ci 81073fd033Sopenharmony_ci* Mon Jul 27 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 1.0.23-2 82073fd033Sopenharmony_ci- backport upstream patches. 83073fd033Sopenharmony_ci 84073fd033Sopenharmony_ci* Thu Jul 16 2020 zhangyouming <zhangyouming4@huawei.com> - 1.0.23-1 85073fd033Sopenharmony_ci- upgrade form 1.0.22 to 1.0.23 86073fd033Sopenharmony_ci 87073fd033Sopenharmony_ci* Wed Mar 25 2020 hy-euler <eulerstoragemt@huawei.com> - 1.0.22-3 88073fd033Sopenharmony_ci- delete -Sgit in %autosetup 89073fd033Sopenharmony_ci 90073fd033Sopenharmony_ci* Sat Aug 31 2019 suweifeng <suweifeng1@huawei.com> - 1.0.22-2 91073fd033Sopenharmony_ci- Package init 92