File polkit-kde-agent-1.spec of Package polkit-kde-agent-1

#
# spec file for package polkit-kde-agent-1 (Version 0.99.0)
#
# Copyright (c) 2010 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:           polkit-kde-agent-1
BuildRequires:  automoc4 cmake kde4-filesystem libqt4-devel
BuildRequires:  libkde4-devel libpolkit-qt-1-devel
License:        GPLv2 ; LGPLv2.1+
Group:          Development/Libraries/KDE
Summary:        PolicyKit authentication agent for KDE
Version:        0.99.0
Release:        1
Url:            http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/
Source0:        %{name}-%{version}.tar.bz2
Obsoletes:      polkit-kde-1 < %{version}
Provides:       polkit-kde-1 = %{version}
Requires:       polkit-kde-kcmmodules-1

%description
Provides Policy Kit Authentication Agent that nicely fits to KDE.


Authors:
--------
    Daniel Nicoletti <dantti85-pk@yahoo.com.br>
    Dario Freddi <drf54321@gmail.com>

%prep
%setup -n %{name}-%{version}

%build
  %cmake_kde4 -d build 
  %make_jobs

%install
  cd build
  %makeinstall
  cd ..

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/share/autostart/polkit-kde-authentication-agent-1.desktop
%{_libdir}/kde4/libexec/polkit-kde-authentication-agent-1
%_kde4_appsdir/policykit1-kde/

%changelog