update to 4.11.1 [release 4.11.1-1mamba;Thu Jan 02 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:23:27 +01:00
parent e325c326d8
commit 7ad6b7c991
2 changed files with 41 additions and 101 deletions

View File

@ -1,5 +1,5 @@
# libphonon
Phonon is the multimedia API for KDE4.
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
Phonon is the multimedia API for KDE5.
Phonon was created to allow KDE to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.

View File

@ -1,5 +1,5 @@
Name: libphonon
Version: 4.10.2
Version: 4.11.1
Release: 1mamba
Summary: Multimedia API for KDE4
Group: System/Libraries
@ -11,15 +11,11 @@ Source: http://download.kde.org/stable/phonon/%{version}/phonon-%{version
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQtDeclarative
BuildRequires: ldconfig
BuildRequires: libgcc
%if "%{stage1}" != "1"
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
%endif
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libqzeitgeist-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
@ -27,87 +23,59 @@ BuildRequires: automoc4
#%if "%{stage1}" != "1"
#BuildRequires: kdelibs-devel
#%endif
Conflicts: libqt4-phonon
%if "%{stage1}" != "1"
Requires: phonon_backend
%endif
Provides: libphonon-qt5
Obsoletes: libphonon-qt5
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Phonon is the multimedia API for KDE4.
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
Phonon is the multimedia API for KDE5.
Phonon was created to allow KDE to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-devel
Obsoletes: libphonon-qt5-devel
%description devel
Phonon is the multimedia API for KDE4.
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
This package contains static libraries and header files need for development.
Phonon is the multimedia API for KDE5.
Phonon was created to allow KDE to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE's lifetime.
This package contains static libraries and header files needed for development.
%package tools
Group: Graphical Desktop/Applications/Multimedia
Summary: Tools provided by %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Phonon is the multimedia API for KDE5.
Phonon was created to allow KDE to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE's lifetime.
This package contains the phononsettings tool.
%package designer
Group: Development/Tools
Summary: libphonon widgets for Qt Designer
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-designer
Obsoletes: libphonon-qt5-designer
%description designer
Phonon is the multimedia API for KDE4.
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
Phonon is the multimedia API for KDE5.
Phonon was created to allow KDE5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
This package contains the libphonon widgets for Qt Designer.
%package -n %{name}-qt5
Group: System/Libraries
Summary: Multimedia API for KF5
%description -n %{name}-qt5
Phonon is the multimedia API for KF5.
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
%package -n %{name}-qt5-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{name}-qt5-devel
Phonon is the multimedia API for KF5.
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
This package contains static libraries and header files need for development.
%package -n %{name}-qt5-designer
Group: Development/Tools
Summary: libphonon widgets for Qt5 Designer
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
%description designer
Phonon is the multimedia API for KF5.
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
This package contains the libphonon widgets for Qt5 Designer.
%debug_package
%prep
%setup -q -n phonon-%{version}
%build
# NOTE: using rpm % cmake macro causes problems with paths
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
%make
cd ..
mkdir build-qt5
cd build-qt5
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
%cmake -d build \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DPHONON_BUILD_PHONON4QT5=ON \
@ -116,7 +84,8 @@ cmake .. \
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt5
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -126,42 +95,14 @@ cmake .. \
%files
%defattr(-,root,root)
%{_libdir}/libphonon.so.*
%{_libdir}/libphononexperimental.so.*
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
%doc COPYING.LIB
%files devel
%defattr(-,root,root)
%dir %{_includedir}/KDE/Phonon
%{_includedir}/KDE/Phonon/*
%dir %{_includedir}/phonon
%{_includedir}/phonon/*
%{_libdir}/libphonon.so
%{_libdir}/libphononexperimental.so
%{_libdir}/pkgconfig/phonon.pc
%dir %{_libdir}/cmake/phonon
%{_libdir}/cmake/phonon/PhononConfig.cmake
%{_libdir}/cmake/phonon/PhononConfigVersion.cmake
%{_libdir}/cmake/phonon/PhononTargets-release.cmake
%{_libdir}/cmake/phonon/PhononTargets.cmake
%{_datadir}/qt4/mkspecs/modules/qt_phonon.pri
%dir %{_datadir}/phonon/buildsystem
%{_datadir}/phonon/buildsystem/COPYING-CMAKE-SCRIPTS
%{_datadir}/phonon/buildsystem/*.cmake
%{_datadir}/phonon/buildsystem/cmake_uninstall.cmake.in
%files designer
%defattr(-,root,root)
%{_libdir}/qt4/plugins/designer/libphononwidgets.so
%files -n %{name}-qt5
%defattr(-,root,root)
%{_libdir}/libphonon4qt5.so.*
%{_libdir}/libphonon4qt5experimental.so.*
%{_datadir}/dbus-1/interfaces/org.kde.Phonon4Qt5.AudioOutput.xml
%doc COPYING.LIB
%files -n %{name}-qt5-devel
%files tools -f %{name}5_qt.lang
%{_bindir}/phononsettings
%files devel
%defattr(-,root,root)
%dir %{_includedir}/phonon4qt5
%dir %{_includedir}/phonon4qt5/KDE
@ -171,22 +112,21 @@ cmake .. \
%{_includedir}/phonon4qt5/phonon/*
%dir %{_libdir}/cmake/phonon4qt5
%{_libdir}/cmake/phonon4qt5/Phonon*.cmake
%dir %{_libdir}/cmake/phonon
%{_libdir}/cmake/phonon/PhononExperimental*.cmake
%{_libdir}/libphonon4qt5.so
%{_libdir}/libphonon4qt5experimental.so
%{_libdir}/pkgconfig/phonon4qt5.pc
%{_libdir}/qt5/mkspecs/modules/qt_phonon4qt5.pri
%dir %{_datadir}/phonon4qt5/buildsystem
%{_datadir}/phonon4qt5/buildsystem/COPYING-CMAKE-SCRIPTS
%{_datadir}/phonon4qt5/buildsystem/*.cmake
%{_datadir}/phonon4qt5/buildsystem/cmake_uninstall.cmake.in
%files -n %{name}-qt5-designer
%files designer
%defattr(-,root,root)
%{_libdir}/qt5/plugins/designer/phononwidgets.so
%changelog
* Thu Jan 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-1mamba
- update to 4.11.1
* Sun Feb 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.2-1mamba
- update to 4.10.2