2018-07-10 11:54:42 +00:00
|
|
|
#
|
2018-07-09 21:51:22 +00:00
|
|
|
# spec file for package package-update-indicator
|
|
|
|
#
|
2022-09-23 13:33:23 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
# Copyright (c) 2022 SUSE Software Solutions Germany GmbH, Nuernberg, Germany.
|
2018-07-09 21:51:22 +00:00
|
|
|
# Copyright (c) 2018 B1 Systems GmbH, Vohburg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-15 21:22:54 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-07-10 11:54:42 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-07-09 21:51:22 +00:00
|
|
|
Name: package-update-indicator
|
2022-09-23 13:33:23 +00:00
|
|
|
Version: 8
|
2018-07-09 21:51:22 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Package update status notification applet
|
2018-07-10 11:54:42 +00:00
|
|
|
License: MIT
|
2018-07-09 21:51:22 +00:00
|
|
|
Group: System/Daemons
|
2018-07-10 11:54:42 +00:00
|
|
|
URL: https://code.guido-berhoerster.org/projects/package-update-indicator
|
2022-09-23 13:33:23 +00:00
|
|
|
Source0: https://code.guido-berhoerster.org/projects/package-update-indicator/downloads/%{name}-%{version}.tar.gz
|
2018-07-10 11:54:42 +00:00
|
|
|
Source1: 10_opensuse_update_command.gschema.override
|
2022-09-23 13:33:23 +00:00
|
|
|
Source2: LICENSE
|
2018-07-09 21:51:22 +00:00
|
|
|
BuildRequires: docbook5-xsl-stylesheets
|
2022-09-23 13:33:23 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc
|
2018-07-09 21:51:22 +00:00
|
|
|
BuildRequires: gettext >= 0.19
|
2022-09-23 13:33:23 +00:00
|
|
|
BuildRequires: gmake >= 3.81
|
2018-07-10 11:54:42 +00:00
|
|
|
BuildRequires: pkgconfig
|
2018-07-09 21:51:22 +00:00
|
|
|
BuildRequires: xsltproc
|
|
|
|
BuildRequires: pkgconfig(appindicator3-0.1) >= 12.10.0
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.48
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18
|
|
|
|
BuildRequires: pkgconfig(packagekit-glib2) >= 0.8.17
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.105
|
|
|
|
BuildRequires: pkgconfig(upower-glib) >= 0.99.0
|
2019-04-16 07:04:16 +00:00
|
|
|
Obsoletes: pk-update-icon <= 3
|
2018-07-10 11:54:42 +00:00
|
|
|
Recommends: gnome-packagekit
|
2022-09-23 13:33:23 +00:00
|
|
|
%glib2_gsettings_schema_requires
|
2018-07-09 21:51:22 +00:00
|
|
|
|
|
|
|
%description
|
2022-09-23 13:33:23 +00:00
|
|
|
The package-update-indicator utility regularly checks for software
|
|
|
|
updates and notifies the user about available updates using
|
|
|
|
desktop notifications and either a status notifier icon or a
|
|
|
|
system tray icon.
|
|
|
|
|
|
|
|
It is primarily intended for desktops which do not already have
|
|
|
|
this functionality built-in, such as Xfce.
|
2018-07-09 21:51:22 +00:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2019-04-15 21:22:54 +00:00
|
|
|
%autosetup
|
2022-09-23 13:33:23 +00:00
|
|
|
cp -av '%{SOURCE2}' '.'
|
2018-07-09 21:51:22 +00:00
|
|
|
|
|
|
|
%build
|
2022-09-23 13:33:23 +00:00
|
|
|
%make_build 'prefix=%{_prefix}' 'GLIB_COMPILE_SCHEMAS=:' 'CFLAGS=%{optflags}' 'CC=gcc'
|
2018-07-09 21:51:22 +00:00
|
|
|
|
|
|
|
%install
|
2022-09-23 13:33:23 +00:00
|
|
|
%make_install 'prefix=%{_prefix}' 'GLIB_COMPILE_SCHEMAS=:'
|
|
|
|
|
|
|
|
# Stage gsettings override into destroot.
|
|
|
|
install -m 0644 '%{SOURCE1}' '%{buildroot}%{_datadir}/glib-2.0/schemas/'
|
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
2018-07-09 21:51:22 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%files
|
2022-09-23 13:33:23 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README
|
|
|
|
%config %{_sysconfdir}/xdg/autostart/org.guido-berhoerster.code.%{name}.desktop
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}-prefs
|
|
|
|
%{_datadir}/applications/org.guido-berhoerster.code.%{name}.preferences.desktop
|
2018-07-10 11:54:42 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/10_opensuse_update_command.gschema.override
|
2022-09-23 13:33:23 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.guido-berhoerster.code.%{name}.gschema.xml
|
|
|
|
%{_mandir}/man1/%{name}-prefs.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2018-07-09 21:51:22 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|