diff --git a/README.md b/README.md index 0ab0f20..d0cfd8e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt5-qtmultimedia +Qt5 multimedia components. + diff --git a/qt5-qtmultimedia.spec b/qt5-qtmultimedia.spec new file mode 100644 index 0000000..f5630e2 --- /dev/null +++ b/qt5-qtmultimedia.spec @@ -0,0 +1,132 @@ +%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 +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 5.15.2-2mamba +- bump release + +* Fri Nov 05 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface