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

95 lines
2.6 KiB
RPMSpec

Name: phonon-backend-vlc
Version: 0.9.0
Release: 1mamba
Summary: VideoLAN phonon backend
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/phonon/phonon-backend-vlc/%{version}/phonon-backend-vlc-%{version}.tar.xz
License: LGPL
BuildRequires: cmake
Conflicts: libqt4-phonon-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libphonon-devel
BuildRequires: libphonon-qt5-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvlc-devel
## AUTOBUILDREQ-END
BuildRequires: libvlc-devel >= 2.2.0-1mamba
Provides: phonon_backend
Requires: libqt4 >= %_qt4_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
VideoLAN phonon backend.
%package -n phonon-qt5-backend-vlc
Summary: VLC backend for Phonon-qt5
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: phonon5_backend
%description -n phonon-qt5-backend-vlc
VLC backend for Phonon-qt5.
%prep
%setup -q -n phonon-vlc-%{version}
%build
%cmake_kde4 -d build
%make
cd ..
%cmake_kde5 -d build5 \
-DPHONON_BUILD_PHONON4QT5=on
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_vlc.so
%{_kde4_servicesdir}/phononbackends/vlc.desktop
%doc COPYING.LIB
%files -n phonon-qt5-backend-vlc
%defattr(-,root,root)
%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
%changelog
* 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