commit fefb90a60cd2bcb5a5de184d38977fb062b4fa54
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Dec 21 20:58:52 2023 +0000
Update to 2.0.3
fdk-aac.spec | 28 +++++++++++++++-------------
sources | 2 +-
2 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/fdk-aac.spec b/fdk-aac.spec
index bb62655..4676efc 100644
--- a/fdk-aac.spec
+++ b/fdk-aac.spec
@@ -1,6 +1,6 @@
Name: fdk-aac
-Version: 2.0.2
-Release: 6%{?dist}
+Version: 2.0.3
+Release: 1%{?dist}
Summary: Fraunhofer FDK AAC Codec Library
License: FDK-AAC
@@ -8,7 +8,8 @@ URL:
https://github.com/mstorsjo/%{name}
Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
-BuildRequires: libtool
+BuildRequires: cmake
+BuildRequires: ninja-build
%description
@@ -29,20 +30,18 @@ developing applications that use %{name}.
%prep
%autosetup
-autoreconf -vif
%build
-%configure \
- --libdir=%{_libdir}/%{name} \
- --disable-silent-rules \
- --disable-static
+%cmake \
+ -GNinja \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib}/%{name}
-%make_build
+%cmake_build
%install
-%make_install
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%cmake_install
+mv %{buildroot}%{_libdir}/%{name}/cmake/ %{buildroot}%{_libdir}/cmake/
# ld.so.conf.d file
@@ -50,8 +49,7 @@ mv %{buildroot}%{_libdir}/%{name}/pkgconfig/
%{buildroot}%{_libdir}/pkgconfig/
install -m 0755 -d %{buildroot}%{_sysconfdir}/ld.so.conf.d/
echo -e "%{_libdir}/%{name}/ \n" >
%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files
%doc ChangeLog
@@ -62,12 +60,16 @@ echo -e "%{_libdir}/%{name}/ \n" >
%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{nam
%files devel
%doc documentation/*.pdf
+%{_libdir}/cmake/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/%{name}/
%{_libdir}/%{name}/*.so
%changelog
+* Thu Dec 21 2023 Leigh Scott <leigh123linux(a)gmail.com> - 2.0.3-1
+- Update to 2.0.3
+
* Thu Aug 03 2023 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
2.0.2-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/sources b/sources
index 5959d68..8278743 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fdk-aac-2.0.2.tar.gz) =
616207e85035d1659a2b7808ca6ec02ef53c1c4b39eb280fe861f82a4cf548e5db2ac381c496bad37dfc2b8c6677fe704d9fd8449e43d1f93d3e636239e0191b
+SHA512 (fdk-aac-2.0.3.tar.gz) =
f8ea7abe83e6e138dac4a06f195bdf870bca93137bdaea6f5d85f266f3659b4a1b54da3b4c02a1eba3a134d9d19dcf89908cfbed4bbcab8550e114e84c333779