2024-01-06 04:34:38 +01:00
|
|
|
Name: libgusb
|
2024-01-06 04:34:39 +01:00
|
|
|
Version: 0.3.3
|
2024-01-06 04:34:38 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A GObject wrapper for libusb1
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://people.freedesktop.org/~hughsient/releases
|
|
|
|
Source: http://people.freedesktop.org/~hughsient/releases/libgusb-%{version}.tar.xz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: udev-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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 makes it easy to integrate low level USB transfers with your high-level application or system daemon.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
|
|
#Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
%package tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: %{name} tools
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package provides the %{name} command line tool.
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:34:38 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 04:34:38 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:34:38 +01:00
|
|
|
%meson_install
|
2024-01-06 04:34:38 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgusb.so.*
|
|
|
|
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/gusb-1
|
|
|
|
%{_includedir}/gusb-1/*.h
|
|
|
|
%dir %{_includedir}/gusb-1/gusb
|
|
|
|
%{_includedir}/gusb-1/gusb/*.h
|
2024-01-06 04:34:38 +01:00
|
|
|
#%{_libdir}/libgusb.a
|
|
|
|
#%{_libdir}/libgusb.la
|
2024-01-06 04:34:38 +01:00
|
|
|
%{_libdir}/libgusb.so
|
|
|
|
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
2024-01-06 04:34:38 +01:00
|
|
|
%{_datadir}/vala/vapi/gusb.*
|
2024-01-06 04:34:38 +01:00
|
|
|
%{_libdir}/pkgconfig/gusb.pc
|
2024-01-06 04:34:38 +01:00
|
|
|
%doc NEWS
|
2024-01-06 04:34:38 +01:00
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gusbcmd
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/gusb
|
|
|
|
%{_datadir}/gtk-doc/html/gusb/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:34:39 +01:00
|
|
|
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:39 +01:00
|
|
|
* Sun Jan 19 2020 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:39 +01:00
|
|
|
* Mon Nov 25 2019 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 0.2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Fri Jul 07 2017 Automatic Build System <autodist@mambasoft.it> 0.2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 0.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Sun Dec 20 2015 Automatic Build System <autodist@mambasoft.it> 0.2.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Sat Sep 26 2015 Automatic Build System <autodist@mambasoft.it> 0.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Wed Jul 08 2015 Automatic Build System <autodist@mambasoft.it> 0.2.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Thu Jan 29 2015 Automatic Build System <autodist@mambasoft.it> 0.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 0.2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Sun Nov 30 2014 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:34:38 +01:00
|
|
|
* Mon Mar 11 2013 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 0.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 19 2012 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 31 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.3-1mamba
|
|
|
|
- package created by autospec
|