70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
%define ocamlpck voaacenc
|
|
|
|
Name: ocaml-voaacenc
|
|
Version: 0.1.1
|
|
Release: 1mamba
|
|
Summary: OCaml bindings for the vo-aacenc AAC encoder
|
|
Group: Development/Bindings
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/savonet/ocaml-voaacenc
|
|
Source: https://github.com/savonet/ocaml-voaacenc/releases/download/%{version}/ocaml-voaacenc-%{version}.tar.gz
|
|
#Source: https://github.com/savonet/ocaml-voaacenc.git/%{version}/ocaml-voaacenc-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libvo-aacenc-devel
|
|
Provides: ocaml-voaacenc-devel
|
|
Obsoletes: ocaml-voaacenc-devel < 0.1.1
|
|
|
|
%description
|
|
This package contains an OCaml interface for he AAC+ encoding library, otherwise known as libvoaacenc.
|
|
|
|
#%package devel
|
|
#Group: Development/Libraries
|
|
#Summary: Development files for %{name}
|
|
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
#
|
|
#%description devel
|
|
#This package contains libraries and signature files for developing applications that use %{name}.
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./bootstrap
|
|
|
|
%build
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--disable-ldconf
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
|
|
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
|
|
|
|
install -d $OCAMLFIND_DESTDIR/%{ocamlpck}
|
|
install -d $OCAMLFIND_DESTDIR/stublibs
|
|
|
|
make install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/ocaml/%{ocamlpck}
|
|
%{_libdir}/ocaml/%{ocamlpck}/META
|
|
%{_libdir}/ocaml/%{ocamlpck}/*.mli
|
|
#%{_libdir}/ocaml/stublibs/*.so*
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Sun Jan 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
- update to 0.1.1
|
|
|
|
* Thu Jun 27 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.1.0-1mamba
|
|
- package created by davide using the webbuild interface
|