|
|
@ -1,15 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
#define snap 20110104
|
|
|
|
# enabling for the build sanity, the results
|
|
|
|
# not worth using much yet
|
|
|
|
# aren't all that useful, yet.
|
|
|
|
#define phonon_build_tests -DPHONON_BUILD_TESTS:BOOL=ON
|
|
|
|
%define phonon_build_tests -DPHONON_BUILD_TESTS:BOOL=ON
|
|
|
|
|
|
|
|
|
|
|
|
## split -experimental subpkgs
|
|
|
|
## split -experimental subpkgs
|
|
|
|
#define experimental 1
|
|
|
|
#define experimental 1
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Multimedia framework api
|
|
|
|
Summary: Multimedia framework api
|
|
|
|
Name: phonon
|
|
|
|
Name: phonon
|
|
|
|
Version: 4.4.4
|
|
|
|
Version: 4.5.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://phonon.kde.org/
|
|
|
|
URL: http://phonon.kde.org/
|
|
|
@ -18,14 +18,16 @@ Source0: phonon-%{version}-%{snap}.tar.bz2
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/src/phonon-%{version}.tar.bz2
|
|
|
|
Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/src/phonon-%{version}.tar.bz2
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source1: phonon_snapshot.sh
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: phonon-4.4.4-no_rpath.patch
|
|
|
|
# (may?) need to be careful here, bootstrapping this with qt
|
|
|
|
|
|
|
|
# added Obsoletes into qt-4.7.2-6 instead of here -- Rex
|
|
|
|
|
|
|
|
#Obsoletes: qt-designer-plugin-phonon < 1:4.7.2-100
|
|
|
|
|
|
|
|
Conflicts: qt-designer-plugin-phonon < 1:4.7.2-6
|
|
|
|
|
|
|
|
Provides: qt-designer-plugin-phonon = 1:4.7.2-100
|
|
|
|
|
|
|
|
Provides: qt-designer-plugin-phonon%{?_isa} = 1:4.7.2-100
|
|
|
|
|
|
|
|
|
|
|
|
## Mandriva/upstreamable patches
|
|
|
|
Patch1: phonon-4.4.4-no_rpath.patch
|
|
|
|
# https://qa.mandriva.com/show_bug.cgi?id=49814#c40
|
|
|
|
|
|
|
|
Patch53: phonon-4.3.50-phonon-allow-stop-empty-source.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Ubuntu/upstreamable patches
|
|
|
|
## Ubuntu/upstreamable patches
|
|
|
|
|
|
|
|
|
|
|
@ -94,7 +96,6 @@ Includes experimental and unstable apis.
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .no_rpath
|
|
|
|
%patch1 -p1 -b .no_rpath
|
|
|
|
%patch53 -p1 -b .phonon-allow-stop-empty-source
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -125,7 +126,7 @@ mkdir -p %{buildroot}%{_kde4_datadir}/kde4/services/phononbackends/
|
|
|
|
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
|
|
|
|
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
|
|
|
|
test "$(pkg-config --modversion phonon)" = "%{version}"
|
|
|
|
test "$(pkg-config --modversion phonon)" = "%{version}"
|
|
|
|
%if 0%{?phonon_build_tests:1}
|
|
|
|
%if 0%{?phonon_build_tests:1}
|
|
|
|
# most of these fail currently (8/10)
|
|
|
|
# many of these fail currently (4/10)
|
|
|
|
make test -C %{_target_platform} ||:
|
|
|
|
make test -C %{_target_platform} ||:
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -150,6 +151,7 @@ rm -rf %{buildroot}
|
|
|
|
%doc COPYING.LIB
|
|
|
|
%doc COPYING.LIB
|
|
|
|
%{_libdir}/libphonon.so.4*
|
|
|
|
%{_libdir}/libphonon.so.4*
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
|
|
|
|
|
|
|
%{_qt4_plugindir}/designer/libphononwidgets.so
|
|
|
|
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
|
|
|
|
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
|
|
|
|
%dir %{_kde4_datadir}/kde4/services/phononbackends/
|
|
|
|
%dir %{_kde4_datadir}/kde4/services/phononbackends/
|
|
|
|
|
|
|
|
|
|
|
@ -181,6 +183,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Mar 25 2011 Rex Dieter <rdieter@fedoraproject.org> 4.5.0-1
|
|
|
|
|
|
|
|
- phonon-4.5.0
|
|
|
|
|
|
|
|
- qt-designer-plugin-phonon moved here (from qt)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.4-3
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|