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 # libphonon
Phonon is the multimedia API for KDE4. Phonon is the multimedia API for KDE5.
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 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 Name: libphonon
Version: 4.10.2 Version: 4.11.1
Release: 1mamba Release: 1mamba
Summary: Multimedia API for KDE4 Summary: Multimedia API for KDE4
Group: System/Libraries Group: System/Libraries
@ -11,15 +11,11 @@ Source: http://download.kde.org/stable/phonon/%{version}/phonon-%{version
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQtDeclarative BuildRequires: ldconfig
BuildRequires: libgcc BuildRequires: libgcc
%if "%{stage1}" != "1"
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel BuildRequires: libpulseaudio-glib-devel
%endif
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel BuildRequires: libqt5-devel
BuildRequires: libqzeitgeist-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
@ -27,87 +23,59 @@ BuildRequires: automoc4
#%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
#BuildRequires: kdelibs-devel #BuildRequires: kdelibs-devel
#%endif #%endif
Conflicts: libqt4-phonon
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
Requires: phonon_backend Requires: phonon_backend
%endif %endif
Provides: libphonon-qt5
Obsoletes: libphonon-qt5
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Phonon is the multimedia API for KDE4. Phonon is the multimedia API for KDE5.
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 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 %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-devel
Obsoletes: libphonon-qt5-devel
%description devel %description devel
Phonon is the multimedia API for KDE4. Phonon is the multimedia API for KDE5.
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 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 need for development. 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 %package designer
Group: Development/Tools Group: Development/Tools
Summary: libphonon widgets for Qt Designer Summary: libphonon widgets for Qt Designer
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-designer
Obsoletes: libphonon-qt5-designer
%description designer %description designer
Phonon is the multimedia API for KDE4. Phonon is the multimedia API for KDE5.
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 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. This package contains the libphonon widgets for Qt Designer.
%package -n %{name}-qt5 %debug_package
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.
%prep %prep
%setup -q -n phonon-%{version} %setup -q -n phonon-%{version}
%build %build
# NOTE: using rpm % cmake macro causes problems with paths %cmake -d build \
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 \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DPHONON_BUILD_PHONON4QT5=ON \ -DPHONON_BUILD_PHONON4QT5=ON \
@ -116,7 +84,8 @@ cmake .. \
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%makeinstall -C build-qt5
%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}"
@ -126,42 +95,14 @@ cmake .. \
%files %files
%defattr(-,root,root) %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}/libphonon4qt5.so.*
%{_libdir}/libphonon4qt5experimental.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) %defattr(-,root,root)
%dir %{_includedir}/phonon4qt5 %dir %{_includedir}/phonon4qt5
%dir %{_includedir}/phonon4qt5/KDE %dir %{_includedir}/phonon4qt5/KDE
@ -171,22 +112,21 @@ cmake .. \
%{_includedir}/phonon4qt5/phonon/* %{_includedir}/phonon4qt5/phonon/*
%dir %{_libdir}/cmake/phonon4qt5 %dir %{_libdir}/cmake/phonon4qt5
%{_libdir}/cmake/phonon4qt5/Phonon*.cmake %{_libdir}/cmake/phonon4qt5/Phonon*.cmake
%dir %{_libdir}/cmake/phonon
%{_libdir}/cmake/phonon/PhononExperimental*.cmake
%{_libdir}/libphonon4qt5.so %{_libdir}/libphonon4qt5.so
%{_libdir}/libphonon4qt5experimental.so %{_libdir}/libphonon4qt5experimental.so
%{_libdir}/pkgconfig/phonon4qt5.pc %{_libdir}/pkgconfig/phonon4qt5.pc
%{_libdir}/qt5/mkspecs/modules/qt_phonon4qt5.pri %{_libdir}/qt5/mkspecs/modules/qt_phonon4qt5.pri
%dir %{_datadir}/phonon4qt5/buildsystem %dir %{_datadir}/phonon4qt5/buildsystem
%{_datadir}/phonon4qt5/buildsystem/COPYING-CMAKE-SCRIPTS
%{_datadir}/phonon4qt5/buildsystem/*.cmake %{_datadir}/phonon4qt5/buildsystem/*.cmake
%{_datadir}/phonon4qt5/buildsystem/cmake_uninstall.cmake.in
%files -n %{name}-qt5-designer %files designer
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/qt5/plugins/designer/phononwidgets.so %{_libdir}/qt5/plugins/designer/phononwidgets.so
%changelog %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 * Sun Feb 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.2-1mamba
- update to 4.10.2 - update to 4.10.2