A new user interface for you! Read more...

File kprinter4.spec of Package kprinter4

#
# spec file for package kprinter4
#
# Copyright (c) 2013 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/
#


# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

Name:           kprinter4
Version:        11
Release:        0
Summary:        GUI for printing Postscript files
License:        GPL-3.0
Group:          System/GUI/KDE
Url:            https://github.com/credativ/kprinter4
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  libkde4-devel libspectre-devel gettext-tools update-desktop-files
%kde4_runtime_requires
#Requires:       

%description
kprinter4 is a GUI for printing Postscript files.


%prep
%setup -q

%build
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}
ln -s kprinter4 %{buildroot}/usr/bin/kprinter
%find_lang %name
%suse_update_desktop_file -u -r kprinter4 Qt KDE System Utility X-SuSE-PrintingUtility

%files -f %name.lang
%defattr(-,root,root,-)
/usr/bin/kprinter
/usr/bin/kprinter4
/usr/share/applications/kde4/kprinter4.desktop
/usr/share/icons/hicolor/*/apps/kprinter4.png
#lang /usr/share/locale/de/LC_MESSAGES/kprinter4.mo


%changelog