Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:iznogood:branches:editors
wxhexeditor
wxhexeditor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxhexeditor.spec of Package wxhexeditor
# # spec file for package wxhexeditor # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %bcond_with gcc6 %define _name wxHexEditor %define _rev 3f34976552e4d8f62c260b60825b7d0faf064ff2 Name: wxhexeditor Version: 0.24 Release: 0 Summary: A free HEX editor / disk editor # Program is statically linked to udis86 which is BSD-2-Clause License: GPL-2.0-only Group: Development/Tools/Other URL: https://github.com/EUA/wxHexEditor Source: https://github.com/EUA/wxHexEditor/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE wxhexeditor-0.23-mhash.patch lazy.kent@opensuse.org -- Use system mhash library. Patch0: %{name}-0.23-mhash.patch # PATCH-FIX-OPENSUSE wxhexeditor-remove-debug.patch zaitor@opensuse.org -- Remove debug msg that include nonsense. Patch1: wxhexeditor-remove-debug.patch # PATCH-FIX-UPSTREAM wxhexeditor-fixdesktopfile.patch davejplater@gmail.com -- Fix desktop file Patch2: wxhexeditor-fixdesktopfile.patch # PATCH-FIX-UPSTREAM - https://github.com/EUA/wxHexEditor/issues/90 Patch3: wxhexeditor-fix-arm.patch # PATCH-FEATURE-UPSTREAM - https://github.com/EUA/wxHexEditor/pull/173 Patch4: wxhexeditor-appdata.patch # PATCH-FIX-UPSTREAM ebe2449fac22089825d124935a215fd1c0739403.patch -- Fix build for wxWidgets v3.1.2 Patch5: https://github.com/EUA/wxHexEditor/commit/ebe2449fac22089825d124935a215fd1c0739403.patch %if %{with gcc6} %if 0%{?sle_version} >= 120200 #!BuildIgnore: libgcc_s1 BuildRequires: cpp6 BuildRequires: gcc6 BuildRequires: gcc6-c++ %endif %endif BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: mhash-devel BuildRequires: pkg-config BuildRequires: update-desktop-files BuildRequires: wxWidgets-devel Recommends: %{name}-lang %description wxHexEditor is a hex editor that is capable of handling very large files. It supports files up to 2^64 bytes. It can also act as a disk editor. Features: * Small footprint on RAM; * Raw Disk Access (on POSIX systems); * Does not create temporary files. %lang_package %prep %setup -q -n %{_name}-%{version} rm -rf mhash %patch -P 0 -p0 %patch -P 1 -p0 %patch -P 2 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 chmod -x docs/* cp -v udis86/LICENSE LICENSE-udis86 cp -v docs/GPL.txt . %build %if %{with gcc6} %if 0%{?sle_version} >= 120200 export CC=gcc-6 export CPP=cpp-6 export CXX=g++-6 %endif %endif make %{?_smp_mflags} V=1 \ %if 0%{?suse_version} > 1320 PYTHON='%{_bindir}/python3' \ %endif CFLAGS='%{optflags}' \ CXXFLAGS='%{optflags}' %install %make_install PREFIX=%{_prefix} %find_lang %{_name} %{?no_lang_C} install resources/wxhexeditor.xml -Dm0644 %{buildroot}%{_datadir}/metainfo/wxhexeditor.xml %post %desktop_database_post %postun %desktop_database_postun %files %defattr(-,root,root) %doc docs/Change.log README.md %license GPL.txt LICENSE-udis86 %{_bindir}/%{_name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/pixmaps/%{_name}.png %{_datadir}/metainfo/wxhexeditor.xml %files lang -f %{_name}.lang %defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor