forked from pool/package-update-indicator
Accepting request 621881 from home:seife:xfce
add 10_opensuse_update_command.gschema.override OBS-URL: https://build.opensuse.org/request/show/621881 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/package-update-indicator?expand=0&rev=2
This commit is contained in:
parent
c72263aaa0
commit
43cd48381a
2
10_opensuse_update_command.gschema.override
Normal file
2
10_opensuse_update_command.gschema.override
Normal file
@ -0,0 +1,2 @@
|
||||
[org.guido-berhoerster.code.package-update-indicator]
|
||||
update-command='/usr/bin/gpk-update-viewer'
|
@ -1,13 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 745b3e6..2a2a215 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -231,7 +231,7 @@ install: all
|
||||
$(DESTDIR)$(datadir)/glib-2.0/schemas/$${schema}; \
|
||||
done
|
||||
[ -n "$(GSETTINGS_SCHEMAS)" ] && \
|
||||
- $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas
|
||||
+ $(GLIB_COMPILE_SCHEMAS) $(DESTDIR)$(datadir)/glib-2.0/schemas
|
||||
$(INSTALL.data) $(AUTOSTART_FILE) \
|
||||
$(DESTDIR)$(xdgautostartdir)/$(AUTOSTART_FILE)
|
||||
for desktop_file in $(DESKTOP_FILES); do \
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 10 08:53:29 UTC 2018 - seife+obs@b1-systems.com
|
||||
|
||||
- add 10_opensuse_update_command.gschema.override for update
|
||||
program default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 9 19:53:44 UTC 2018 - seife+obs@b1-systems.com
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#
|
||||
# spec file for package package-update-indicator
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 B1 Systems GmbH, Vohburg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -11,19 +13,23 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: package-update-indicator
|
||||
Version: 1
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Package update status notification applet
|
||||
Url: https://code.guido-berhoerster.org/projects/package-update-indicator
|
||||
License: MIT
|
||||
Group: System/Daemons
|
||||
Source: https://code.guido-berhoerster.org/projects/package-update-indicator/downloads/package-update-indicator-%{version}.tar.gz
|
||||
Patch1: package-update-indicator-DESTDIR.diff
|
||||
URL: https://code.guido-berhoerster.org/projects/package-update-indicator
|
||||
Source: https://code.guido-berhoerster.org/projects/package-update-indicator/downloads/%{name}-%{version}.tar.gz
|
||||
Source1: 10_opensuse_update_command.gschema.override
|
||||
BuildRequires: docbook5-xsl-stylesheets
|
||||
BuildRequires: gettext >= 0.19
|
||||
BuildRequires: libxml2-tools
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xsltproc
|
||||
BuildRequires: pkgconfig(appindicator3-0.1) >= 12.10.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.48
|
||||
@ -31,6 +37,7 @@ 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
|
||||
Recommends: gnome-packagekit
|
||||
|
||||
%description
|
||||
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.
|
||||
@ -39,28 +46,26 @@ The package-update-indicator utility regularly checks for software updates and n
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} prefix=%{_prefix}
|
||||
make %{?_smp_mflags} prefix=%{_prefix} GLIB_COMPILE_SCHEMAS=: CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix}
|
||||
%make_install prefix=%{_prefix} GLIB_COMPILE_SCHEMAS=:
|
||||
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas/
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
rm %{buildroot}/usr/share/glib-2.0/schemas/gschemas.compiled
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README NEWS
|
||||
%{_sysconfdir}/xdg/autostart/org.guido-berhoerster.code.package-update-indicator.desktop
|
||||
%{_bindir}/package-update-indicator
|
||||
%{_bindir}/package-update-indicator-prefs
|
||||
%{_datadir}/applications/org.guido-berhoerster.code.package-update-indicator.preferences.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.guido-berhoerster.code.package-update-indicator.gschema.xml
|
||||
%{_mandir}/man1/package-update-indicator-prefs.1.gz
|
||||
%{_mandir}/man1/package-update-indicator.1.gz
|
||||
%{_datadir}/glib-2.0/schemas/10_opensuse_update_command.gschema.override
|
||||
%{_mandir}/man1/package-update-indicator-prefs.1%{?ext_man}
|
||||
%{_mandir}/man1/package-update-indicator.1%{?ext_man}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user