diff --git a/libphonon.spec b/libphonon.spec index c061650..a20fc2d 100644 --- a/libphonon.spec +++ b/libphonon.spec @@ -1,5 +1,5 @@ Name: libphonon -Version: 4.6.0 +Version: 4.7.1 Release: 1mamba Summary: Multimedia API for KDE4 Group: System/Libraries @@ -7,17 +7,18 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/src/phonon-%{version}.tar.xz +Source: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/phonon-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libQtDeclarative BuildRequires: libgcc -BuildRequires: libglib-devel %if "%{stage1}" != "1" BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-glib-devel %endif BuildRequires: libqt4-devel +BuildRequires: libqzeitgeist-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake @@ -62,17 +63,21 @@ This package contains the libphonon widgets for Qt Designer. %setup -q -n phonon-%{version} %build -%cmake -d build +# NOTE: using rpm % cmake macro causes problems with paths +mkdir -p build +cd build +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .. + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -%if "%{stage1}" != "1" -install -d %{buildroot}%{_kde4_libdir}/kde4/plugins/phonon_backend/ -install -d %{buildroot}%{_kde4_servicesdir}/phononbackends/ -%endif +#%if "%{stage1}" != "1" +#install -d %{buildroot}%{_kde4_libdir}/kde4/plugins/phonon_backend/ +#install -d %{buildroot}%{_kde4_servicesdir}/phononbackends/ +#%endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -85,17 +90,19 @@ install -d %{buildroot}%{_kde4_servicesdir}/phononbackends/ %{_libdir}/libphonon.so.* %{_libdir}/libphononexperimental.so.* %{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml -%if "%{stage1}" != "1" -%dir %{_kde4_libdir}/kde4/plugins/phonon_backend -%dir %{_kde4_servicesdir}/phononbackends -%endif +#%if "%{stage1}" != "1" +#%dir %{_kde4_libdir}/kde4/plugins/phonon_backend +#%dir %{_kde4_servicesdir}/phononbackends +#%endif %doc COPYING.LIB %files devel %defattr(-,root,root) -%{_qt4_datadir}/mkspecs/modules/qt_phonon.pri -%{_includedir}/KDE/Phonon -%{_includedir}/phonon +%{_datadir}/qt5/mkspecs/modules/qt_phonon.pri +%dir %{_includedir}/KDE/Phonon +%{_includedir}/KDE/Phonon/* +%dir %{_includedir}/phonon +%{_includedir}/phonon/* %{_libdir}/libphonon.so %{_libdir}/libphononexperimental.so %{_libdir}/pkgconfig/phonon.pc @@ -111,9 +118,12 @@ install -d %{buildroot}%{_kde4_servicesdir}/phononbackends/ %files designer %defattr(-,root,root) -%{_libdir}/qt4/plugins/designer/libphononwidgets.so +%{_libdir}/qt5/plugins/designer/libphononwidgets.so %changelog +* Wed Jun 04 2014 Silvan Calarco 4.7.1-1mamba +- update to 4.7.1 + * Fri Mar 02 2012 Silvan Calarco 4.6.0-1mamba - update to 4.6.0