8b3a6d0c54
- Update to 3.1.2: Improvements: * Updated KINO.de data source. * Updated Internet Movie Database (IMDB.com) data source. * Updated ISBNdb.com data source. * Updated MusicBrainz data source. Bug fixes: * Added workaround for crash when reading EXIV data (kde#390744). * Fixed bug with inconsistent selection (kde#391614). * Fixed bug with "Filter by Group" (kde#389931). - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#392457) - Use cmake() syntax for KF5 and Qt5 BuildRequires - Mark license files as %license OBS-URL: https://build.opensuse.org/request/show/592111 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/tellico?expand=0&rev=38
141 lines
4.0 KiB
RPMSpec
141 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package tellico
|
|
#
|
|
# Copyright (c) 2018 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: tellico
|
|
Version: 3.1.2
|
|
Release: 0
|
|
Summary: A Collection Manager for KDE
|
|
License: GPL-2.0+
|
|
Group: Productivity/Office/Other
|
|
Url: http://tellico-project.org/
|
|
Source0: http://tellico-project.org/files/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-UPSTREAM
|
|
Patch: fix-build-with-Qt5.6.patch
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: fdupes
|
|
BuildRequires: libcdio-devel
|
|
BuildRequires: libexempi-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)
|
|
Requires(post): shared-mime-info
|
|
Requires(postun): shared-mime-info
|
|
Recommends: %{name}-lang = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if 0%{?suse_version} > 1320 || (0%{?is_opensuse} && 0%{?sle_version} >= 120300)
|
|
BuildRequires: libcsv-devel
|
|
BuildRequires: libkcddb-devel
|
|
%endif
|
|
%if 0%{?suse_version}
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
|
|
%description
|
|
Tellico is a KDE 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
|
|
%setup -q
|
|
%patch -p1
|
|
|
|
%build
|
|
%cmake_kf5 "-DENABLE_WEBCAM=true" -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%if 0%{?suse_version}
|
|
%suse_update_desktop_file -r org.kde.%{name} Qt KDE Office Database
|
|
%endif
|
|
|
|
%find_lang %{name}
|
|
|
|
%kf5_post_install
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
%post
|
|
%mime_database_post
|
|
|
|
%postun
|
|
%mime_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog README
|
|
%{_kf5_applicationsdir}/org.kde.tellico.desktop
|
|
%dir %{_kf5_appsdir}/kconf_update
|
|
%{_kf5_appsdir}/kconf_update/tellico*
|
|
%{_kf5_appsdir}/tellico/
|
|
%dir %{_kf5_appstreamdir}
|
|
%{_kf5_appstreamdir}/org.kde.tellico.appdata.xml
|
|
%{_kf5_bindir}/tellico
|
|
%config %{_kf5_configdir}/tellico*
|
|
%dir %{_kf5_configkcfgdir}
|
|
%{_kf5_configkcfgdir}/tellico_config.kcfg
|
|
%doc %{_kf5_htmldir}/en/tellico/
|
|
%{_kf5_iconsdir}/hicolor/*/apps/tellico.png
|
|
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-tellico.png
|
|
%{_kf5_kxmlguidir}/tellico/
|
|
%{_datadir}/mime/packages/tellico.xml
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%{_kf5_htmldir}/*/tellico/
|
|
%exclude %{_kf5_htmldir}/en/tellico/
|
|
|
|
%changelog
|