package created using the webbuild interface [release 1.6.0_639-1mamba;Sat Jan 08 2022]
This commit is contained in:
parent
3a4189e307
commit
d186cd3bd5
@ -1,2 +1,4 @@
|
||||
# bento4
|
||||
|
||||
Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools.
|
||||
|
||||
|
59
bento4.spec
Normal file
59
bento4.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: bento4
|
||||
Version: 1.6.0_639
|
||||
Release: 1mamba
|
||||
Summary: Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
|
||||
Group: Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.bento4.com/
|
||||
Source: https://github.com/axiomatic-systems/Bento4.git/v1.6.0-639/Bento4-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n Bento4-%{version}
|
||||
sed -i "s/ STATIC / SHARED /" CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
cd build
|
||||
|
||||
# prevent conflict with libmp4v2
|
||||
for conflicting_file in mp4extract mp4info; do
|
||||
mv $conflicting_file $conflicting_file-bento4
|
||||
done
|
||||
|
||||
# install manually (there's no install target)
|
||||
mkdir -p %{buildroot}%{_libdir} %{buildroot}%{_bindir}
|
||||
find -iname '*.so' -exec mv --target-directory=%{buildroot}%{_libdir} {} \;
|
||||
find -maxdepth 1 -executable -type f -exec mv --target-directory=%{buildroot}%{_bindir} {} \;
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_libdir}/libap4.so
|
||||
|
||||
%changelog
|
||||
* Sat Jan 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0_639-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user