File lxpolkit.spec of Package lxpolkit
#
# spec file for package lxpolkit
#
# Copyright (c) 2011 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/
#
# norootforbuild
Name: lxpolkit
Version: 0.1.0
Release: 1
Summary: Simple Policykit Authentication Agent
Group: System/GUI/LXDE
License: GPLv3
Url: http://www.lxde.org
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf automake fdupes gtk2-devel intltool
BuildRequires: fdupes pkg-config polkit-devel update-desktop-files
%description
LXPolkit is a simple PolicyKit authentication agent.
Authors:
--------
Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
%prep
%setup -q
%build
%configure \
--libexecdir=%{_libexecdir}/lxpolkit
%__make %{?jobs:-j%jobs} V=1
%install
%makeinstall
%suse_update_desktop_file %name
%find_lang %name
%fdupes -s %buildroot
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc README COPYING
%config %{_sysconfdir}/xdg/autostart/lxpolkit.desktop
%dir %{_libexecdir}/lxpolkit
%{_libexecdir}/lxpolkit/lxpolkit
%dir %{_datadir}/lxpolkit
%dir %{_datadir}/lxpolkit/ui
%{_datadir}/lxpolkit/ui/lxpolkit.ui
%changelog