libusb.spec.in

来自「This libusb version 0.1.12. libusb is a 」· IN 代码 · 共 66 行

IN
66
字号
# Note that this is NOT a relocatable package%define ver      @VERSION@%define RELEASE  1%define rel      %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}%define prefix   /usrSummary: Application access to USB devicesName: libusbVersion: %verRelease: %relLicense: 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=%{prefix}make%installrm -rf $RPM_BUILD_ROOTmake DESTDIR=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files%defattr(-, root, root)%doc AUTHORS COPYING LICENSE NEWS README%{prefix}/lib/libusb-0.1.so.*%{prefix}/lib/libusbpp-0.1.so.*%files devel%defattr(-, root, root)%{prefix}/lib/*.so%{prefix}/lib/*a%{prefix}/include/*%{prefix}/bin/*%{prefix}/lib/pkgconfig/libusb.pc

⌨️ 快捷键说明

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