sdl_gui.spec.in

来自「基于SDL实现的GUI」· IN 代码 · 共 79 行

IN
79
字号
%define name @PACKAGE@%define version @VERSION@%define release 1Summary: Simple DirectMedia Layer - Graphical User Interface LibraryName: %{name}Version: %{version}Release: %{release}Source0: %{name}-%{version}.tar.gzCopyright: LGPLGroup: System Environment/LibrariesBuildRoot: /var/tmp/%{name}-buildrootPrefix: %{_prefix}Packager: Ray Kelm <rhk@newimage.com>BuildRequires: SDL-develBuildRequires: SDL_image-develBuildRequires: SDL_ttf-devel%descriptionThis is a Graphical User Interface that runs on top of SDL. It supports several simple widgets.%package develSummary: Libraries, includes and more to develop GUI applications.Group: Development/LibrariesRequires: %{name}Requires: SDL-develRequires: SDL_image-devel%description develThis is a Graphical User Interface that runs on top of SDL. It supports several widgets.%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/libSDL_gui-*.so%{prefix}/lib/libSDL_gui.so%{prefix}/lib/libSDL_gui.la%files devel%defattr(-,root,root)%{prefix}/lib/libSDL_gui.a%{prefix}/lib/libSDL_gui.la%{prefix}/include/SDL/SDL_gui.h%changelog* Mon Jun 12 2000 Ray Kelm <rhk@newimage.com>- removed ttf subpackages* Thu Jun 08 2000 Ray Kelm <rhk@newimage.com>- include libtool definition files in devel packages.* Sun May 21 2000 Ray Kelm <rhk@newimage.com>- added python subpackages* Sun May 21 2000 Ray Kelm <rhk@newimage.com>- split ttf lib into subpackage* Sun Apr 30 2000 Ray Kelm <rhk@newimage.com>- initial spec file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?