Accepting request 714291 from home:iznogood:branches:GNOME:Apps

Drop obsolete stuff :-)

OBS-URL: https://build.opensuse.org/request/show/714291
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/genius?expand=0&rev=49
This commit is contained in:
Bjørn Lie 2019-07-09 21:31:03 +00:00 committed by Git OBS Bridge
parent d42f7f6ec2
commit cb4e762725
2 changed files with 20 additions and 33 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Jul 9 19:17:17 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop rarian-scrollkeeper-compat BuildRequires and stop passing
--disable-scrollkeeper to configure: No longer needed nor used or
recognized.
- Drop translation-update-upstream BuildRequires and macro: genius
is no longer in the t-u-u database, so no extra translations
available.
- Update macros to current standard.
- Drop conditional hicolor-icon-theme, shared-mime-info and
update-desktop-files BuildRequires and post(un) handling of
relevant macros as well as gtk3-tools, update-desktop-files and
shared-mime-info Requires(post(un)): No longer needed for any
current supported version of openSUSE.
-------------------------------------------------------------------
Wed Jun 13 02:48:28 UTC 2018 - luc14n0@linuxmail.org

View File

@ -1,7 +1,7 @@
#
# spec file for package genius
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -30,9 +30,7 @@ BuildRequires: intltool
BuildRequires: mpfr-devel >= 2.3.0
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: rarian-scrollkeeper-compat
BuildRequires: readline-devel
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
@ -42,11 +40,6 @@ BuildRequires: pkgconfig(gtksourceview-2.0) >= 0.3.0
BuildRequires: pkgconfig(pango) >= 1.22.0
BuildRequires: pkgconfig(x11)
Recommends: %{name}-lang
%if 0%{?suse_version} < 1330
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
BuildRequires: shared-mime-info
%endif
%description
Genius is a general purpose calculator program similar in some aspects
@ -61,14 +54,6 @@ Many of the standard genius functions are written in GEL itself.
Summary: GNOME interface for Genius, a general purpose calculator
Group: Productivity/Scientific/Math
Requires: %{name} = %{version}
%if 0%{?suse_version} < 1330
Requires(post): gtk3-tools
Requires(post): update-desktop-files
Requires(post): shared-mime-info
Requires(postun): gtk3-tools
Requires(postun): update-desktop-files
Requires(postun): shared-mime-info
%endif
%description -n gnome-genius
Genius is a general purpose calculator program similar in some aspects
@ -90,16 +75,14 @@ mimics how mathematics is usually written.
%lang_package
%prep
%setup -q
translation-update-upstream
%autosetup -p1
%build
export CFLAGS="%{optflags} -fstack-protector"
%configure \
--libexec=%{_libexecdir}/genius \
--disable-scrollkeeper \
--disable-update-mimedb
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -112,18 +95,6 @@ rm %{buildroot}%{_datadir}/mime-info/genius.*
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}/genius
%if 0%{?suse_version} < 1330
%post -n gnome-genius
%desktop_database_post
%icon_theme_cache_post
%mime_database_post
%postun -n gnome-genius
%desktop_database_postun
%icon_theme_cache_postun
%mime_database_postun
%endif
%files
%license COPYING
%doc NEWS README