automatic version update by autodist [release 0.12.0-1mamba;Tue Feb 06 2024]

This commit is contained in:
Automatic Build System 2024-02-08 13:15:32 +01:00
parent de94992a78
commit f7fe3321b6

View File

@ -1,22 +1,24 @@
Name: phonon-backend-vlc
Version: 0.11.3
Version: 0.12.0
Release: 1mamba
Summary: VideoLAN backend for Phonon
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://www.kde.org
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/phonon/phonon-backend-vlc/%{version}/phonon-backend-vlc-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libphonon-devel
BuildRequires: libqt5-devel
BuildRequires: libphonon-qt6-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvlc-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libvlc-devel >= 3.0.6-1mamba
@ -24,33 +26,59 @@ Conflicts: libqt4-phonon-devel
Provides: phonon_backend
Provides: phonon5_backend
Provides: phonon-qt5-backend-vlc
Obsoletes: phonon-qt5-backend-vlc
Obsoletes: phonon-qt5-backend-vlc < 0.12.0
%description
VideoLAN backend for Phonon.
%package qt6
Group: System/Libraries
Summary: VideoLAN backend for Phonon
Provides: phonon_backend
Provides: phonon6_backend
%description qt6
VideoLAN backend for Phonon.
%prep
%setup -q
%build
%cmake_kde5 -d build \
-DPHONON_BUILD_PHONON4QT5=on
%cmake -d build \
-DPHONON_BUILD_QT6=OFF
%make
cd ..
%cmake -d build-qt6 \
-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}"
%files -f %{name}5_qt.lang
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
%{_qt5_plugindir}/phonon4qt5_backend/phonon_vlc_qt5.so
%doc COPYING.LIB
%files qt6 -f %{name}.lang
%defattr(-,root,root)
%{_qt6_plugindir}/phonon4qt6_backend/phonon_vlc_qt6.so
%doc COPYING.LIB
%changelog
* Tue Feb 06 2024 Automatic Build System <autodist@openmamba.org> 0.12.0-1mamba
- automatic version update by autodist
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 0.11.3-1mamba
- automatic version update by autodist