Name: openeuclide Version: 0.5 Release: %mkrel 6 Summary: A geometry software that is intended for educational or modeling purposes Group: Sciences/Mathematics License: GPLv2+ URL: http://coulon.publi.free.fr/openeuclide/index.php Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tgz #https://sourceforge.net/p/openeuclide/bugs/2 Source1: %{name}.desktop #The upstream sources results in FTBFS. #Patch to add necessary header files to the source to make it build. #https://sourceforge.net/p/openeuclide/bugs/4 Patch0: %{name}-%{version}-fdr-fix-FTBFS.patch #https://sourceforge.net/p/openeuclide/bugs/5 Patch1: %{name}-%{version}-fdr-fix-Werror-format-security.patch BuildRequires: gtk2-devel %description OpenEuclide is a 2D geometry software: figures are defined dynamically by describing formal geometrical constraints. This project is a basic tool for educational or modeling purpose. %prep %setup -q -n %{name} cp -f %{SOURCE1} ./ %patch0 %patch1 find . -name "CVS" -exec rm -rf {} +; %build %configure2_5x %make %install %makeinstall_std %files %doc README NEWS AUTHORS doc/ %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/* %{_datadir}/pixmaps/%{name}.png %changelog * Wed Jan 07 2015 alexl <alexl> 0.5-6.mga5 + Revision: 809093 - updated desktop file * Wed Oct 15 2014 umeabot <umeabot> 0.5-5.mga5 + Revision: 742085 - Second Mageia 5 Mass Rebuild * Thu Oct 02 2014 alexl <alexl> 0.5-4.mga5 + Revision: 736238 - deleted double Werror_cflags (there is fix-Werror-format-security.patch instead) - deleted double DESTDIR for macros makeinstall_std * Tue Sep 16 2014 umeabot <umeabot> 0.5-3.mga5 + Revision: 683208 - Mageia 5 Mass Rebuild * Wed Aug 13 2014 alexl <alexl> 0.5-2.mga5 + Revision: 662382 - deleted TryExec from desktop file, added GenericName in desktop file - added fix-Werror-format-security.patch * Thu Apr 10 2014 alexl <alexl> 0.5-1.mga5 + Revision: 613283 - imported package openeuclide