File skanlite.spec of Package skanlite
#
# spec file for package skanlite
#
# Copyright (c) 2016 SUSE LINUX 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: skanlite
Version: 1.1git
Release: 0
Summary: Image Scanner Application
License: LGPL-2.1+
Group: Hardware/Scanner
Url: http://kde-apps.org/content/show.php?content=109803
#Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kcoreaddons-devel
BuildRequires: kdoctools-devel
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRequires: ktextwidgets-devel
BuildRequires: kxmlgui-devel
BuildRequires: libksane-devel
BuildRequires: libpng-devel
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
Recommends: %{name}-doc = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Skanlite is an image scanner application for KDE 4.
%package doc
Summary: Documentation for skanlite
Group: Documentation/HTML
Requires: %{name} = %{version}
%description doc
This package provides the documentation for skanlite.
%prep
%setup -q -n %{name}
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%files
%defattr(-,root,root,-)
%doc src/COPYING src/TODO
%{_kf5_applicationsdir}/org.kde.skanlite.desktop
%{_bindir}/skanlite
%files doc
%defattr(-,root,root,-)
%doc %lang(en) %{_kf5_htmldir}/en/skanlite/
%changelog