|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
Summary: Multimedia framework api
|
|
|
|
|
Name: phonon
|
|
|
|
|
Version: 4.2
|
|
|
|
|
Release: 0.3.%{?beta_tag}%{?dist}
|
|
|
|
|
Release: 0.4.%{?beta_tag}%{?dist}
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: LGPLv2+
|
|
|
|
@ -15,7 +15,7 @@ URL: http://phonon.kde.org/
|
|
|
|
|
Source0: ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/phonon-%{beta}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: automoc
|
|
|
|
|
BuildRequires: automoc4
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: gstreamer-devel
|
|
|
|
@ -24,14 +24,22 @@ BuildRequires: kde-filesystem
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: qt4-devel
|
|
|
|
|
|
|
|
|
|
# not sure exactly how best to version this one -- Rex
|
|
|
|
|
Provides: phonon-backend = %{version}-%{release}
|
|
|
|
|
# subpkg? -- Rex
|
|
|
|
|
Provides: phonon-backend-gstreamer = %{version}-%{release}
|
|
|
|
|
Requires: phonon-backend
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package backend-gstreamer
|
|
|
|
|
Summary: Gstreamer phonon backend
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
# not sure exactly how best to version this one -- Rex
|
|
|
|
|
Provides: phonon-backend = %{version}-%{release}
|
|
|
|
|
# (temporary) upgrade path
|
|
|
|
|
Obsoletes: phonon < 4.2-0.4
|
|
|
|
|
%description backend-gstreamer
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Developer files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -42,6 +50,7 @@ Requires: pkgconfig
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n phonon-%{beta}
|
|
|
|
|
|
|
|
|
@ -49,11 +58,10 @@ Requires: pkgconfig
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
# %%cmake_kde4 or just %%cmake ? (and whether to use %%kde4_* macros or not) -- Rex
|
|
|
|
|
%{cmake} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -79,7 +87,9 @@ rm -rf %{buildroot}
|
|
|
|
|
# kde4-specific dirs
|
|
|
|
|
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
|
|
|
|
|
%dir %{_kde4_datadir}/kde4/services/phononbackends/
|
|
|
|
|
# phonon-backend-gstreamer
|
|
|
|
|
|
|
|
|
|
%files backend-gstreamer
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
|
|
|
|
|
%{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
|
|
|
|
|
|
|
|
|
@ -93,6 +103,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 14 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2-0.4.beta2
|
|
|
|
|
- BR: automoc4
|
|
|
|
|
- -backend-gstreamer subpkg
|
|
|
|
|
|
|
|
|
|
* Tue Jul 01 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.2-0.3.beta2
|
|
|
|
|
- drop automoc libsuffix patch, no longer needed
|
|
|
|
|
|
|
|
|
|