forked from pool/package-update-indicator
67 lines
2.5 KiB
RPMSpec
67 lines
2.5 KiB
RPMSpec
|
# 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
|