111 lines
3.1 KiB
RPMSpec
111 lines
3.1 KiB
RPMSpec
Name: qtav
|
|
Version: 1.12.0.20190401git
|
|
Release: 1mamba
|
|
Summary: A cross-platform multimedia framework based on Qt and FFmpeg
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/wang-bin
|
|
## GITSOURCE https://github.com/wang-bin/QtAV.git v1.12.0
|
|
Source: https://github.com/wang-bin/QtAV.git/master/QtAV-%{version}.tar.bz2
|
|
License: LGPL, GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
BuildRequires: libavdevice-ffmpeg-devel
|
|
BuildRequires: libavfilter-ffmpeg-devel
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
BuildRequires: libavresample-ffmpeg-devel
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libportaudio-devel
|
|
BuildRequires: libpulseaudio-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libswresample-ffmpeg-devel
|
|
BuildRequires: libswscale-ffmpeg-devel
|
|
BuildRequires: libva-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A cross-platform multimedia framework based on Qt and FFmpeg(https://github.com/wang-bin/avbuild). High performance.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n QtAV-%{version}
|
|
|
|
%build
|
|
%cmake_kde5 -d build \
|
|
-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=TRUE
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%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)
|
|
%{_libdir}/qt5/bin/Player
|
|
%{_libdir}/qt5/bin/QMLPlayer
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQtAV.so.*
|
|
%{_libdir}/libQtAVWidgets.so.*
|
|
%dir %{_libdir}/qt5/qml/QtAV
|
|
%{_libdir}/qt5/qml/QtAV/*
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt5/QtAV
|
|
%{_includedir}/qt5/QtAV/*
|
|
%dir %{_includedir}/qt5/QtAVWidgets
|
|
%{_includedir}/qt5/QtAVWidgets/*
|
|
|
|
%{_libdir}/cmake/FindQtAV.cmake
|
|
%dir %{_libdir}/cmake/QmlAV
|
|
%{_libdir}/cmake/QmlAV/QmlAV-config*.cmake
|
|
%dir %{_libdir}/cmake/QtAV
|
|
%{_libdir}/cmake/QtAV/QtAV-config*.cmake
|
|
%dir %{_libdir}/cmake/QtAVWidgets
|
|
%{_libdir}/cmake/QtAVWidgets/QtAVWidgets-config*.cmake
|
|
%{_libdir}/libQtAV.so
|
|
%{_libdir}/libQtAVWidgets.so
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Mon Apr 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0.20190401git-1mamba
|
|
- update to 1.12.0.20190401git
|
|
|
|
* Mon Apr 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
- package created using the webbuild interface
|