Blame SPECS/libldac.spec

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