⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libusb.spec

📁 usb user mode lib
💻 SPEC
字号:
# Note that this is NOT a relocatable package%define ver      0.1.8%define RELEASE  1%define rel      %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}%define prefix   /usrSummary: Application access to USB devicesName: libusbVersion: %verRelease: %relCopyright: LGPLGroup: LibrariesSource: ftp://ftp.libusb.sourceforge.net/pub/libusb/libusb-%{ver}.tar.gzBuildRoot: /var/tmp/libusb-%{PACKAGE_VERSION}-rootURL: http://libusb.sourceforge.net%descriptionProvides a library for application access to USB devices. Developmentlibs and headers are in libusb-devel%package develSummary: Application USB device access libraryGroup: System Environment/Libraries%description develStatic libraries and header files for the USB device access library%changelog%prep%setup%buildCFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefixmake%installrm -rf $RPM_BUILD_ROOTmake prefix=$RPM_BUILD_ROOT%{prefix} install%cleanrm -rf $RPM_BUILD_ROOT%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files%defattr(-, root, root)%doc AUTHORS COPYING LICENSE ChangeLog NEWS README%{prefix}/lib/libusb-0.1.so.*%files devel%defattr(-, root, root)%{prefix}/lib/*.so%{prefix}/lib/*a%{prefix}/include/*%{prefix}/bin/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -