File phonon-backend-gstreamer-0_10.spec of Package phonon-backend-gstreamer-0_10
#
# spec file for package phonon-backend-gstreamer-0_10
#
# 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/
#
Name: phonon-backend-gstreamer-0_10
%define filename phonon-backend-gstreamer
BuildRequires: alsa-devel automoc4 cmake kde4-filesystem phonon-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: fdupes
Version: 4.4.4
Release: 1
License: LGPLv2.0+
Url: http://phonon.kde.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/GUI/KDE
Summary: Phonon Multimedia Platform Abstraction
Source0: %{filename}-%{version}.tar.bz2
Requires: libphonon4 = %version
Supplements: packageand(gstreamer-0_10-plugins-base:phonon)
Provides: phonon-backend = %version
%description
Phonon is a cross-platform portable Multimedia Support Abstraction,
which allows you to play multiple audio or video formats with the same
quality on all platforms, no matter which underlying architecture is
used.
Authors:
--------
Matthias Kretz
%prep
%setup -q -n %{filename}-%{version}
%build
# compile everything for now, actually we should compile
# against installed phonon, but this is always the same
# in OBS setup
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%fdupes $RPM_BUILD_ROOT/usr/include
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%_kde4_modules/plugins/phonon_backend/phonon_gstreamer.so
%_kde_share_dir/services/phononbackends/gstreamer.desktop
%_datadir/icons/*/*/apps/phonon-gstreamer.*
%changelog