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

#
# spec file for package polkit-kde-kcmmodules-1
#
# 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/
#


%define debug_package_requires libpolkit-kde-1-0 = %{version}-%{release}

Name:           polkit-kde-kcmmodules-1
Version:        0.98.1+git20110929
Release:        1
License:        GPLv2 ; LGPLv2.1+
Summary:        PolicyKit authentication systemsettings modules for KDE
Url:            https://projects.kde.org/projects/extragear/base/polkit-kde-kcmodules-1
Group:          Development/Libraries/KDE
# ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/
Source0:        %{name}-%{version}.tar.bz2
Source1:        rpmlintrc
BuildRequires:  libkde4-devel
BuildRequires:  libpolkit-qt-1-devel
Requires:       polkit-kde-agent-1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

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

%prep
%setup -q

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %make_install
  %kde_post_install
  cd ..

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_kde4_modulesdir}/kcm_polkitactions.so
%{_kde4_modulesdir}/kcm_polkitconfig.so
%{_libdir}/libpolkitkdekcmodulesprivate.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
%config %{_sysconfdir}/dbus-1/system.d/org.kde.polkitkde1.helper.conf

%changelog
openSUSE Build Service is sponsored by