update to 4.7.1 [release 4.7.1-1mamba;Wed Jun 04 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:23:27 +01:00
parent 1c8d2dad74
commit 86fdb27570

View File

@ -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 <davide.madrisan@gmail.com>
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 <silvan.calarco@mambasoft.it> 4.7.1-1mamba
- update to 4.7.1
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
- update to 4.6.0