?? sdl_image.spec
字號(hào):
%define name SDL_image%define version 1.2.7%define release 1Summary: Simple DirectMedia Layer - Sample Image Loading LibraryName: %{name}Version: %{version}Release: %{release}Source0: %{name}-%{version}.tar.gzLicense: 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*.la%{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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -