Accepting request 582684 from GNOME:Apps
spec-cleaner (forwarded request 581056 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582684 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghex?expand=0&rev=54
This commit is contained in:
commit
d1c7670592
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:26:28 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 13:14:53 UTC 2016 - zaitor@opensuse.org
|
Wed Oct 12 13:14:53 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
27
ghex.spec
27
ghex.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghex
|
# spec file for package ghex
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,12 +20,13 @@ Name: ghex
|
|||||||
Version: 3.18.3
|
Version: 3.18.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNOME Binary Editor
|
Summary: GNOME Binary Editor
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
Source: http://download.gnome.org/sources/ghex/3.18/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/ghex/3.18/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: yelp-tools
|
BuildRequires: yelp-tools
|
||||||
@ -34,7 +35,6 @@ BuildRequires: pkgconfig(gail-3.0)
|
|||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.31.10
|
BuildRequires: pkgconfig(gio-2.0) >= 2.31.10
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.8
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.8
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,8 +62,9 @@ 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.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n ghex-%{version}
|
%setup -q -n ghex-%{version}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -73,16 +74,13 @@ translation-update-upstream
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
find %{buildroot}%{_libdir} -name "*.la" -type f -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%suse_update_desktop_file -r %name GNOME Utility Editor
|
%suse_update_desktop_file -r %{name} GNOME Utility Editor
|
||||||
%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}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
@ -98,12 +96,11 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n libgtkhex-3-0 -p /sbin/ldconfig
|
%post -n libgtkhex-3-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libgtkhex-3-0 -p /sbin/ldconfig
|
%postun -n libgtkhex-3-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc README COPYING COPYING-DOCS AUTHORS
|
%doc README COPYING-DOCS AUTHORS
|
||||||
%{_bindir}/ghex
|
%{_bindir}/ghex
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/ghex.appdata.xml
|
%{_datadir}/appdata/ghex.appdata.xml
|
||||||
@ -121,11 +118,9 @@ rm -rf %{buildroot}
|
|||||||
%doc %{_datadir}/help/C/%{name}/
|
%doc %{_datadir}/help/C/%{name}/
|
||||||
|
|
||||||
%files -n libgtkhex-3-0
|
%files -n libgtkhex-3-0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libgtkhex-3.so.*
|
%{_libdir}/libgtkhex-3.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/gtkhex-3/
|
%{_includedir}/gtkhex-3/
|
||||||
%{_libdir}/libgtkhex-3.so
|
%{_libdir}/libgtkhex-3.so
|
||||||
%{_libdir}/pkgconfig/gtkhex-3.pc
|
%{_libdir}/pkgconfig/gtkhex-3.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user