Blame SPECS/libldac.spec

c76597
# Force out of source build
c76597
%undefine __cmake_in_source_build
c76597
c76597
%global archivename ldacBT
c76597
%global sonamebase 2
c76597
c76597
Name:           libldac
c76597
Version:        %{sonamebase}.0.2.3
c76597
Release:        10%{?dist}
c76597
Summary:        A lossy audio codec for Bluetooth connections
c76597
c76597
License:        ASL 2.0
c76597
URL:            https://github.com/EHfive/ldacBT
c76597
Source0:        %{url}/releases/download/v%{version}/%{archivename}-%{version}.tar.gz
c76597
c76597
# Upstream source throws error in a big-endian arch, see #1677491
c76597
ExcludeArch:    s390x
c76597
c76597
BuildRequires:  cmake3
c76597
BuildRequires:  gcc
c76597
c76597
%package        devel
c76597
Summary:        Development files for %{name}
c76597
Requires:       %{name}%{?_isa} = %{version}-%{release}
c76597
c76597
%description
c76597
LDAC is an audio coding technology developed by Sony.
c76597
It enables the transmission of High-Resolution Audio content,
c76597
even over a Bluetooth connection.
c76597
c76597
%description    devel
c76597
The %{name}-devel package contains libraries and header files for
c76597
developing applications that use %{name}.
c76597
c76597
%prep
c76597
%autosetup -n %{archivename}
c76597
c76597
%build
c76597
%cmake3 \
c76597
    -DLDAC_SOFT_FLOAT=OFF \
c76597
    -DINSTALL_LIBDIR=%{_libdir}
c76597
c76597
%cmake3_build
c76597
c76597
%install
c76597
%cmake3_install
c76597
c76597
%ldconfig_scriptlets
c76597
c76597
%files
c76597
%license LICENSE
c76597
%{_libdir}/libldacBT_abr.so.%{sonamebase}
c76597
%{_libdir}/libldacBT_abr.so.%{sonamebase}.*
c76597
%{_libdir}/libldacBT_enc.so.%{sonamebase}
c76597
%{_libdir}/libldacBT_enc.so.%{sonamebase}.*
c76597
%{_libdir}/libldacBT_abr.so
c76597
%{_libdir}/libldacBT_enc.so
c76597
c76597
%files devel
c76597
%dir %{_includedir}/ldac
c76597
%{_includedir}/ldac/ldacBT_abr.h
c76597
%{_includedir}/ldac/ldacBT.h
c76597
%{_libdir}/pkgconfig/ldacBT-abr.pc
c76597
%{_libdir}/pkgconfig/ldacBT-enc.pc
c76597
c76597
%changelog
c76597
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.2.3-10
c76597
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c76597
  Related: rhbz#1991688
c76597
c76597
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.2.3-9
c76597
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c76597
c76597
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2.3-8
c76597
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c76597
c76597
* Wed Jul 29 2020 Gergely Gombos <gombosg@disroot.org> - 2.0.2.3-7
c76597
- Fix cmake out-of-source FTBFS for F33/rawhide
c76597
c76597
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2.3-6
c76597
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c76597
c76597
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2.3-5
c76597
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c76597
c76597
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2.3-4
c76597
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c76597
c76597
* Mon Apr 8 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.3-3
c76597
- Move unversioned symlinks to the base package. Linked packages dynamically load (dlopen) this module with the name libldacBT_enc.so.
c76597
c76597
* Tue Feb 19 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.3-2
c76597
- Fixed changelog
c76597
c76597
* Tue Feb 19 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.3-1
c76597
- Bump to 2.0.2.3, upgrade .gitignore
c76597
c76597
* Fri Feb 15 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.2-4
c76597
- Add s390x ExcludeArch
c76597
c76597
* Thu Feb 7 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.2-3
c76597
- Minor fixes before Fedora submission
c76597
c76597
* Wed Jan 30 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.2-2
c76597
- Fix package reviewer suggestions
c76597
c76597
* Tue Jan 29 2019 Gergely Gombos <gombosg@gmail.com> - 2.0.2.2-1
c76597
- Update to 2.0.2.2, fix file listing
c76597
c76597
* Sun Jan 27 2019 Gergely Gombos <gombosg@gmail.com>
c76597
- Rename to libldac, prepare for RPMFusion submission
c76597
c76597
* Sun Dec 16 2018 Gergely Gombos <gombosg@gmail.com>
c76597
- Packaged 1.1