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 Mon Aug 15 19:37:07 CEST 2011 - dimstar@opensuse.org

View File

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