2007-01-16 00:19:20 +01:00
|
|
|
#
|
2010-03-15 11:30:34 +01:00
|
|
|
# spec file for package kaffeine (Version 0.9+1.0pre3)
|
2007-01-16 00:19:20 +01:00
|
|
|
#
|
2010-03-15 11:30:34 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-01 14:00:48 +02:00
|
|
|
|
2007-01-16 00:19:20 +01:00
|
|
|
Name: kaffeine
|
2009-04-29 02:11:25 +02:00
|
|
|
BuildRequires: libkdepimlibs4-devel
|
2010-03-15 11:30:34 +01:00
|
|
|
BuildRequires: xine-devel
|
2008-01-28 01:10:35 +01:00
|
|
|
Url: http://kaffeine.sourceforge.net/
|
2010-03-15 11:30:34 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:19:20 +01:00
|
|
|
Group: Productivity/Multimedia/Video/Players
|
|
|
|
Summary: Xine-Based Multimedia Player
|
2010-03-15 11:30:34 +01:00
|
|
|
Version: 0.9+1.0pre3
|
2010-03-22 17:05:24 +01:00
|
|
|
Release: 2
|
2010-03-15 11:30:34 +01:00
|
|
|
%define rversion 1.0-pre3
|
2009-04-29 02:11:25 +02:00
|
|
|
# http://kaffeine.kde.org/?q=node/22
|
2010-03-15 11:30:34 +01:00
|
|
|
Source0: kaffeine-%rversion.tar.gz
|
2009-06-06 00:11:07 +02:00
|
|
|
Source1: kaffeine-icons.tar.bz2
|
|
|
|
Patch1: fix_plasma_startup_error.diff
|
2010-03-15 11:30:34 +01:00
|
|
|
Patch2: kaffeine-1.0-pre3-include_mkfifo.patch
|
2007-01-16 00:19:20 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-03-22 17:05:24 +01:00
|
|
|
Requires: libqt4-sql-sqlite
|
2009-04-29 02:11:25 +02:00
|
|
|
%kde4_runtime_requires
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2010-03-15 11:30:34 +01:00
|
|
|
Jürgen Kofler <kaffeine@gmx.net>
|
|
|
|
Christophe Thommeret <hftom@free.fr>
|
|
|
|
Christoph Pfister <christophpfister@gmail.com>
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%prep
|
2009-08-10 22:38:54 +02:00
|
|
|
%setup -q -n kaffeine-%rversion -b 1
|
2009-06-06 00:11:07 +02:00
|
|
|
%patch1
|
2010-03-15 11:30:34 +01:00
|
|
|
%patch2
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%build
|
2009-04-29 02:11:25 +02:00
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
2007-01-16 00:19:20 +01:00
|
|
|
|
|
|
|
%install
|
2009-04-29 02:11:25 +02:00
|
|
|
pushd build
|
|
|
|
%makeinstall
|
|
|
|
popd
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/x-test
|
|
|
|
%suse_update_desktop_file kaffeine KDE AudioVideo Player Video
|
|
|
|
%kde_post_install
|
|
|
|
%find_lang kaffeine
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2009-04-29 02:11:25 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2009-04-29 02:11:25 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-05-17 11:41:34 +02:00
|
|
|
|
2009-04-29 02:11:25 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-06-05 00:49:42 +02:00
|
|
|
|
2009-04-29 02:11:25 +02:00
|
|
|
%files -f kaffeine.lang
|
2007-01-16 00:19:20 +01:00
|
|
|
%defattr(-,root,root)
|
2009-04-29 02:11:25 +02:00
|
|
|
/usr/bin/kaffeine
|
2010-03-15 11:30:34 +01:00
|
|
|
/usr/bin/kaffeine-xbu
|
2009-07-31 19:55:39 +02:00
|
|
|
/usr/%_lib/kde4/kaffeinedvb.so
|
2009-04-29 02:11:25 +02:00
|
|
|
%_kde_share_dir/apps/kaffeine
|
|
|
|
/usr/share/applications/kde4/kaffeine.desktop
|
2009-06-06 00:11:07 +02:00
|
|
|
/usr/share/icons/hicolor/*/apps/kaffeine.*
|
2009-04-29 02:11:25 +02:00
|
|
|
%dir %_kde_share_dir/apps/solid
|
|
|
|
%dir %_kde_share_dir/apps/solid/actions
|
|
|
|
%_kde_share_dir/apps/solid/actions/kaffeine_play_audiocd.desktop
|
|
|
|
%_kde_share_dir/apps/solid/actions/kaffeine_play_dvd.desktop
|
|
|
|
%_kde_share_dir/apps/solid/actions/kaffeine_play_videocd.desktop
|
|
|
|
/usr/share/icons/oxygen/*/actions/audio-radio-encrypted.*
|
|
|
|
/usr/share/icons/oxygen/*/actions/video-television-encrypted.*
|
2007-01-16 00:19:20 +01:00
|
|
|
|
2007-04-14 17:42:06 +02:00
|
|
|
%changelog
|