📄 sdl_image.spec
字号:
%define name SDL_image%define version 1.2.3%define release 1Summary: Simple DirectMedia Layer - Sample Image Loading LibraryName: %{name}Version: %{version}Release: %{release}Source0: %{name}-%{version}.tar.gzCopyright: LGPLGroup: System Environment/LibrariesBuildRoot: /var/tmp/%{name}-buildrootPrefix: %{_prefix}Packager: Hakan Tandogan <hakan@iconsult.com>#BuildRequires: SDL-devel#BuildRequires: libjpeg-devel#BuildRequires: libpng-devel#BuildRequires: libtiff-devel%descriptionThis is a simple library to load images of various formats as SDL surfaces.This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats.%package develSummary: Libraries, includes and more to develop SDL applications.Group: Development/LibrariesRequires: %{name}Requires: SDL-devel%description develThis is a simple library to load images of various formats as SDL surfaces.This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats.%preprm -rf ${RPM_BUILD_ROOT}%setup %buildCFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}make%installrm -rf $RPM_BUILD_ROOTmake install prefix=$RPM_BUILD_ROOT/%{prefix}%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc README CHANGES COPYING%{prefix}/lib/lib*.so.*%files devel%defattr(-,root,root)%{prefix}/lib/lib*.a%{prefix}/lib/lib*.so%{prefix}/include/SDL/%changelog* Wed Jan 19 2000 Sam Lantinga - converted to get package information from configure* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>- initial spec file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -