package created using the webbuild interface [release 0.6-1mamba;Mon May 12 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 18:51:46 +01:00
parent 007aebb934
commit ec9ecef5ea
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# usbredir # usbredir
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.

90
usbredir.spec Normal file
View File

@ -0,0 +1,90 @@
Name: usbredir
Version: 0.6
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: http://www.spice-space.org/page/UsbRedir
Source: http://spice-space.org/download/usbredir/usbredir-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpcre-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libudev-devel
BuildRequires: libusbx-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sbindir}/usbredirserver
%{_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.a
%{_libdir}/libusbredirhost.la
%{_libdir}/libusbredirhost.so
%{_libdir}/libusbredirparser.a
%{_libdir}/libusbredirparser.la
%{_libdir}/libusbredirparser.so
%{_libdir}/pkgconfig/libusbredirhost.pc
%{_libdir}/pkgconfig/libusbredirparser-0.5.pc
%doc ChangeLog README README.multi-thread TODO
%changelog
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
- package created using the webbuild interface