update to 1.1.1.20220202git.a514383 [release 1.1.1.20220202git.a514383-1mamba;Sun Feb 06 2022]
This commit is contained in:
parent
20e8064363
commit
1e703e82e3
@ -1,7 +1,8 @@
|
|||||||
%define ocamlpck ffmpeg
|
%define ocamlpck ffmpeg
|
||||||
|
%define gittag %(eho %version | cut -d. -f5)
|
||||||
|
|
||||||
Name: ocaml-ffmpeg
|
Name: ocaml-ffmpeg
|
||||||
Version: 0.4.3
|
Version: 1.1.1.20220202git.a514383
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: OCaml bindings to the FFmpeg library
|
Summary: OCaml bindings to the FFmpeg library
|
||||||
Group: Development/Bindings
|
Group: Development/Bindings
|
||||||
@ -9,19 +10,18 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/savonet/ocaml-ffmpeg
|
URL: https://github.com/savonet/ocaml-ffmpeg
|
||||||
Source: https://github.com/savonet/ocaml-ffmpeg/releases/download/v%{version}/ocaml-ffmpeg-%{version}.tar.gz
|
Source: https://github.com/savonet/ocaml-ffmpeg.git/main@%{gittag}/ocaml-ffmpeg-%{version}.tar.bz2
|
||||||
#Source: http://sourceforge.net/projects/savonet/files/ocaml-ffmpeg/%{version}/ocaml-ffmpeg-%{version}.tar.gz
|
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpulseaudio-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libavcodec-ffmpeg-devel
|
BuildRequires: libavcodec-ffmpeg-devel
|
||||||
BuildRequires: libavdevice-ffmpeg-devel
|
BuildRequires: libavdevice-ffmpeg-devel
|
||||||
BuildRequires: libavfilter-ffmpeg-devel
|
BuildRequires: libavfilter-ffmpeg-devel
|
||||||
BuildRequires: libavformat-ffmpeg-devel
|
BuildRequires: libavformat-ffmpeg-devel
|
||||||
BuildRequires: libavutil-ffmpeg-devel
|
BuildRequires: libavutil-ffmpeg-devel
|
||||||
BuildRequires: libpostproc-ffmpeg-devel
|
|
||||||
BuildRequires: libswscale-ffmpeg-devel
|
|
||||||
BuildRequires: libswresample-ffmpeg-devel
|
BuildRequires: libswresample-ffmpeg-devel
|
||||||
|
BuildRequires: libswscale-ffmpeg-devel
|
||||||
|
BuildRequires: ocaml
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -39,26 +39,15 @@ This package contains libraries and signature files for developing applications
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
./bootstrap
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure \
|
dune build
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--disable-ldconf
|
|
||||||
|
|
||||||
%make
|
|
||||||
#make doc
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
export DESTDIR=%{buildroot}
|
DESTDIR="%{buildroot}" dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
|
||||||
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
|
|
||||||
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
|
|
||||||
|
|
||||||
install -d $OCAMLFIND_DESTDIR/%{ocamlpck}
|
rm -rf %{buildroot}/usr/doc
|
||||||
install -d $OCAMLFIND_DESTDIR/stublibs
|
|
||||||
|
|
||||||
make install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -66,10 +55,15 @@ make install
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/ocaml/%{ocamlpck}
|
%dir %{_libdir}/ocaml/%{ocamlpck}
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/META
|
%{_libdir}/ocaml/%{ocamlpck}/*
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cma
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmi
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
||||||
%{_libdir}/ocaml/stublibs/*.so*
|
%dir %{_libdir}/ocaml/ffmpeg-*
|
||||||
|
%{_libdir}/ocaml/ffmpeg-*/*
|
||||||
|
%exclude %{_libdir}/ocaml/ffmpeg-*/*.cmi
|
||||||
|
%exclude %{_libdir}/ocaml/ffmpeg-*/*.cmx
|
||||||
|
%exclude %{_libdir}/ocaml/ffmpeg-*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/stublibs/*.so*
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -77,11 +71,18 @@ make install
|
|||||||
%{_libdir}/ocaml/%{ocamlpck}/*.a
|
%{_libdir}/ocaml/%{ocamlpck}/*.a
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.mli
|
%{_libdir}/ocaml/ffmpeg-*/*.cmi
|
||||||
%doc CHANGES
|
%{_libdir}/ocaml/ffmpeg-*/*.cmx
|
||||||
#%doc doc/html/
|
%{_libdir}/ocaml/ffmpeg-*/*.cmxa
|
||||||
|
%doc CHANGES README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1.20220202git.a514383-1mamba
|
||||||
|
- update to 1.1.1.20220202git.a514383
|
||||||
|
|
||||||
|
* Sat Jan 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
||||||
|
- update to 1.1.1
|
||||||
|
|
||||||
* Fri Feb 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
|
* Fri Feb 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
|
||||||
- update to 0.4.3
|
- update to 0.4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user