diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..07d3b7a --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (C) 2018 Guido Berhoerster + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/org.guido-berhoerster.code.package-update-indicator.desktop.in.patch b/org.guido-berhoerster.code.package-update-indicator.desktop.in.patch deleted file mode 100644 index 3c7987b..0000000 --- a/org.guido-berhoerster.code.package-update-indicator.desktop.in.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- org.guido-berhoerster.code.package-update-indicator.desktop.in 2019-08-30 13:34:56.000000000 +0200 -+++ org.guido-berhoerster.code.package-update-indicator.desktop.in.2 2020-06-10 16:16:58.114986650 +0200 -@@ -7,4 +7,4 @@ - Terminal=false - Type=Application - Categories=Utility;GTK;TrayIcon; --NotShowIn=GNOME; -+NotShowIn=GNOME;KDE; diff --git a/package-update-indicator-7.tar.gz b/package-update-indicator-7.tar.gz deleted file mode 100644 index a78e845..0000000 --- a/package-update-indicator-7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00376fd305a9fdbd085b1e48e0f24a54118b377d29b31a4d6387430ead74ceb3 -size 33630 diff --git a/package-update-indicator-8.tar.gz b/package-update-indicator-8.tar.gz new file mode 100644 index 0000000..e17b481 --- /dev/null +++ b/package-update-indicator-8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41f8f98faf12ed108dd678d2d0fc4c3aa80eaa82c353c0f5c20997f70cfbac56 +size 37370 diff --git a/package-update-indicator.changes b/package-update-indicator.changes index 342ad69..152a1a5 100644 --- a/package-update-indicator.changes +++ b/package-update-indicator.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Wed Sep 7 18:03:50 UTC 2022 - Stefan Seyfried + +- Update to version 8: + * Add setting to disable preferences widgets + * Fix typos and improve German translations + * Add new setting to hide indicator menu items + * Add new setting "always-active" + * Add Brazilian Portugese translations + * Add Dutch translations + * Do not hardcode pkg-config + * Fix desktop files + * Remove translated icon names + * Add Spanish translations +- remove obsolete patch + org.guido-berhoerster.code.package-update-indicator.desktop.in.patch +- Changes by Mihai Moldovan : + * Update copyright notice. + * Add properly extracted license. + * Check destroot with fdupes for good measure. + * Make some dependencies more explicit and remove duplicate + ones (xsltproc vs. libxml2-tools). + * Add glib gsettings schemas macros. + * Reflow description to 67 characters. + * Use more (single) quotes. + * Re-sort files list alphabetically, use %{name} to avoid + redundancy. + ------------------------------------------------------------------- Wed Nov 18 12:01:36 UTC 2020 - Stefan Seyfried diff --git a/package-update-indicator.spec b/package-update-indicator.spec index 2d8386e..5de5965 100644 --- a/package-update-indicator.spec +++ b/package-update-indicator.spec @@ -1,7 +1,8 @@ # # spec file for package package-update-indicator # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2022 SUSE Software Solutions Germany GmbH, Nuernberg, Germany. # Copyright (c) 2018 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,18 +19,20 @@ Name: package-update-indicator -Version: 7 +Version: 8 Release: 0 Summary: Package update status notification applet License: MIT Group: System/Daemons 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 +Source0: https://code.guido-berhoerster.org/projects/package-update-indicator/downloads/%{name}-%{version}.tar.gz Source1: 10_opensuse_update_command.gschema.override -Patch0: org.guido-berhoerster.code.package-update-indicator.desktop.in.patch +Source2: LICENSE BuildRequires: docbook5-xsl-stylesheets +BuildRequires: fdupes +BuildRequires: gcc BuildRequires: gettext >= 0.19 -BuildRequires: libxml2-tools +BuildRequires: gmake >= 3.81 BuildRequires: pkgconfig BuildRequires: xsltproc BuildRequires: pkgconfig(appindicator3-0.1) >= 12.10.0 @@ -40,33 +43,47 @@ BuildRequires: pkgconfig(polkit-gobject-1) >= 0.105 BuildRequires: pkgconfig(upower-glib) >= 0.99.0 Obsoletes: pk-update-icon <= 3 Recommends: gnome-packagekit +%glib2_gsettings_schema_requires %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. +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. %lang_package %prep %autosetup +cp -av '%{SOURCE2}' '.' %build -%make_build prefix=%{_prefix} GLIB_COMPILE_SCHEMAS=: CFLAGS="%{optflags}" CC=gcc +%make_build 'prefix=%{_prefix}' 'GLIB_COMPILE_SCHEMAS=:' 'CFLAGS=%{optflags}' 'CC=gcc' %install -%make_install prefix=%{_prefix} GLIB_COMPILE_SCHEMAS=: -install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas/ +%make_install 'prefix=%{_prefix}' 'GLIB_COMPILE_SCHEMAS=:' + +# Stage gsettings override into destroot. +install -m 0644 '%{SOURCE1}' '%{buildroot}%{_datadir}/glib-2.0/schemas/' + +%fdupes %{buildroot} + %find_lang %{name} %{?no_lang_C} %files -%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 +%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 %{_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} +%{_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} %files lang -f %{name}.lang