diff --git a/.faad2.metadata b/.faad2.metadata new file mode 100644 index 0000000..874f6cd --- /dev/null +++ b/.faad2.metadata @@ -0,0 +1 @@ +72fed60d3970c35322294ca0f4527f01677aa696 SOURCES/faad2-2.11.1.tar.gz diff --git a/.gitignore b/.gitignore index 762bb46..51d0dc7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -faad2-*.tar.bz2 -faad2-*.tar.gz +SOURCES/faad2-2.11.1.tar.gz diff --git a/faad2.spec b/SPECS/faad2.spec similarity index 90% rename from faad2.spec rename to SPECS/faad2.spec index e0381ee..e36e566 100644 --- a/faad2.spec +++ b/SPECS/faad2.spec @@ -1,18 +1,18 @@ Summary: Library and frontend for decoding MPEG2/4 AAC Name: faad2 Epoch: 1 -Version: 2.10.1 -Release: 1%{?dist} +Version: 2.11.1 +Release: 3%{?dist} License: GPLv2+ URL: http://www.audiocoding.com/faad2.html Source: https://github.com/knik0/faad2/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: automake -BuildRequires: libtool +BuildRequires: cmake BuildRequires: libsysfs-devel +Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Obsoletes: %{name}-xmms < %{version}-%{release} %description @@ -21,7 +21,6 @@ written from scratch. %package libs Summary: Shared libraries of the FAAD 2 AAC decoder -Obsoletes: %{name} < 1:2.6.1-3 %description libs FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely @@ -41,45 +40,55 @@ This package contains development files and documentation for libfaad. %prep %autosetup -p1 -./bootstrap %build -%configure \ - --disable-static - -# remove rpath from libtool -sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +%cmake -%make_build +%cmake_build %install -%make_install - -#Remove libtool archives. -find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f - +%cmake_install +install -m 0755 -d %{buildroot}%{_mandir}/man3 +install -D -m 644 docs/libfaad.3 -t %{buildroot}%{_mandir}/man3/ %ldconfig_scriptlets libs %files -%doc AUTHORS ChangeLog NEWS README* +%doc AUTHORS ChangeLog README* %license COPYING %{_bindir}/faad %{_mandir}/man1/faad.1* %files libs %{_libdir}/libfaad*.so.* +%{_mandir}/man3/libfaad.3* %files devel -%doc TODO %{_includedir}/faad.h %{_includedir}/neaacdec.h %{_libdir}/pkgconfig/faad2.pc %{_libdir}/libfaad*.so %changelog +* Wed Dec 25 2024 Arkady L. Shane - 2.11.1-3 +- Rebuilt for MSVSphere 10 + +* Thu Aug 01 2024 RPM Fusion Release Engineering - 1:2.11.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Feb 03 2024 RPM Fusion Release Engineering - 1:2.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 16 2023 Leigh Scott - 1:2.11.1-1 +- Update to 2.11.1 + +* Tue Nov 07 2023 Leigh Scott - 1:2.11.0-1 +- Update to 2.11.0 + +* Wed Aug 02 2023 RPM Fusion Release Engineering - 1:2.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Oct 21 2022 Leigh Scott - 1:2.10.1-1 - Update to 2.10.1 diff --git a/sources b/sources deleted file mode 100644 index 8bc9e7a..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (faad2-2.10.1.tar.gz) = 8df69278350c68dd770c4bc482e42bc95eb04cd784eeea3f3fc58d615833c8b07dc3c72029bb7e5bfed612b7c1b8daefc9cb57be9789befb587120ef115e55b3