Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
kaffeine
kaffeine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kaffeine.spec of Package kaffeine
# # spec file for package kaffeine # # Copyright (c) 2013 SUSE LINUX Products 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: kaffeine Version: 1.2.2 Release: 0 Summary: Xine-Based Multimedia Player License: GPL-2.0+ Group: Productivity/Multimedia/Video/Players Url: http://kaffeine.kde.org/ # http://sourceforge.net/projects/kaffeine/files/current/kaffeine-1.2.2.tar.gz Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-icons.tar.bz2 # PATCH-FEATURE-OPENSUSE kaffeine-fixsplitter.patch -- GUI improvement (allow more flexibly set splitters) Patch0: kaffeine-fixsplitter.patch # PATCH-FEATURE-OPENSUSE ksuseinstall.diff llunak@novell.com -- Support for on-demand codecs install using ksuseinstall Patch2: ksuseinstall.diff # PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- Add InitialPreference to set it as the default video player Patch3: initial-preference.diff # PATCH-FIX-OPENSUSE build-fix.diff -- Build fix for old qt versions Patch4: build-fix.diff # PATCH-FIX-OPENSUSE support_mimetypes_bnc671581.diff bnc#671581 ctrippe@gmx.net -- Support audio/webm and video/x-theora+ogg Patch5: support_mimetypes_bnc671581.diff # PATCH-FIX-UPSTREAM Patch6: crash-on-resume-fix.patch # PATCH-FIX-UPSTREAM kaffeine-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7 Patch7: kaffeine-gcc47.patch # PATCH-FEATURE-UPSTREAM support_for_sundtek_tv_tuners.patch boo#827097 -- Add support for Sundtek DVB Devices Patch8: support_for_sundtek_tv_tuners.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkde4-devel %if 0%{?suse_version} > 1120 BuildRequires: libksuseinstall-devel %endif BuildRequires: libxine-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %endif Requires: libqt4-sql-sqlite Provides: kaffeine-lang = %version Obsoletes: kaffeine-lang < %version %kde4_runtime_requires %description Kaffeine plays all files and devices supported by Xine. For example, MPEG files, AVI (if the codec being used is supported by Xine), MP3, and Ogg Vorbis. It also handles Video CDs, DVDs, and DVB cards. %prep %setup -q -b 1 %patch0 %if 0%{?suse_version} > 1120 %patch2 %endif %patch3 %if 0%{?kde_updatedapps} %patch4 -p0 %endif %if 0%{?suse_version} > 1130 %patch5 %endif %patch6 -p1 %patch7 %patch8 -p1 %build %cmake_kde4 -d build %make_jobs %install pushd build %kde4_makeinstall popd %if 0%{?suse_version} # place desktop entry in video and tv %suse_update_desktop_file -r %{name} Qt KDE AudioVideo Video Player TV %endif %kde_post_install # Removed unneeded locales %if 0%{?suse_version} && 0%{?suse_version} < 1140 rm -rf %{buildroot}%{_datadir}/locale/ast/LC_MESSAGES/ rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavian/ rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavianlatin/ %endif %find_lang %{name} %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING COPYING-DOCS Changelog NOTES %{_kde4_bindir}/kaffeine %{_kde4_bindir}/kaffeine-xbu %{_kde4_applicationsdir}/kaffeine.desktop %{_kde4_iconsdir}/hicolor/*/apps/kaffeine.* %{_kde4_iconsdir}/oxygen/*/actions/audio-radio-encrypted.* %{_kde4_iconsdir}/oxygen/*/actions/video-television-encrypted.* %{_kde4_appsdir}/kaffeine/ %dir %{_kde4_appsdir}/profiles %{_kde4_appsdir}/profiles/kaffeine.profile.xml %dir %{_kde4_appsdir}/solid %dir %{_kde4_appsdir}/solid/actions %{_kde4_appsdir}/solid/actions/kaffeine_play_audiocd.desktop %{_kde4_appsdir}/solid/actions/kaffeine_play_dvd.desktop %{_kde4_appsdir}/solid/actions/kaffeine_play_videocd.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor