phonon-backend-vlc/phonon-backend-vlc.spec

119 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: phonon-backend-vlc
Version: 0.12.0
Release: 1mamba
Summary: VideoLAN backend for Phonon
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
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: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libphonon-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
Conflicts: libqt4-phonon-devel
Provides: phonon_backend
Provides: phonon5_backend
Provides: 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 -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} --with-qt --with-man --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_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
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
- automatic version update by autodist
* Thu Jan 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.1-1mamba
- update to 0.11.1
* Sun Feb 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.2-1mamba
- update to 0.10.2
- build with vlc 3.0.6
- removed and obsoleted qt4 backend
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Sun Mar 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-1mamba
- update to 0.8.2
* Sun Mar 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-3mamba
- rebuilt by autoport with build requirements: libvlc-devel>=2.2.0-1mamba
* Sat Oct 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-2mamba
- rebuilt with vlc 2.1.0
* Sun Feb 03 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.6.1-1mamba
- update to 0.6.1
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- update to 0.6.0
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
- update to 0.5.0
* Sun Jan 23 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.3.2-1mamba
- package created by autospec