From 700926840c7a99f1edce4fff93deebb6ccadfbb9 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:11:20 +0100 Subject: [PATCH] automatic version update by autodist [release 7.0.1-1mamba;Wed May 19 2021] --- mlt.spec | 91 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 65 insertions(+), 26 deletions(-) diff --git a/mlt.spec b/mlt.spec index 0a8d306..8587170 100644 --- a/mlt.spec +++ b/mlt.spec @@ -1,5 +1,6 @@ +%define apiver %(echo %version | cut -d. -f1) Name: mlt -Version: 6.26.1 +Version: 7.0.1 Release: 1mamba Summary: An open source multimedia framework, designed and developed for television broadcasting Group: Development/Tools @@ -15,29 +16,32 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL-devel -BuildRequires: libSDL_image-devel -BuildRequires: libX11-devel +BuildRequires: libSDL2-devel +BuildRequires: libalsa-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavdevice-ffmpeg-devel BuildRequires: libavfilter-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel -BuildRequires: libcairo-devel +BuildRequires: libebur128-devel BuildRequires: libexif-devel BuildRequires: libfftw-devel BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel -BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel BuildRequires: libjack-devel BuildRequires: libpango-devel BuildRequires: libqt5-devel BuildRequires: librtaudio-devel +BuildRequires: librubberband-devel BuildRequires: libsamplerate-devel BuildRequires: libstdc++6-devel -BuildRequires: libswfdec-devel +BuildRequires: libswresample-ffmpeg-devel BuildRequires: libswscale-ffmpeg-devel +BuildRequires: libvorbis-devel BuildRequires: libxml2-devel BuildRequires: sox-devel ## AUTOBUILDREQ-END @@ -45,20 +49,32 @@ BuildRequires: librtaudio-devel >= 5.0.0-1mamba BuildRequires: ladspa-devel BuildRequires: frei0r-plugins-devel BuildRequires: sox-devel >= 14.4.2 -Provides: libmlt++ -Obsoletes: libmlt++ %description MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, transcoders, web streamers and many more types of applications. The functionality of the system is provided via an assortment of ready to use tools, xml authoring components, and an extendible plug-in based API. -%package devel +%package -n lib%{name} +Summary: An open source multimedia framework, designed and developed for television broadcasting +Group: System/Libraries +Requires: %{name} = %{version}-%{release} +Provides: libmlt++ +Obsoletes: libmlt++ < 7.0.0 + +%description -n lib%{name} +MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, transcoders, web streamers and many more types of applications. The functionality of the system is provided via an assortment of ready to use tools, xml authoring components, and an extendible plug-in based API. +This package contains static files and headers used for development. + +%package -n lib%{name}-devel Summary: An open source multimedia framework, designed and developed for television broadcasting Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: lib%{name} = %{version}-%{release} Provides: libmlt++-devel -Obsoletes: libmlt++-devel +Obsoletes: libmlt++-devel < 7.0.0 +Provides: mlt-devel +Obsoletes: mlt-devel < 7.0.0 -%description devel +%description -n lib%{name}-devel MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, transcoders, web streamers and many more types of applications. The functionality of the system is provided via an assortment of ready to use tools, xml authoring components, and an extendible plug-in based API. This package contains static files and headers used for development. @@ -69,6 +85,11 @@ This package contains static files and headers used for development. #%patch2 -p1 %build +%cmake -d build + +%make + +:<< __OLD export KDEDIR=%{kdedir} %configure \ --enable-gpl \ @@ -83,32 +104,50 @@ CFLAGS="-I%{_includedir}/ffmpeg" %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + %files %defattr(-,root,root) %{_bindir}/melt -%dir %{_datadir}/mlt -%{_datadir}/mlt/* -%{_libdir}/libmlt.so.* -%{_libdir}/libmlt++.so.* -%{_libdir}/mlt/*.so -%doc COPYING README +%{_bindir}/melt-%{apiver} +%dir %{_datadir}/mlt-%{apiver} +%{_datadir}/mlt-%{apiver}/* +%{_mandir}/man1/melt-%{apiver}.1* -%files devel +%files -n lib%{name} %defattr(-,root,root) -%{_includedir}/mlt/framework/*.h -#%{_includedir}/mlt++/config.h -%{_includedir}/mlt++/Mlt*.h -%{_libdir}/pkgconfig/mlt-framework.pc -%{_libdir}/pkgconfig/mlt++.pc -%{_libdir}/libmlt.so -%{_libdir}/libmlt++.so +%{_libdir}/libmlt-%{apiver}.so.* +%{_libdir}/libmlt++-%{apiver}.so.* +%{_libdir}/mlt-%{apiver}/*.so +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/mlt-%{apiver} +%dir %{_includedir}/mlt-%{apiver}/framework +%{_includedir}/mlt-%{apiver}/framework/*.h +%dir %{_includedir}/mlt-%{apiver}/mlt++ +%{_includedir}/mlt-%{apiver}/mlt++/*.h +%{_libdir}/libmlt-%{apiver}.so +%{_libdir}/libmlt++-%{apiver}.so +%{_libdir}/pkgconfig/mlt-framework-%{apiver}.pc +%{_libdir}/pkgconfig/mlt++-%{apiver}.pc +%dir %{_libdir}/cmake/Mlt7 +%{_libdir}/cmake/Mlt7/Mlt7*.cmake %changelog +* Wed May 19 2021 Automatic Build System 7.0.1-1mamba +- automatic version update by autodist + +* Mon May 10 2021 Automatic Build System 7.0.0-1mamba +- automatic version update by autodist + * Wed Apr 14 2021 Automatic Build System 6.26.1-1mamba - automatic version update by autodist