From 6e5c2afcee0f4db24f00e66dca0c660cde017638 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:10:09 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2.4-1mamba;Mon Oct 14 2019] --- README.md | 2 ++ libebur128.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libebur128.spec diff --git a/README.md b/README.md index 4d58c9e..e13b6ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libebur128 +A library implementing the EBU R128 loudness standard. + diff --git a/libebur128.spec b/libebur128.spec new file mode 100644 index 0000000..1a3af42 --- /dev/null +++ b/libebur128.spec @@ -0,0 +1,65 @@ +Name: libebur128 +Version: 1.2.4 +Release: 1mamba +Summary: A library implementing the EBU R128 loudness standard +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/jiixyj/libebur128 +## GITSOURCE https://github.com/jiixyj/libebur128.git v1.2.4 +Source: https://github.com/jiixyj/libebur128.git/v%{version}/libebur128-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library implementing the EBU R128 loudness standard. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libebur128.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/ebur128.h +%{_libdir}/libebur128.a +%{_libdir}/libebur128.so +%{_libdir}/pkgconfig/libebur128.pc +%doc README.md + +%changelog +* Mon Oct 14 2019 Silvan Calarco 1.2.4-1mamba +- package created using the webbuild interface