fbi.spec
来自「linux下开源图片codec」· SPEC 代码 · 共 41 行
SPEC
41 行
%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 + =
减小字号Ctrl + -
显示快捷键?