%define uname wxHexEditor Name: wxhexeditor Version: 0.22 Summary: A hex editor that supports files up to 2^64 bytes Release: %mkrel 1 Group: Editors License: GPLv2 Url: http://sourceforge.net/projects/wxhexeditor Source0: http://downloads.sourceforge.net/project/%{name}/%{uname}/v%{version}%20Beta/%{uname}-v%{version}-src.tar.bz2 Patch0: wxhexeditor-0.22-mga-fix_prefix-Makefile.patch BuildRequires: wxgtk-devel BuildRequires: libgomp-devel %description A hex editor that supports files up to 2^64 bytes Features Ability to work with files up to 2EB (ExaByte) Multi OS, Cross-Compileable Small footprint on RAM Raw Disk Access (on POSIX systems) Does not create temporary files! %prep %setup -q -n %{uname} %apply_patches %build %make OPTFLAGS="-fopenmp" %install %makeinstall_std desktop-file-install \ --remove-key="Encoding" \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/wxHexEditor.desktop %files %{_bindir}/wxHexEditor %{_datadir}/applications/wxHexEditor.desktop %{_datadir}/locale/ru/LC_MESSAGES/wxHexEditor.mo %{_datadir}/locale/tr/LC_MESSAGES/wxHexEditor.mo %{_datadir}/pixmaps/wxHexEditor.png %changelog * Sun Dec 08 2013 barjac <barjac> 0.22-1.mga4 + Revision: 555833 - imported package wxhexeditor