## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %{?mingw_package_header} Name: mingw-libgusb Version: 0.4.5 Release: %autorelease Summary: GLib wrapper around libusb1 for MinGW License: LGPL-2.1-or-later URL: https://gitorious.org/gusb/ Source0: http://people.freedesktop.org/~hughsient/releases/libgusb-%{version}.tar.xz BuildArch: noarch BuildRequires: meson BuildRequires: gcc BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw32-gcc BuildRequires: mingw64-gcc BuildRequires: mingw32-json-glib BuildRequires: mingw64-json-glib BuildRequires: mingw32-libusbx >= 1.0.19 BuildRequires: mingw64-libusbx >= 1.0.19 BuildRequires: mingw32-glib2 >= 2.38.0 BuildRequires: mingw64-glib2 >= 2.38.0 BuildRequires: gobject-introspection-devel %description GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. This is the MinGW version of this library. %package -n mingw32-libgusb Summary: MinGW library which allows easy access to USB devices Requires: pkgconfig %description -n mingw32-libgusb This package contains the header files and libraries needed to develop MinGW applications that use libgusb. %package -n mingw32-libgusb-static Summary: MinGW static library which allows easy access to USB devices Requires: mingw32-libgusb = %{version}-%{release} %description -n mingw32-libgusb-static This package contains the static libraries needed to develop MinGW applications that use libgusb. %package -n mingw64-libgusb Summary: MinGW library which allows easy access to USB devices Requires: pkgconfig %description -n mingw64-libgusb This package contains the header files and libraries needed to develop MinGW applications that use libgusb. %package -n mingw64-libgusb-static Summary: MinGW static library which allows easy access to USB devices Requires: mingw64-libgusb = %{version}-%{release} %description -n mingw64-libgusb-static This package contains the static libraries needed to develop MinGW applications that use libgusb. %{?mingw_debug_package} %prep %setup -q -n libgusb-%{version} %build %mingw_meson \ --default-library=both \ -Dvapi=false \ -Dtests=false \ -Dintrospection=false \ -Ddocs=false %mingw_ninja %install %mingw_ninja_install %files -n mingw32-libgusb %license COPYING %doc AUTHORS README.md NEWS %{mingw32_bindir}/gusbcmd.exe %{mingw32_bindir}/libgusb-2.dll %{mingw32_includedir}/gusb-1/ %{mingw32_libdir}/libgusb.dll.a %{mingw32_libdir}/pkgconfig/gusb.pc %files -n mingw32-libgusb-static %{mingw32_libdir}/libgusb.a %files -n mingw64-libgusb %license COPYING %doc AUTHORS README.md NEWS %{mingw64_bindir}/gusbcmd.exe %{mingw64_bindir}/libgusb-2.dll %{mingw64_includedir}/gusb-1/ %{mingw64_libdir}/libgusb.dll.a %{mingw64_libdir}/pkgconfig/gusb.pc %files -n mingw64-libgusb-static %{mingw64_libdir}/libgusb.a %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Fedora Release Engineering - 0.4.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.4.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Feb 22 2023 Richard Hughes - 0.4.5-2 - migrated to SPDX license * Sat Feb 11 2023 Richard Hughes - 0.4.5-1 - New upstream release * Thu Jan 19 2023 Fedora Release Engineering - 0.3.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.3.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Mar 25 2022 Sandro Mani - 0.3.10-3 - Rebuild with mingw-gcc-12 * Thu Jan 20 2022 Fedora Release Engineering - 0.3.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 10 2022 Richard Hughes - 0.3.10-1 - New upstream version * Thu Jul 22 2021 Fedora Release Engineering - 0.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 24 2021 Richard Hughes - 0.3.7-1 - New upstream version * Tue Jan 26 2021 Fedora Release Engineering - 0.2.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 06 2021 Tom Stellard - 0.2.11-9 - Add BuildRequires: make * Wed Aug 12 2020 Sandro Mani - 0.2.11-8 - Rebuild (mingw-gettext) * Tue Jul 28 2020 Fedora Release Engineering - 0.2.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.2.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.2.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.2.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.2.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Oct 15 2017 Kalev Lember - 0.2.11-1 - Update to 0.2.11 * Wed Jul 26 2017 Fedora Release Engineering - 0.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 20 2017 Kalev Lember - 0.2.10-1 - Update to 0.2.10 * Fri Feb 10 2017 Fedora Release Engineering - 0.2.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Oct 24 2016 Kalev Lember - 0.2.9-2 - Use license macro for COPYING * Mon Oct 24 2016 Kalev Lember - 0.2.9-1 - Update to 0.2.9 * Thu Feb 04 2016 Fedora Release Engineering - 0.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Dennis Gilmore - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jan 09 2015 Richard Hughes - 0.2.4-1 - New upstream version * Mon Dec 01 2014 Richard Hughes - 0.2.3-1 - Initial packaging ## END: Generated by rpmautospec