update to 4.12.0 [release 4.12.0-1mamba;Tue Feb 06 2024]

This commit is contained in:
Silvan Calarco 2024-02-07 15:29:23 +01:00
parent 7ad6b7c991
commit e502529898
2 changed files with 90 additions and 31 deletions

View File

@ -1,5 +1,5 @@
# libphonon
Phonon is the multimedia API for KDE5.
Phonon is the multimedia API for KDE.
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,22 +1,26 @@
Name: libphonon
Version: 4.11.1
Version: 4.12.0
Release: 1mamba
Summary: Multimedia API for KDE4
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://community.kde.org/Phonon
Source: http://download.kde.org/stable/phonon/%{version}/phonon-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qttools-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: automoc4
@ -27,12 +31,11 @@ BuildRequires: automoc4
Requires: phonon_backend
%endif
Provides: libphonon-qt5
Obsoletes: libphonon-qt5
Obsoletes: libphonon-qt5 < 4.12.0
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Phonon is the multimedia API for KDE5.
Phonon is the multimedia API for KDE.
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
@ -40,35 +43,61 @@ Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-devel
Obsoletes: libphonon-qt5-devel
Obsoletes: libphonon-qt5-devel < 4.12.0
%description devel
Phonon is the multimedia API for KDE5.
Phonon is the multimedia API for KDE.
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 designer
Group: Development/Tools
Summary: libphonon widgets for Qt Designer
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libphonon-qt5-designer
Obsoletes: libphonon-qt5-designer < 4.12.0
%description designer
Phonon is the multimedia API for KDE.
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.
This package contains the libphonon widgets for Qt Designer.
%package qt6
Group: System/Libraries
Summary: Qt6 shared libraries for %{name}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description qt6
This package contains shared libraries for %{name}.
%package qt6-devel
Group: Development/Libraries
Summary: Development files for %{name}-qt6
Requires: %{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
%description qt6-devel
This package contains libraries and header files for developing applications that use %{name}-qt6.
%package designer-qt6
Group: Development/Tools
Summary: libphonon widgets for Qt Designer
Requires: %{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
%description designer-qt6
Phonon is the multimedia API for KDE.
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.
This package contains the libphonon widgets for Qt Designer.
%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 is the multimedia API for KDE.
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 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.
%debug_package
%prep
@ -77,15 +106,23 @@ This package contains the libphonon widgets for Qt Designer.
%build
%cmake -d build \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DPHONON_BUILD_PHONON4QT5=ON \
-DPHONON_BUILD_QT6=OFF
%make
cd ..
%cmake -d build-qt6 \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DPHONON_BUILD_QT5=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt6
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -99,8 +136,21 @@ This package contains the libphonon widgets for Qt Designer.
%{_libdir}/libphonon4qt5experimental.so.*
%doc COPYING.LIB
%files tools -f %{name}5_qt.lang
%{_bindir}/phononsettings
%files qt6
%defattr(-,root,root)
%{_libdir}/libphonon4qt6.so.*
%{_libdir}/libphonon4qt6experimental.so.*
%files qt6-devel
%defattr(-,root,root)
%dir %{_includedir}/phonon4qt6
%dir %{_includedir}/phonon4qt6/phonon
%{_includedir}/phonon4qt6/phonon/*
%{_libdir}/libphonon4qt6.so
%{_libdir}/libphonon4qt6experimental.so
%dir %{_libdir}/cmake/phonon4qt6
%{_libdir}/cmake/phonon4qt6/Phonon*.cmake
%{_libdir}/pkgconfig/phonon4qt6.pc
%files devel
%defattr(-,root,root)
@ -116,14 +166,23 @@ This package contains the libphonon widgets for Qt Designer.
%{_libdir}/libphonon4qt5experimental.so
%{_libdir}/pkgconfig/phonon4qt5.pc
%{_libdir}/qt5/mkspecs/modules/qt_phonon4qt5.pri
%dir %{_datadir}/phonon4qt5/buildsystem
%{_datadir}/phonon4qt5/buildsystem/*.cmake
%files tools -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/phononsettings
%files designer
%defattr(-,root,root)
%{_libdir}/qt5/plugins/designer/phononwidgets.so
%{_qt5_plugindir}/designer/phonon4qt5widgets.so
%files designer-qt6
%defattr(-,root,root)
%{_qt6_plugindir}/designer/phonon4qt6widgets.so
%changelog
* Tue Feb 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.0-1mamba
- update to 4.12.0
* Thu Jan 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-1mamba
- update to 4.11.1