libid3/libid3.spec

98 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: libid3
Version: 3.8.3
Release: 6mamba
Summary: A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.id3lib.org/
Source: http://downloads.sourceforge.net/sourceforge/id3lib/id3lib-%{version}.tar.gz
Patch0: %{name}-3.8.3-gcc43-1.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
%package devel
Summary: Header files and static library for development with libid3
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
This package contains static libraries and header files needed 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
%setup -q -n id3lib-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libid3*.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-, root, root)
%{_libdir}/libid3*.a
%{_libdir}/libid3*.la
%{_libdir}/libid3*.so
%{_includedir}/*.h
%dir %{_includedir}/id3
%{_includedir}/id3/*.h
%files tools
%defattr(-, root, root)
%{_bindir}/id3*
%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
- added patch to build with gcc 4.3
* Sun Jun 01 2008 Silvan Calarco <silvan.o at mambasoft.it> 3.8.3-4mamba
- specfile updated
* Mon Mar 27 2006 Stefano Cotta Ramusino <stefano.a at qilinux.it> 3.8.3-3qilnx
- specfile fixed and updated
- fixed license
* Sun Jan 30 2005 Silvan Calarco <silvan.o at mambasoft.it> 3.8.3-2qilnx
- rebuilt with new gcc 3.4 and glibc 2.3.4
* Sun Dec 21 2003 Silvan Calarco <silvan.o at mambasoft.it> 3.8.3-1qilnx
- first build