Name: eureka Version: 1.27b Release: 1%{?dist} Summary: A cross-platform map editor for the classic DOOM games %global numver %(echo "%{version}" | tr -d '[a-zA-Z]') License: GPLv2 URL: http://eureka-editor.sourceforge.net Source0: http://downloads.sourceforge.net/project/eureka-editor/Eureka/%{numver}/%{name}-%{version}-source.tar.gz Source1: eureka.desktop BuildRequires: gcc-c++ BuildRequires: fltk-devel BuildRequires: libGL-devel BuildRequires: libXft-devel BuildRequires: libXinerama-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: desktop-file-utils BuildRequires: make BuildRequires: ImageMagick BuildRequires: xdg-utils %description Eureka is a cross-platform map editor for the classic DOOM games. It started when the ported the Yadex editor to a proper GUI toolkit, namely FLTK, and implemented a system for multi-level Undo / Redo. These and other features have required rewriting large potions of the existing code, and adding lots of new code too. Eureka is now an independent program with its own work-flow and its own quirks. %prep %setup -q -n %{name}-%{version}-source %build LIBS+=-lX11 make %{?_smp_mflags} OPTIMISE="$RPM_OPT_FLAGS" %install install -m 755 -d %{buildroot}%{_bindir} %make_install PREFIX="%{_prefix}" install -m 755 -d %{buildroot}%{_datadir}/icons/hicolor/128x128/apps convert misc/eureka.ico %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/eureka.png install -m 755 -d %{buildroot}/%{_mandir}/man6/ install -m 644 -p misc/eureka.6 %{buildroot}%{_mandir}/man6/%{name}.6 desktop-file-install \ --dir %{buildroot}%{_datadir}/applications %{SOURCE1} %files %license GPL.txt %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/icons/hicolor/128x128/apps/eureka.png %{_datadir}/applications/*.desktop %{_mandir}/man6/%{name}.6* %doc AUTHORS.txt CHANGES.txt README.txt TODO.txt %changelog * Mon Dec 19 2022 Artur Frenszek-Iwicki - 1.27b-1 - Update to v1.27b - Include man page in the package - Clean up the spec file * Thu Jul 21 2022 Fedora Release Engineering - 1.27-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.27-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.27-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.27-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Feb 06 2020 Gwyn Ciesla - 1.27-1 - 1.27 * Tue Jan 28 2020 Fedora Release Engineering - 1.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 09 2019 Gwyn Ciesla - 1.24-1 - 1.24 * Thu Jan 31 2019 Fedora Release Engineering - 1.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 07 2018 Adam Williamson - 1.21-1 - Bump to latest version (1.21) - Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") * Wed Feb 07 2018 Fedora Release Engineering - 1.00-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.00-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.00-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.00-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.00-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.00-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri May 15 2015 Rex Dieter 1.00-5 - rebuild (fltk) * Sat May 02 2015 Kalev Lember - 1.00-4 - Rebuilt for GCC 5 C++11 ABI change * Sun Sep 8 2013 Jay Greguske 1.00-3 - add changes from Ralf Corsepius during review * Thu Sep 5 2013 Jay Greguske 1.00-2 - incorporate a few suggestions from Christopher Meng * Mon Aug 26 2013 Jay Greguske 1.00-1 - Initial import from upstream 1.00 release