added debug package, aarch64 build fix, tools subpackage [release 3.8.3-6mamba;Wed Dec 02 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:37:22 +01:00
parent 906e27ad50
commit a5cf62437d

View File

@ -1,13 +1,13 @@
Name: libid3 Name: libid3
Version: 3.8.3 Version: 3.8.3
Release: 5mamba Release: 6mamba
Summary: A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags Summary: A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.id3lib.org/ URL: http://www.id3lib.org/
Source: http://cesnet.dl.sourceforge.net/sourceforge/id3lib/id3lib-%{version}.tar.gz Source: http://downloads.sourceforge.net/sourceforge/id3lib/id3lib-%{version}.tar.gz
Patch0: %{name}-3.8.3-gcc43-1.patch Patch0: %{name}-3.8.3-gcc43-1.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -24,15 +24,27 @@ A software development library for reading, writing, and manipulating ID3v1 and
%package devel %package devel
Summary: Header files and static library for development with libid3 Summary: Header files and static library for development with libid3
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags. A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %package tools
Summary: Tools provided with libid3
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
This package contains the tools provided with libid3.
%debug_package
%prep %prep
%setup -q -n id3lib-%{version} %setup -q -n id3lib-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch0 -p1 %patch0 -p1
%build %build
@ -48,19 +60,26 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_libdir}/libid3*.so.*
%{_libdir}/*.so.* %doc AUTHORS COPYING
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/*.a %{_libdir}/libid3*.a
%{_libdir}/*.la %{_libdir}/libid3*.la
%{_libdir}/*.so %{_libdir}/libid3*.so
%{_includedir}/*.h %{_includedir}/*.h
%dir %{_includedir}/id3 %dir %{_includedir}/id3
%{_includedir}/id3/*.h %{_includedir}/id3/*.h
%files tools
%defattr(-, root, root)
%{_bindir}/id3*
%changelog %changelog
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.3-6mamba
- added debug package, aarch64 build fix, tools subpackage
* Fri Apr 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.3-5mamba * Fri Apr 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.3-5mamba
- added patch to build with gcc 4.3 - added patch to build with gcc 4.3