104 lines
3.1 KiB
RPMSpec
104 lines
3.1 KiB
RPMSpec
Name: usbredir
|
|
Version: 0.15.0
|
|
Release: 1mamba
|
|
Summary: A network protocol for sending usb device traffic over a network connection
|
|
Group: Applications/Networking
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://gitlab.freedesktop.org/spice/usbredir
|
|
Source: https://gitlab.freedesktop.org/spice/usbredir.git/usbredir-%{version}/usbredir-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libusb-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
usbredir is the name of a network protocol for sending usb device traffic over a network connection. It is also the name of the software package offering a parsing library, a usbredirhost library and several utilities implementing this protocol.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/usbredirect
|
|
#%{_sbindir}/usbredirserver
|
|
%{_mandir}/man1/usbredirect.1*
|
|
#%{_mandir}/man1/usbredirserver.1*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libusbredirhost.so.*
|
|
%{_libdir}/libusbredirparser.so.*
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/usbredirfilter.h
|
|
%{_includedir}/usbredirhost.h
|
|
%{_includedir}/usbredirparser.h
|
|
%{_includedir}/usbredirproto.h
|
|
%{_libdir}/libusbredirhost.so
|
|
%{_libdir}/libusbredirparser.so
|
|
%{_libdir}/pkgconfig/libusbredirhost.pc
|
|
%{_libdir}/pkgconfig/libusbredirparser-0.5.pc
|
|
%doc TODO
|
|
|
|
%changelog
|
|
* Mon Jan 27 2025 Automatic Build System <autodist@openmamba.org> 0.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-1mamba
|
|
- update to 0.14.0
|
|
|
|
* Tue Aug 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
|
|
- update to 0.13.0
|
|
|
|
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0-1mamba
|
|
- update to 0.12.0
|
|
|
|
* Sun Oct 07 2018 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu May 29 2014 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
|
|
- package created using the webbuild interface
|