📄 glib2.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : A library of functions used by GDK, GTK+, and many applicationsName : glib2Version : 2.12.11Release : 1License : LGPLVendor : FreescalePackager : Stuart Hughes/Kurt MahanGroup : System Environment/LibrariesSource : glib-%{version}.tar.bz2Patch1 : glib2-2.12.11-relink.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup -n glib-%{version}%patch1 -p1%Build# prevent configure from trying to compile and# run test binaries for the target.glib_cv_stack_grows=no \glib_cv_uscore=no \ac_cv_func_posix_getpwuid_r=yes \./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib -name "*.la" | xargs rm -f%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -