File pk-update-icon.spec of Package pk-update-icon
#
# spec file for package pk-update-icon
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pk-update-icon
Version: 0.2.2
Release: 0
Summary: Software Update Notifier based on PackageKit
License: GPL-2.0+
Group: System/Daemons
Url: http://gitorious.org/opensuse/pk-update-icon
Source: %{name}-%{version}.tar.gz
BuildRequires: intltool
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(packagekit-glib2)
BuildRequires: pkgconfig(unique-1.0)
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
Recommends: %{name}-lang
%description
pk-update-icon displays notifications and an icon in the tray area of the panel
when package updates are available.
%lang_package
%prep
%setup -q
%build
make %{?_smp_mflags} prefix=%{_prefix} CFLAGS="%{optflags}"
%install
%make_install prefix=%{_prefix}
%if 0%{?suse_version}
%suse_update_desktop_file %{name}
%endif
%find_lang %{name} %{?no_lang_C}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_sysconfdir}/xdg/autostart/%{name}.desktop
%files lang -f %{name}.lang
%changelog