Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:11.4
kaffeine
kaffeine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kaffeine.spec of Package kaffeine
# # spec file for package kaffeine # # Copyright (c) 2011 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/ # # norootforbuild Name: kaffeine Version: 1.1 Release: 7.<RELEASE3> Summary: Xine-Based Multimedia Player License: GPLv2+ Url: http://kaffeine.kde.org/ Group: Productivity/Multimedia/Video/Players Requires: libqt4-sql-sqlite Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-icons.tar.bz2 Patch1: kaffeine-fixsplitter.patch Patch2: fix_plasma_startup_error.diff # PATCH-FIX-OPENSUSE ksuseinstall.diff llunak@novell.com -- Support for on-demand codecs install using ksuseinstall Patch3: ksuseinstall.diff # PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- Add InitialPreference to set it as the default video player Patch4: initial-preference.diff # PATCH-FIX-OPENSUSE build-fix.diff -- Build fix for old qt versions Patch5: build-fix.diff # PATCH-FIX-OPENSUSE support_mimetypes_bnc671581.diff ctrippe@gmx.net -- Support audio/webm and video/x-theora+ogg Patch6: support_mimetypes_bnc671581.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkde4-devel %if 0%{?suse_version} > 1120 || !0%{?kde_updatedapps} BuildRequires: libksuseinstall-devel %endif BuildRequires: libxine-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %endif %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 %patch1 #%patch2 %if 0%{?suse_version} > 1120 || !0%{?kde_updatedapps} %patch3 %endif %patch4 %if 0%{?kde_updatedapps} %patch5 -p0 %endif %if 0%{?suse_version} > 1130 %patch6 %endif %build %cmake_kde4 -d build %make_jobs %install pushd build %kde4_makeinstall popd %if 0%{?suse_version} %suse_update_desktop_file %{name} Qt KDE AudioVideo Player %endif %kde_post_install # Removed unneeded locales %if 0%{?suse_version} < 1130 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 AUTHORS COPYING COPYING-DOCS Changelog NOTES TODO %{_bindir}/kaffeine %{_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