📄 db3x.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : The Berkeley DB database libraryName : db3xVersion : 3.3.11Release : 1License : BSD variantVendor : FreescalePackager : Stuart HughesGroup : System Environment/LibrariesSource : db-%{version}.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}Note: this library is not being used as it's license since 1.86 behaveslike GPL, and so anything linked against it has to be release open source%Prep%setup -n db-%{version}%Buildcd build_unix../dist/configure --prefix=%{_prefix} --enable-compat185make %Installrm -rf $RPM_BUILD_ROOTcd build_unixmake prefix=$RPM_BUILD_ROOT/%{pfx}/%{_prefix} docdir=$RPM_BUILD_ROOT/%{pfx}/%{_prefix}/share/doc/db-3.3 install perl -pi -e 's,^DB185,DB,' $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/include/db_185.h%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -