New stable rel

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/ghex?expand=0&rev=99
This commit is contained in:
Bjørn Lie 2025-02-10 17:00:14 +00:00 committed by Git OBS Bridge
commit 83598b15a4
9 changed files with 1182 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/ghex.git</param>
<param name="revision">46.2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
ghex-46.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f61893399fe165683c4a5ba89780b7028e5402d7e5247baf36b215d1759f9fdd
size 4305932

3
ghex-46.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f489e6dc4ac8b82a8b7ab30c3a6e74cf3018d08af188b0461d567622ad73699
size 4319244

3
ghex-46.2.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73a7608c215013d3a50da76f48a5c6688aed20b1a87354f1d59d2905a4cb5476
size 4320268

1002
ghex.changes Normal file

File diff suppressed because it is too large Load Diff

4
ghex.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: ghex
version: 46.2
mtime: 1738961938
commit: 60e145c218ac3ef1e4ee5b616b1d90e43cec49fb

124
ghex.spec Normal file
View File

@ -0,0 +1,124 @@
#
# spec file for package ghex
#
# Copyright (c) 2025 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/
#
%define ghex_abi 4
%define so_ver 1
%define so_ver_ext 0
%define soname libgtkhex-%{ghex_abi}-%{so_ver}
Name: ghex
Version: 46.2
Release: 0
Summary: GNOME Binary Editor
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://wiki.gnome.org/Apps/Ghex
Source: %{name}-%{version}.tar.zst
BuildRequires: fdupes
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(atk) >= 1.0.0
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.31.10
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
# Obsoletes libgtkhex-4-0 can be dropped when SLED/Leap 15.5 is out of support
Obsoletes: libgtkhex-4-0 < %{version}
%description
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
%package -n %{soname}
Summary: GNOME Binary Editor -- Library
Group: System/Libraries
%description -n %{soname}
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
%package devel
Summary: GNOME Binary Editor -- Development Files
Group: Development/Libraries/GNOME
Requires: %{soname} = %{version}
%description devel
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
%package -n typelib-1_0-Hex-%{ghex_abi}
Summary: Introspection bindings for ghex
Group: System/Libraries
%description -n typelib-1_0-Hex-%{ghex_abi}
This package provides introspection bindings for ghex.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file -r org.gnome.GHex GNOME Utility Editor
%find_lang %{name} ghex-%{ghex_abi}-%{so_ver}.%{so_ver_ext}.lang %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
%ldconfig_scriptlets -n %{soname}
%files
%license COPYING
%doc README.md COPYING-DOCS
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/ghex
%{_datadir}/metainfo/org.gnome.GHex.appdata.xml
%{_datadir}/applications/org.gnome.GHex.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.GHex*
# Not split out as they are private to ghex
%dir %{_libdir}/gtkhex-%{ghex_abi}.%{so_ver_ext}
%{_libdir}/gtkhex-%{ghex_abi}.%{so_ver_ext}/*.so
%files -n %{soname}
%{_libdir}/libgtkhex-%{ghex_abi}.so.*
%files -n typelib-1_0-Hex-%{ghex_abi}
%{_libdir}/girepository-1.0/Hex-%{ghex_abi}.typelib
%files devel
%{_includedir}/gtkhex-%{ghex_abi}/
%{_libdir}/libgtkhex-%{ghex_abi}.so
%{_libdir}/pkgconfig/gtkhex-%{ghex_abi}.pc
%{_datadir}/gir-1.0/Hex-%{ghex_abi}.gir
%files lang -f %{name}-%{ghex_abi}-%{so_ver}.%{so_ver_ext}.lang
%changelog