libmusicbrainz/libmusicbrainz.spec

93 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libmusicbrainz
Version: 5.1.0
Release: 1mamba
Summary: MusicBrainz Client Library
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.musicbrainz.org/
Source: https://github.com/metabrainz/libmusicbrainz/releases/download/release-%{version}/libmusicbrainz-%{version}.tar.gz
Patch0: libmusicbrainz-5.1.0-CmakeLists.patch.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libneon-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libexpat-devel >= 1.95.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The MusicBrainz client is a library which can be built into other programs.
The library allows you to access the data held on the MusicBrainz server.
%package devel
Group: Development/Libraries
Summary: MusicBrainz Client Development Library
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The MusicBrainz client is a library which can be built into other programs.
The library allows you to access the data held on the MusicBrainz server.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmusicbrainz5.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/musicbrainz5/*.h
%{_libdir}/libmusicbrainz5.so
%{_libdir}/pkgconfig/libmusicbrainz5.pc
%changelog
* Sat Aug 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-1mamba
- update to 5.1.0
* Tue Oct 05 2010 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic update by autodist
* Thu Jan 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
- automatic update by autodist
* Mon Apr 09 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 2.1.4-1mamba
- update to 2.1.4
* Wed Jun 14 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1.2-1qilnx
- update to version 2.1.2 by autospec
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-3qilnx
- specfile updates/fixes
* Wed Jul 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-2qilnx
- added the missing %%post and %%postun scripts
* Thu Apr 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-1qilnx
- new version rebuild