tellico/tellico.spec
Christophe Marin 5a5d621f69 Accepting request 1087971 from home:victorhck:branches:KDE:Extra
- Update to 3.5
  Improvements and Bug Fixes:
  * New data sources for FilmAffinity, iTunes Search, and Gaming History were added.
  * Colnect can now be searched for comic books, sports cards, and video game results.
  * Screenshots were added to results from IGDB, MobyGames, and TheGamesDB.
  * The data sources for AMS Mathematical Review, Dark Horse Comics, KinoPoisk, and IBS were updated.
  * The label catalog number is an option for Discogs results (kde#452548).
  * Importing DataCrow files in exported XML format was added (kde#451138).
  * Collections can now be saved as empty template files, for later reuse (kde#450043).
  * New reports with an Image Grid and single entry per page were added (kde#452552).
  * A command-line option for importing PDF files was added.
  * An explicit filter rule for Bool fields was added.
  * Allowing regular expressions in the quick filter became an option (kde#450517).
  * A transparent background is now used in the initial view (kde#461777).
  * The https scheme is now supported for SRU sources (kde#463438).
  * The active filter is retained when selecting an entry (kde#462337).
  * Support for reading EPUB files with KFileMetaData was added (kde#450192).
  * The link color for entry templates can now be configured (kde#467150).
  * The SRU and z39.50 information for the US Library of Congress was updated.
  * Removed Fix-build-with-older-Qt-versions.patch, since it's included in source code.

OBS-URL: https://build.opensuse.org/request/show/1087971
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/tellico?expand=0&rev=88
2023-05-21 22:34:35 +00:00

129 lines
3.8 KiB
RPMSpec

#
# spec file for package tellico
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: tellico
Version: 3.5
Release: 0
Summary: A Collection Manager
License: GPL-2.0-or-later
Group: Productivity/Office/Other
URL: https://tellico-project.org/
Source0: https://tellico-project.org/files/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: libcsv-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Cddb)
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(KF5KIO)
BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5Sane)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(KF5Sonnet)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5Wallet)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5Charts)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: pkgconfig(exempi-2.0)
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(poppler-qt5)
BuildRequires: pkgconfig(taglib)
BuildRequires: pkgconfig(yaz)
# Needed to install/uninstall knewstuff downloads
Requires: /usr/bin/dbus-send
# QWebEngine is not available on ppc
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires: cmake(Qt5WebEngineWidgets)
%else
BuildRequires: cmake(KF5KHtml)
%endif
%description
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.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf5 "-DENABLE_WEBCAM=true" -d build
%cmake_build
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.%{name} Qt KDE Office Database
%find_lang %{name}
%{kf5_find_htmldocs}
%{kf5_post_install}
%fdupes -s %{buildroot}
%files
%license COPYING
%doc AUTHORS ChangeLog README.md
%config %{_kf5_configdir}/tellicorc
%dir %{_kf5_appsdir}/kconf_update
%doc %lang(en) %{_kf5_htmldir}/en/tellico/
%{_datadir}/mime/packages/tellico.xml
%{_kf5_applicationsdir}/org.kde.tellico.desktop
%{_kf5_appsdir}/kconf_update/tellico*
%{_kf5_appsdir}/tellico/
%{_kf5_appstreamdir}/org.kde.tellico.appdata.xml
%{_kf5_bindir}/tellico
%{_kf5_configkcfgdir}/tellico_config.kcfg
%{_kf5_iconsdir}/hicolor/*/apps/tellico.png
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-tellico.png
%{_kf5_knsrcfilesdir}/tellico*
%{_kf5_kxmlguidir}/tellico/
%files lang -f %{name}.lang
%changelog