📄 fbi.spec
字号:
%define prefix /usrName: fbiSummary: linux FrameBuffer ImageviewerVersion: 1.26Release: 0Source0: fbi_%{version}.tar.gzGroup: Applications/GraphicsLicense: GPLBuildRoot: /var/tmp/fbi-%{version}.root%descriptionThis is a image viewer for linux framebuffer devices.It has PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp and pngsupport built-in. Unknown formats are piped throuthconvert (ImageMagick), which hopefully can handle it...%prep%setup -q%buildexport CFLAGS="$RPM_OPT_FLAGS"make prefix=%{prefix}%installif test "%{buildroot}" != ""; then rm -rf "%{buildroot}"fimake prefix=%{prefix} DESTDIR="%{buildroot}" install%files%defattr(-,root,root)%{prefix}/bin/*%{prefix}/share/man/man1/*.1.gz%doc INSTALL README COPYING%cleanif test "%{buildroot}" != ""; then rm -rf %{buildroot}fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -