libldac/libldac.spec

72 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: libldac
Version: 2.0.2.3
Release: 2mamba
Summary: A lossy audio codec for Bluetooth connections
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/EHfive/ldacBT
Source: https://github.com/EHfive/ldacBT.git/v%{version}/ldacBT-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
A lossy audio codec for Bluetooth connections.
%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 -n ldacBT-%{version}
%build
%cmake -d build \
-DINSTALL_LIBDIR=%{_libdir}
%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}/libldacBT_abr.so.*
%{_libdir}/libldacBT_enc.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/ldac/ldacBT.h
%{_includedir}/ldac/ldacBT_abr.h
%{_libdir}/libldacBT_abr.so
%{_libdir}/libldacBT_enc.so
%{_libdir}/pkgconfig/ldacBT-abr.pc
%{_libdir}/pkgconfig/ldacBT-enc.pc
%doc README.md
%changelog
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2.3-2mamba
- fix install libdir
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2.3-1mamba
- package created using the webbuild interface