2007-01-16 00:19:20 +01:00
|
|
|
#
|
2011-02-07 12:27:48 +01:00
|
|
|
# spec file for package kaffeine
|
2007-01-16 00:19:20 +01:00
|
|
|
#
|
2017-02-22 20:29:48 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:19:20 +01:00
|
|
|
#
|
2009-04-14 19:37:50 +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:19:20 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-02-07 12:27:48 +01:00
|
|
|
|
2016-11-29 10:22:52 +01:00
|
|
|
Name: kaffeine
|
2016-12-05 09:31:41 +01:00
|
|
|
Summary: VLC-based Multimedia Player
|
2016-11-29 10:22:52 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Multimedia/Video/Players
|
2017-02-22 20:29:48 +01:00
|
|
|
Version: 2.0.6
|
2016-11-29 10:22:52 +01:00
|
|
|
Release: 0
|
|
|
|
Url: http://kaffeine.kde.org/
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2011-05-17 13:49:21 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE kaffeine-fixsplitter.patch -- GUI improvement (allow more flexibly set splitters)
|
2016-11-29 10:22:52 +01:00
|
|
|
Patch0: kaffeine-fixsplitter.patch
|
|
|
|
Recommends: %{name}-lang = %version
|
|
|
|
Requires: libQt5Sql5-sqlite
|
2016-12-15 09:08:19 +01:00
|
|
|
Requires: vlc-noX
|
|
|
|
Recommends: vlc-codecs
|
2016-08-20 23:37:11 +02:00
|
|
|
Requires(post): hicolor-icon-theme
|
|
|
|
Requires(post): update-desktop-files
|
|
|
|
Requires(postun): hicolor-icon-theme
|
|
|
|
Requires(postun): update-desktop-files
|
2016-11-29 10:22:52 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Solid)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2016-08-20 23:37:11 +02:00
|
|
|
%if 0%{?suse_version} > 1320
|
2016-11-29 10:22:52 +01:00
|
|
|
BuildRequires: pkgconfig(libdvbv5)
|
2011-02-07 12:27:43 +01:00
|
|
|
%endif
|
2016-11-29 10:22:52 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(libvlc) >= 2.2.0
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xscrnsaver)
|
2016-08-20 23:37:11 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%description
|
2016-08-20 23:37:11 +02:00
|
|
|
Kaffeine is a media player.
|
|
|
|
What makes it different from the others is its excellent support of digital TV (DVB).
|
2016-12-05 09:31:41 +01:00
|
|
|
Kaffeine has a user-friendly interface so that even first-time users can start immediately
|
2016-08-20 23:37:11 +02:00
|
|
|
playing their movies: from DVD (including DVD menus, titles, chapters, etc.), VCD, or a file.
|
|
|
|
|
|
|
|
%lang_package
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%prep
|
2016-08-20 23:37:11 +02:00
|
|
|
%setup -q
|
2011-05-17 13:49:21 +02:00
|
|
|
%patch0
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%build
|
2016-08-20 23:37:11 +02:00
|
|
|
%cmake_kf5 -d build
|
2011-02-07 12:27:43 +01:00
|
|
|
%make_jobs
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%install
|
2016-08-20 23:37:11 +02:00
|
|
|
%kf5_makeinstall -C build
|
2011-02-07 12:27:43 +01:00
|
|
|
|
2011-11-07 14:18:07 +01:00
|
|
|
# place desktop entry in video and tv
|
2016-08-20 23:37:11 +02:00
|
|
|
%suse_update_desktop_file -r org.kde.%{name} Qt KDE AudioVideo Video Player TV
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2016-08-20 23:37:11 +02:00
|
|
|
%find_lang %{name} --without-kde
|
2016-01-06 16:25:22 +01:00
|
|
|
|
2016-08-20 23:37:11 +02:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2016-08-20 23:37:11 +02:00
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2011-02-07 12:27:43 +01:00
|
|
|
|
2016-08-20 23:37:11 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-05-17 13:49:21 +02:00
|
|
|
%doc COPYING COPYING-DOCS Changelog NOTES
|
2016-08-20 23:37:11 +02:00
|
|
|
%{_kf5_bindir}/dtvdaemon
|
|
|
|
%{_kf5_bindir}/kaffeine
|
|
|
|
%if 0%{?sle_version} == 120100
|
|
|
|
%dir %{_kf5_sharedir}/appdata
|
|
|
|
%endif
|
|
|
|
%{_kf5_sharedir}/appdata/org.kde.kaffeine.appdata.xml
|
|
|
|
%{_kf5_applicationsdir}/org.kde.kaffeine.desktop
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*
|
|
|
|
%{_kf5_sharedir}/kaffeine/
|
|
|
|
%{_kf5_sharedir}/profiles/
|
|
|
|
%{_kf5_sharedir}/solid/actions/
|
|
|
|
%{_kf5_htmldir}/
|
|
|
|
%{_kf5_mandir}/man1/*
|
|
|
|
%dir %{_kf5_mandir}/uk
|
|
|
|
%{_kf5_mandir}/*/man1/
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2007-04-14 17:42:06 +02:00
|
|
|
%changelog
|