update to 4.10.0 [release 4.10.0-1mamba;Tue Jan 07 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 09:58:31 +01:00
parent bef72c4042
commit 68e5f0096b

View File

@ -1,5 +1,5 @@
Name: phonon-backend-gstreamer Name: phonon-backend-gstreamer
Version: 4.9.0 Version: 4.10.0
Release: 1mamba Release: 1mamba
Summary: Gstreamer phonon backend Summary: Gstreamer phonon backend
Group: System/Libraries Group: System/Libraries
@ -11,98 +11,76 @@ Source: http://download.kde.org/stable/phonon/phonon-backend-gstreamer/%{
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel BuildRequires: libgstreamer-devel
BuildRequires: libphonon-devel BuildRequires: libphonon-devel
BuildRequires: libphonon-qt5-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
Provides: phonon_backend Provides: phonon_backend
Requires: libqt4 >= %_qt4_version
Requires: libgst-plugins-base
Requires: gst-plugins-good
Requires: gst-plugins-bad
Requires: gst-plugins-ugly
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gstreamer backend for Phonon.
%package -n phonon-qt5-backend-gstreamer
Summary: Gstreamer phonon-qt5 backend
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: phonon5_backend Provides: phonon5_backend
Requires: libgst-plugins-base Requires: libgst-plugins-base
Requires: gst-plugins-good Requires: gst-plugins-good
Requires: gst-plugins-bad Requires: gst-plugins-bad
Requires: gst-plugins-ugly Requires: gst-plugins-ugly
Provides: phonon-qt5-backend-gstreamer
Obsoletes: phonon-qt5-backend-gstreamer
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description -n phonon-qt5-backend-gstreamer %description
Gstreamer backend for Phonon-qt5. Gstreamer backend for Phonon.
%debug_package
%prep %prep
%setup -q -n phonon-gstreamer-%{version} %setup -q
%build %build
%cmake_kde4 -d build \ %cmake_kde5 -d build \
-DPHONON_BUILDSYSTEM_DIR=%{_datadir}/share/phonon/buildsystem
%make
cd ..
%cmake_kde5 -d build5 \
-DPHONON_BUILD_PHONON4QT5=on -DPHONON_BUILD_PHONON4QT5=on
#\
# -DPHONON_BUILDSYSTEM_DIR=%{_datadir}/share/phonon/buildsystem
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%makeinstall -C build5
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_datadir}/icons/hicolor &>/dev/null
exit 0 exit 0
%posttrans %posttrans
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
exit 0 exit 0
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi fi
exit 0 exit 0
%files %files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
%{_kde4_icondir}/hicolor/*/apps/phonon-gstreamer.png
%{_kde4_icondir}/hicolor/*/apps/phonon-gstreamer.svgz
%{_kde4_servicesdir}/phononbackends/gstreamer.desktop
%doc COPYING.LIB
%files -n phonon-qt5-backend-gstreamer
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so %{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
%{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.png %{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.png
%{_datadir}/icons/hicolor/scalable/apps/phonon-gstreamer.svgz %{_datadir}/icons/hicolor/scalable/apps/phonon-gstreamer.svg
%doc COPYING.LIB
%changelog %changelog
* Tue Jan 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.0-1mamba
- update to 4.10.0
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.0-1mamba * Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.0-1mamba
- update to 4.9.0 - update to 4.9.0
- subpackage for phonon-qt5 - subpackage for phonon-qt5