%define name CEGUI %define version 0.5.0 %define release 1 Summary: Crazy Eddies GUI System Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.gz URL: http://www.cegui.org.uk License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Prefix: %{_prefix} Requires: freetype2 >= 0.15.0 libxerces-c25 BuildRequires: freetype2-devel %description This is Crazy Eddie's GUI System Mk-2; a free library providing windowing and widgets for graphics APIs and engines where such functionality is not natively available or is severely lacking. %package devel Summary: Crazy Eddies GUI System headers and static libs. Group: Development/Libraries Requires: %{name} = %{version} freetype2 >= 0.15.0 libxerces-c25 %description devel This is Crazy Eddie's GUI System Mk-2; a free library providing windowing and widgets for graphics APIs and engines where such functionality is not natively available or is severely lacking. %prep rm -rf ${RPM_BUILD_ROOT} %setup -q %build CXXFLAGS="$RPM_OPT_FLAGS" %configure --enable-final=full make -j 4 %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING README AUTHORS #doc/user_guide.txt %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_libdir}/lib*.a %{_libdir}/pkgconfig/*.pc %{_includedir}/* # end of file