File tellico.spec of Package tellico

# spec file for package tellico
# Copyright (c) 2019 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

Name:           tellico
Version:        3.2.3
Release:        0
Summary:        A Collection Manager
License:        GPL-2.0-or-later
Group:          Productivity/Office/Other
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  libcdio-devel
BuildRequires:  libcsv-devel
BuildRequires:  libexempi-devel
BuildRequires:  libkcddb-devel
BuildRequires:  libpoppler-qt5-devel
BuildRequires:  libv4l-devel
BuildRequires:  libxslt-devel
BuildRequires:  libyaz-devel
BuildRequires:  pkgconfig
BuildRequires:  taglib-devel
BuildRequires:  cmake(KF5Archive)
BuildRequires:  cmake(KF5Codecs)
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5ConfigWidgets)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5Crash)
BuildRequires:  cmake(KF5DocTools)
BuildRequires:  cmake(KF5FileMetaData)
BuildRequires:  cmake(KF5GuiAddons)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5IconThemes)
BuildRequires:  cmake(KF5ItemModels)
BuildRequires:  cmake(KF5JobWidgets)
BuildRequires:  cmake(KF5KHtml)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5NewStuff)
BuildRequires:  cmake(KF5Sane)
BuildRequires:  cmake(KF5Solid)
BuildRequires:  cmake(KF5Wallet)
BuildRequires:  cmake(KF5WidgetsAddons)
BuildRequires:  cmake(KF5WindowSystem)
BuildRequires:  cmake(KF5XmlGui)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Network)
BuildRequires:  cmake(Qt5Test)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  cmake(Qt5Xml)
BuildRequires:  pkgconfig(libxml-2.0)
Recommends:     %{name}-lang = %{version}
%if 0%{?suse_version}
BuildRequires:  update-desktop-files

Tellico is an application for organizing your collections. It provides
default templates for books, bibliographies, videos, music, video games, coins,
stamps, trading cards, comic books, and wines.


%setup -q

%cmake_kf5 "-DENABLE_WEBCAM=true" -d build

%kf5_makeinstall -C build

%if 0%{?suse_version}
%suse_update_desktop_file -r org.kde.%{name} Qt KDE Office Database

%find_lang %{name}


%fdupes -s %{buildroot}

%license COPYING
%dir %{_kf5_appsdir}/kconf_update
%dir %{_kf5_appstreamdir}
%config %{_kf5_configdir}/tellico*
%dir %{_kf5_configkcfgdir}
%doc %{_kf5_htmldir}/en/tellico/

%files lang -f %{name}.lang