commit c72263aaa0f0044f8ffe4ecde41b548a0c1311a4c0a0cdeb90a65748fdd72a4c Author: Stefan Seyfried Date: Mon Jul 9 21:51:22 2018 +0000 Accepting request 621779 from home:seife:xfce initial package OBS-URL: https://build.opensuse.org/request/show/621779 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/package-update-indicator?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/package-update-indicator-1.tar.gz b/package-update-indicator-1.tar.gz new file mode 100644 index 0000000..f602189 --- /dev/null +++ b/package-update-indicator-1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4b532d9840b93cbcbdc944fb65ed54b8bc52e7a6f9fd8ae83c5fd589bcc6140 +size 27170 diff --git a/package-update-indicator-DESTDIR.diff b/package-update-indicator-DESTDIR.diff new file mode 100644 index 0000000..5e2b153 --- /dev/null +++ b/package-update-indicator-DESTDIR.diff @@ -0,0 +1,13 @@ +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 \ diff --git a/package-update-indicator.changes b/package-update-indicator.changes new file mode 100644 index 0000000..b6ec766 --- /dev/null +++ b/package-update-indicator.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jul 9 19:53:44 UTC 2018 - seife+obs@b1-systems.com + +- initial package version 1 diff --git a/package-update-indicator.spec b/package-update-indicator.spec new file mode 100644 index 0000000..b2b4699 --- /dev/null +++ b/package-update-indicator.spec @@ -0,0 +1,66 @@ +# spec file for package package-update-indicator +# +# 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. + +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 +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 +BuildRequires: docbook5-xsl-stylesheets +BuildRequires: gettext >= 0.19 +BuildRequires: libxml2-tools +BuildRequires: pkg-config +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 + +%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. + +%lang_package + +%prep +%setup -q +%patch1 -p1 + +%build +make %{?_smp_mflags} prefix=%{_prefix} + +%install +%make_install prefix=%{_prefix} +%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 + +%files lang -f %{name}.lang +%defattr(-,root,root) + +%changelog