88 lines
2.6 KiB
RPMSpec
88 lines
2.6 KiB
RPMSpec
Name: libmusicbrainz2
|
|
Version: 2.1.5
|
|
Release: 2mamba
|
|
Summary: MusicBrainz Client Library
|
|
Group: System/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.musicbrainz.org/
|
|
Source: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz
|
|
Patch0: libmusicbrainz-2.1.4-gcc43-includes.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
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.
|
|
|
|
%prep
|
|
%setup -q -n libmusicbrainz-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--enable-cpp-headers
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libmusicbrainz.so.*
|
|
%doc AUTHORS COPYING README TODO
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/musicbrainz/*.h
|
|
%{_libdir}/libmusicbrainz.a
|
|
%{_libdir}/libmusicbrainz.la
|
|
%{_libdir}/libmusicbrainz.so
|
|
%{_libdir}/pkgconfig/libmusicbrainz.pc
|
|
|
|
%changelog
|
|
* Wed Jul 31 2013 Automatic Build System <autodist@mambasoft.it> 2.1.5-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.5-1mamba
|
|
- update to 2.1.5
|
|
- created from libmusicbrainz as a legacy package
|
|
|
|
* 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
|