libcddb/libcddb.spec

110 lines
3.1 KiB
RPMSpec

Name: libcddb
Version: 1.3.2
Release: 5mamba
Summary: Libcddb is a C library to access data on a CDDB server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://libcddb.sourceforge.net/
Source: http://downloads.sourceforge.net/libcddb/libcddb-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libcdio-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libcddb is a C library to access data on a CDDB server.
It allows you to:
* search the database for possible CD matches;
* retrieve detailed information about a specific CD;
* submit new CD entries to the database.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}
%description devel
Libcddb is a C library to access data on a CDDB server.
It allows you to:
* search the database for possible CD matches;
* retrieve detailed information about a specific CD;
* submit new CD entries to the database.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure --enable-shared --disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/cddb_query
%{_libdir}/libcddb.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/cddb
%{_includedir}/cddb/*.h
%{_libdir}/libcddb.la
%{_libdir}/libcddb.so
%{_libdir}/pkgconfig/libcddb.pc
%doc ChangeLog NEWS README THANKS TODO
%changelog
* Wed Jan 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-5mamba
- rebuilt with debug package and build requirements
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.3.2-4mamba
- automatic rebuild by autodist
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.3.2-3mamba
- automatic rebuild by autodist
* Thu Jan 14 2010 Automatic Build System <autodist@mambasoft.it> 1.3.2-2mamba
- automatic rebuild by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
- automatic update by autodist
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- automatic rebuild by autodist
* Thu Jun 14 2007 Aleph0 <aleph0@openmamba.org> 1.3.0-2mamba
- new package mantainer
- do not build the static library
* Fri Jan 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1qilnx
- update to version 1.3.0 by autospec
* Tue Apr 26 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.1-1qilnx
- update to version 1.0.1 by autospec
* Thu Nov 18 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.6-1qilnx
- package created by autospec