Accepting request 81414 from GNOME:Apps

Pushing G:A

OBS-URL: https://build.opensuse.org/request/show/81414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghex?expand=0&rev=26
This commit is contained in:
Sascha Peilicke 2011-09-09 09:15:08 +00:00 committed by Git OBS Bridge
commit c895f1970f
4 changed files with 50 additions and 23 deletions

View File

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

3
ghex-2.90.2.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Sep 6 06:24:54 UTC 2011 - vuntz@opensuse.org
- Update to version 2.90.2:
+ Fix endianess conversion for 64-bit floating point (bgo#625968,
bgo#648644)
+ Update oudated FSF mailing address (bgo#656596)
+ Build system cleanups (bgo#656919)
+ Updated translations.
- Remove renaming hack of sr@Latn to sr@latin: fixed upstream.
- Stop changing Name and GenericName in .desktop file: they're
correct upstream.
- Remove sed hack to remove Development category in .desktop file,
and instead use -r in %suse_update_desktop_file to replace
existing categories. Add GNOME category too.
- Drop explicit Requires for atk-devel, gail-devel, gtk2-devel in
devel subpackage: the right Requires will automatically be added
the pkgconfig() way.
- Split library in libgtkhex-3-0 subpackage, to follow shared
library packaging policy.
-------------------------------------------------------------------
Mon Aug 15 19:37:07 CEST 2011 - dimstar@opensuse.org

View File

@ -18,14 +18,14 @@
Name: ghex
Version: 2.90.1
Version: 2.90.2
Release: 1
License: GPLv2+
Summary: GNOME Binary Editor
Url: http://www.gnome.org/
Group: Development/Tools/Other
Source: http://download.gnome.org/sources/ghex/2.90/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM ghex-empty-search-crash.patch bgo532184
# PATCH-FIX-UPSTREAM ghex-empty-search-crash.patch bgo#473208
Patch7: ghex-empty-search-crash.patch
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
@ -45,14 +45,21 @@ 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 libgtkhex-3-0
License: GPLv2+
Summary: GNOME Binary Editor -- Library
Group: System/Libraries
%description -n libgtkhex-3-0
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
License: GPLv2+
Summary: GNOME Binary Editor
Group: Development/Tools/Other
Requires: %{name} = %{version}
Requires: atk-devel
Requires: gail-devel
Requires: gtk2-devel
Summary: GNOME Binary Editor -- Development Files
Group: Development/Libraries/GNOME
Requires: libgtkhex-3-0 = %{version}
%description devel
GHex allows the user to load data from any file and to view and edit it
@ -75,13 +82,7 @@ make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name "*.la" -type f -delete -print
%suse_update_desktop_file -N GHex -G "Hex Editor" %name Utility Editor
sed -e "s@;Development;@;@" < %{buildroot}%{_datadir}/applications/ghex.desktop \
> %{buildroot}%{_datadir}/applications/ghex.desktop.new
mv %{buildroot}%{_datadir}/applications/ghex.desktop.new \
%{buildroot}%{_datadir}/applications/ghex.desktop
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%suse_update_desktop_file -r %name GNOME Utility Editor
%find_lang %{name}-3.0 %{?no_lang_C}
%find_lang %{name} ghex-3.0.lang %{?no_lang_C}
%fdupes -s %{buildroot}
@ -90,7 +91,6 @@ mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@lati
rm -rf %{buildroot}
%post
/sbin/ldconfig
%if 0%{?suse_version} > 1130
%desktop_database_post
%icon_theme_cache_post
@ -98,20 +98,20 @@ rm -rf %{buildroot}
%endif
%postun
/sbin/ldconfig
%if 0%{?suse_version} > 1130
%desktop_database_postun
%icon_theme_cache_postun
%glib2_gsettings_schema_postun
%endif
%files lang -f %{name}-3.0.lang
%post -n libgtkhex-3-0 -p /sbin/ldconfig
%postun -n libgtkhex-3-0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README COPYING COPYING-DOCS AUTHORS
%{_bindir}/ghex
%{_libdir}/libgtkhex-3.so.*
%{_datadir}/applications/ghex.desktop
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
@ -121,7 +121,11 @@ rm -rf %{buildroot}
%{_datadir}/%{name}/
%dir %{_datadir}/gnome/help/%{name}
%doc %{_datadir}/gnome/help/%{name}/C/
%{_datadir}/omf/%{name}/%{name}-C.omf
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%files -n libgtkhex-3-0
%defattr(-,root,root)
%{_libdir}/libgtkhex-3.so.*
%files devel
%defattr(-,root,root)
@ -129,4 +133,6 @@ rm -rf %{buildroot}
%{_libdir}/libgtkhex-3.so
%{_libdir}/pkgconfig/gtkhex-3.pc
%files lang -f %{name}-3.0.lang
%changelog