Name: mercator Version: 0.2.7 Release: 3%{?dist} Summary: Terrain library for WorldForge client/server Group: Development/Libraries License: GPL+ URL: http://worldforge.org/dev/eng/libraries/mercator Source0: http://downloads.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2 Patch0: mercator-0.2.7-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: wfmath-devel doxygen %description Mercator is primarily aimed at terrain for multiplayer online games and forms one of the WorldForge core libraries. It is intended to be used as a terrain library on the client, while a subset of features are useful on the server. %package devel Summary: Development files for mercator library Group: Development/Libraries Requires: %{name} = %{version}-%{release} wfmath-devel pkgconfig %description devel Development libraries and headers for linking against the mercator library. %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} make docs # Remove timestamps from the generated documentation to avoid # multiarch conflicts for file in doc/html/*.html ; do sed -i -e 's/Generated on .* for Mercator by/Generated for Mercator by/' $file done %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{name}-0.2.la %check # Run tests in debug mode so asserts won't be skipped sed -i -e 's/-DNDEBUG/-DDEBUG/' tests/Makefile make %{?_smp_mflags} check %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README TODO %{_libdir}/lib%{name}-0.2.so.* %files devel %defattr(-,root,root,-) %doc doc/html/* %{_includedir}/Mercator-0.2 %{_libdir}/lib%{name}-0.2.so %{_libdir}/pkgconfig/*.pc %changelog * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Mar 01 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.2.7-2 - Actually perform the tests * Fri Feb 27 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.2.7-1 - Update to 0.2.7 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Aug 17 2008 Wart <wart at kobold.org> 0.2.6-1 - Update to 0.2.6 * Sat Feb 9 2008 Wart <wart at kobold.org> 0.2.5-4 - Rebuild for gcc 4.3 * Sun Dec 16 2007 Wart <wart at kobold.org> 0.2.5-3 - Modify docs for multiarch support (BZ #342591) * Mon Aug 20 2007 Wart <wart at kobold.org> 0.2.5-2 - License tag clarification - Better download URL * Fri Aug 25 2006 Wart <wart at kobold.org> 0.2.5-1 - Update to 0.2.5 * Fri Jul 14 2006 Wart <wart at kobold.org> 0.2.4-2 - Added Requires: pkgconfig to -devel subpackage - Remove BR: pkgconfig as it will be provided by wfmath-devel - added smp_mflags to 'make check' * Wed Jun 14 2006 Wart <wart at kobold.org> 0.2.4-1 - Initial spec file for Fedora Extras