2007-01-16 00:38:55 +01:00
|
|
|
#
|
2011-01-14 03:30:32 +01:00
|
|
|
# spec file for package tellico
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2018-01-16 12:19:02 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2008-09-15 15:54:28 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2011-01-14 03:30:32 +01:00
|
|
|
|
2012-05-03 11:01:03 +02:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
Name: tellico
|
2018-09-04 06:37:20 +02:00
|
|
|
Version: 3.1.3
|
2012-01-26 14:08:35 +01:00
|
|
|
Release: 0
|
2011-02-15 17:13:00 +01:00
|
|
|
Summary: A Collection Manager for KDE
|
2011-10-06 16:46:18 +02:00
|
|
|
License: GPL-2.0+
|
2011-02-15 17:13:00 +01:00
|
|
|
Group: Productivity/Office/Other
|
2012-01-26 14:08:35 +01:00
|
|
|
Url: http://tellico-project.org/
|
2016-11-12 09:07:00 +01:00
|
|
|
Source0: http://tellico-project.org/files/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules
|
2011-01-14 03:30:21 +01:00
|
|
|
BuildRequires: fdupes
|
2017-10-16 10:44:52 +02:00
|
|
|
BuildRequires: libcdio-devel
|
2011-01-14 03:30:21 +01:00
|
|
|
BuildRequires: libexempi-devel
|
2016-11-12 09:07:00 +01:00
|
|
|
BuildRequires: libpoppler-qt5-devel
|
2011-05-12 11:13:27 +02:00
|
|
|
BuildRequires: libv4l-devel
|
2011-10-06 16:46:18 +02:00
|
|
|
BuildRequires: libxslt-devel
|
2011-01-14 03:30:21 +01:00
|
|
|
BuildRequires: libyaz-devel
|
2017-02-22 20:34:20 +01:00
|
|
|
BuildRequires: pkgconfig
|
2013-03-08 11:00:20 +01:00
|
|
|
BuildRequires: taglib-devel
|
2018-03-28 20:12:27 +02:00
|
|
|
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)
|
2012-07-24 15:39:06 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2011-05-12 11:13:27 +02:00
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2016-11-12 09:07:00 +01:00
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-02-27 19:52:12 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || (0%{?is_opensuse} && 0%{?sle_version} >= 120300)
|
2017-02-22 20:34:20 +01:00
|
|
|
BuildRequires: libcsv-devel
|
2017-03-28 12:27:21 +02:00
|
|
|
BuildRequires: libkcddb-devel
|
2017-02-22 20:34:20 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%description
|
2011-02-15 17:13:00 +01:00
|
|
|
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.
|
2011-01-14 03:30:21 +01:00
|
|
|
|
2011-02-15 17:13:13 +01:00
|
|
|
%lang_package
|
2012-07-24 15:39:06 +02:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
%prep
|
2011-01-14 03:30:21 +01:00
|
|
|
%setup -q
|
2010-12-14 11:08:38 +01:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
%build
|
2016-11-12 09:07:00 +01:00
|
|
|
%cmake_kf5 "-DENABLE_WEBCAM=true" -d build
|
2009-02-24 00:17:54 +01:00
|
|
|
%make_jobs
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%install
|
2016-11-12 09:07:00 +01:00
|
|
|
%kf5_makeinstall -C build
|
2011-10-06 16:46:18 +02:00
|
|
|
|
2011-02-15 17:13:00 +01:00
|
|
|
%if 0%{?suse_version}
|
2016-11-12 09:07:00 +01:00
|
|
|
%suse_update_desktop_file -r org.kde.%{name} Qt KDE Office Database
|
2011-02-15 17:13:00 +01:00
|
|
|
%endif
|
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%find_lang %{name}
|
2011-02-15 17:13:00 +01:00
|
|
|
|
2016-11-12 09:07:00 +01:00
|
|
|
%kf5_post_install
|
2011-02-15 17:13:00 +01:00
|
|
|
|
|
|
|
%fdupes -s %{buildroot}
|
2007-01-16 00:38:55 +01:00
|
|
|
|
2011-05-12 11:13:27 +02:00
|
|
|
%post
|
2016-06-16 12:07:38 +02:00
|
|
|
%mime_database_post
|
2011-05-12 11:13:27 +02:00
|
|
|
|
|
|
|
%postun
|
2016-06-16 12:07:38 +02:00
|
|
|
%mime_database_postun
|
2011-05-12 11:13:27 +02:00
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%files
|
2011-01-14 03:30:21 +01:00
|
|
|
%defattr(-,root,root,-)
|
2018-03-28 20:12:27 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README
|
2016-11-12 09:07:00 +01:00
|
|
|
%{_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/
|
2009-02-24 00:17:54 +01:00
|
|
|
%{_datadir}/mime/packages/tellico.xml
|
2008-02-08 20:47:12 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2011-01-14 03:30:21 +01:00
|
|
|
%defattr(-,root,root,-)
|
2016-11-12 09:07:00 +01:00
|
|
|
%{_kf5_htmldir}/*/tellico/
|
|
|
|
%exclude %{_kf5_htmldir}/en/tellico/
|
2008-02-08 20:47:12 +01:00
|
|
|
|
2007-03-06 09:11:10 +01:00
|
|
|
%changelog
|