File polkit-kde-kcmmodules-1.spec of Package polkit-kde-kcmmodules-1
#
# spec file for package polkit-kde-kcmmodules-1 (Version 0.98.1)
#
# 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/
#
# norootforbuild
%define debug_package_requires libpolkit-kde-1-0 = %{version}-%{release}
Name: polkit-kde-kcmmodules-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 systemsettings modules for KDE
Version: 0.98.1
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
Requires: polkit-kde-agent-1
%description
Provides Policy Kit Authentication systemsettings 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)
%_kde4_modulesdir/kcm_polkitactions.so
%_kde4_modulesdir/kcm_polkitconfig.so
%_kde4_servicesdir/kcm_polkitactions.desktop
%_kde4_servicesdir/kcm_polkitconfig.desktop
%_kde4_servicesdir/settings-system-policies.desktop
%{_datadir}/polkit-1/actions/org.kde.polkitkde1.policy
%_kde4_modulesdir/libexec/polkitkde1helper
%{_datadir}/dbus-1/system-services/org.kde.polkitkde1.helper.service
/etc/dbus-1/system.d/org.kde.polkitkde1.helper.conf
%changelog