rebuilt with debug packge and aarch64 build fix [release 0.7.4-5mamba;Thu Dec 03 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:43:43 +01:00
parent 3f4f871b67
commit 5e6883badf

View File

@ -1,6 +1,6 @@
Name: liba52dec Name: liba52dec
Version: 0.7.4 Version: 0.7.4
Release: 4mamba Release: 5mamba
Summary: A library for decoding ATSC A/52 (aka AC-3) audio streams Summary: A library for decoding ATSC A/52 (aka AC-3) audio streams
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -19,30 +19,44 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
liba52 is a free library for decoding ATSC A/52 streams released under the terms of the GPL license. liba52 is a free library for decoding ATSC A/52 streams released under the terms of the GPL license.
The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
%package tools
Summary: Tools provided with %{name}
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: a52dec
%description tools
liba52 is a free library for decoding ATSC A/52 streams released under the terms of the GPL license.
The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
These are the tools provided with %{name}.
%package devel %package devel
Summary: Development header files and static library for %{name} Summary: Development header files and static library for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: a52dec-devel Obsoletes: a52dec-devel
%description devel %description devel
liba52 is a free library for decoding ATSC A/52 streams released under the terms of the GPL license. liba52 is a free library for decoding ATSC A/52 streams released under the terms of the GPL license.
The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
These are the header files and static libraries from %{name} that are needed to build programs that use it. These are the header files and static libraries from %{name} that are needed to build programs that use it.
%debug_package
%prep %prep
%setup -q -n a52dec-%{version} %setup -q -n a52dec-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," autotools/config.sub
%build %build
%configure --enable-shared %configure --enable-shared
%make CFLAGS="%{optflags} -fpic -fPIC" %make CFLAGS="%{optflags} -fpic -fPIC"
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -51,19 +65,28 @@ These are the header files and static libraries from %{name} that are needed to
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/* %{_libdir}/liba52.so.*
%{_libdir}/*.so.* %doc AUTHORS COPYING
%{_mandir}/man1/*
%doc AUTHORS ChangeLog COPYING HISTORY NEWS README TODO doc/liba52.txt
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_includedir}/* %dir %{_includedir}/a52dec
%{_libdir}/*.a %{_includedir}/a52dec/*
%{_libdir}/*.la %{_libdir}/liba52.a
%{_libdir}/*.so %{_libdir}/liba52.la
%{_libdir}/liba52.so
%doc ChangeLog HISTORY NEWS README TODO doc/liba52.txt
%files tools
%defattr(-, root, root)
%{_bindir}/a52dec
%{_bindir}/extract_a52
%{_mandir}/man1/*
%changelog %changelog
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-5mamba
- rebuilt with debug packge and aarch64 build fix
* Tue May 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-4mamba * Tue May 27 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-4mamba
- specfile updated - specfile updated
- updated maintainer - updated maintainer