qt5-qtmultimedia/qt5-qtmultimedia.spec

133 lines
4.4 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qtmultimedia
Version: 5.15.2
Release: 2mamba
Summary: Qt5 multimedia components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtmultimedia-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gst-plugins-bad-devel
BuildRequires: libalsa-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libopenal-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
%description
Qt5 multimedia components.
%package -n libQt5Multimedia
Group: System/Libraries
Summary: Shared libraries for %{name}
Provides: libQt5MultimediaQuick
Obsoletes: libQt5MultimediaQuick <= 5.15.2-1mamba
Provides: libQt5MultimediaWidgets
Obsoletes: libQt5MultimediaWidgets <= 5.15.2-1mamba
%description -n libQt5Multimedia
This package contains shared libraries for %{name}.
%package -n libQt5Multimedia-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libQt5Multimedia = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libQt5Multimedia-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtmultimedia-everywhere-src-%{version}
%build
%_qt5_qmake
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libQt5Multimedia -p /sbin/ldconfig
%postun -n libQt5Multimedia -p /sbin/ldconfig
%files -n libQt5Multimedia
%defattr(-,root,root)
%{_libdir}/libQt5Multimedia.so.*
%{_libdir}/libQt5MultimediaGstTools.so.*
%{_libdir}/libQt5MultimediaQuick.so.*
%{_libdir}/libQt5MultimediaWidgets.so.*
%{_libdir}/qt5/plugins/audio/libqtaudio_alsa.so
%{_libdir}/qt5/plugins/audio/libqtmedia_pulse.so
%{_libdir}/qt5/plugins/mediaservice/libgstaudiodecoder.so
%{_libdir}/qt5/plugins/mediaservice/libgstcamerabin.so
%{_libdir}/qt5/plugins/mediaservice/libgstmediacapture.so
%{_libdir}/qt5/plugins/mediaservice/libgstmediaplayer.so
%{_libdir}/qt5/plugins/playlistformats/libqtmultimedia_m3u.so
%dir %{_libdir}/qt5/qml/QtAudioEngine
%{_libdir}/qt5/qml/QtAudioEngine/*
%dir %{_libdir}/qt5/qml/QtMultimedia
%{_libdir}/qt5/qml/QtMultimedia/*
%doc LICENSE.*
%files -n libQt5Multimedia-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/QtMultimedia
%{_includedir}/qt5/QtMultimedia/*
%dir %{_includedir}/qt5/QtMultimediaGstTools
%{_includedir}/qt5/QtMultimediaGstTools/*
%dir %{_includedir}/qt5/QtMultimediaQuick
%{_includedir}/qt5/QtMultimediaQuick/*
%dir %{_includedir}/qt5/QtMultimediaWidgets
%{_includedir}/qt5/QtMultimediaWidgets/*
%{_libdir}/libQt5Multimedia.la
%{_libdir}/libQt5Multimedia.prl
%{_libdir}/libQt5Multimedia.so
%{_libdir}/libQt5MultimediaGstTools.la
%{_libdir}/libQt5MultimediaGstTools.prl
%{_libdir}/libQt5MultimediaGstTools.so
%{_libdir}/libQt5MultimediaQuick.la
%{_libdir}/libQt5MultimediaQuick.prl
%{_libdir}/libQt5MultimediaQuick.so
%{_libdir}/libQt5MultimediaWidgets.la
%{_libdir}/libQt5MultimediaWidgets.prl
%{_libdir}/libQt5MultimediaWidgets.so
%{_libdir}/qt5/mkspecs/modules/qt_lib_*.pri
%dir %{_libdir}/cmake/Qt5Multimedia
%{_libdir}/cmake/Qt5Multimedia/Qt5Multimedia*.cmake
%dir %{_libdir}/cmake/Qt5MultimediaGstTools
%{_libdir}/cmake/Qt5MultimediaGstTools/Qt5MultimediaGstToolsConfig*.cmake
%dir %{_libdir}/cmake/Qt5MultimediaQuick
%{_libdir}/cmake/Qt5MultimediaQuick/Qt5MultimediaQuickConfig*.cmake
%dir %{_libdir}/cmake/Qt5MultimediaWidgets
%{_libdir}/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig*.cmake
%{_libdir}/pkgconfig/Qt5Multimedia.pc
%{_libdir}/pkgconfig/Qt5MultimediaWidgets.pc
%changelog
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface