File kde4-print-manager.spec of Package kde4-print-manager

#
# spec file for package kde4-print-manager
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 24.9.90 Raymond Wooninck <tittiatcoke@gmail.com>
#
# 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:           kde4-print-manager
BuildRequires:  cups
BuildRequires:  cups-backends
BuildRequires:  cups-client
BuildRequires:  cups-devel
BuildRequires:  cups-pk-helper
BuildRequires:  kdebase4-workspace-devel
BuildRequires:  libkde4-devel
Url:            http://dantti.wordpress.com/24.9.90/02/12/print-manager/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        A new print manager for KDE 4
License:        GPL-2.0+
Group:          System/GUI/KDE
Version:        14.12.3
Release:        0
Source:         print-manager-%{version}.tar.xz
Obsoletes:      kde4-printer-applet < 4.9.80
Provides:       kde4-printer-applet = %{version}
Obsoletes:      print-manager <= %{version}
Provides:       print-manager = %{version}
%kde4_runtime_requires

%description
This project aims to be a full replacement for the
current printing management of KDE.

* It should be small and fast
* Simple and functional
* Very well integrated

Author(s):
  Dantti 


%prep
%setup -n print-manager-%{version} -q

%build %cmake_kde4 -d build -- -DCUPS_INCLUDE_DIR=/usr/include/cups
  %make_jobs

%install
  %kde4_makeinstall -C build
  %kde_post_install

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README
%dir %{_kde4_appsdir}/printmanager
%{_kde4_bindir}/kde-add-printer
%{_kde4_bindir}/kde-print-queue
%{_kde4_libdir}/libkcupslib.so*
%{_kde4_modulesdir}/kcm_printer_manager.so
%{_kde4_modulesdir}/kded_printmanager.so
%{_kde4_servicesdir}/kcm_printer_manager.desktop
%{_kde4_appsdir}/printmanager/printmanager.notifyrc
%{_kde4_servicesdir}/kded/printmanager.desktop
%{_kde4_servicesdir}/plasma-applet-printmanager.desktop
%{_kde4_appsdir}/plasma/
%{_kde4_libexecdir}/configure-printer
%{_datadir}/dbus-1/services/org.kde.ConfigurePrinter.service 
%{_kde4_modulesdir}/imports/org/kde/printmanager/
%{_kde4_modulesdir}/plugins/designer/printmanagerwidget.so

%changelog
openSUSE Build Service is sponsored by