File libmusicbrainz.spec of Package libmusicbrainz
#
# spec file for package libmusicbrainz (Version 2.1.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libmusicbrainz
BuildRequires: gcc-c++ libexpat-devel
Summary: Library That Provides Access to the MusicBrainz Server
License: LGPL v2.1 or later
Group: System/Libraries
Version: 2.1.5
Release: 5
Url: http://www.musicbrainz.org/
Source: %{name}-%{version}.tar.bz2
Patch0: libmusicbrainz-2.1.5-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
MusicBrainz is the second generation incarnation of the CD Index. This
server is designed to enable audio CD, MP3 and Vorbis players to
download metadata about the music they are playing.
Authors:
--------
Adam Wozniak <adam@mudlist.eorbit.net>
Ben Wong <cdindex@wongs.net>
Bert Vermeulen <bert@biot.com>
Johnny Tevessen <j.tevessen@gmx.net>
Jukka Poikolainen <jukka.poikolainen@poikosoft.com>
Marc E E van Woerkom <van.woerkom@netcologne.de>
Mark A Mankins <raider@dnaco.net>
Rick Bradey <roundeye@bellsouth.net>
Robert Kaye <rob@emusic.com>
Stephen van Egmond <svanegmond@home.com>
Winston Chang <wchang3@students.wisc.edu>
David W. Gray <david@thegray.com>
%package -n libmusicbrainz4
License: LGPL v2.1 or later
Group: System/Libraries
Summary: Library That Provides Access to the MusicBrainz Server
Provides: %{name} = %{version}
Obsoletes: %{name} <= %{version}
%description -n libmusicbrainz4
MusicBrainz is the second generation incarnation of the CD Index. This
server is designed to enable audio CD, MP3 and Vorbis players to
download metadata about the music they are playing.
Authors:
--------
Adam Wozniak <adam@mudlist.eorbit.net>
Ben Wong <cdindex@wongs.net>
Bert Vermeulen <bert@biot.com>
Johnny Tevessen <j.tevessen@gmx.net>
Jukka Poikolainen <jukka.poikolainen@poikosoft.com>
Marc E E van Woerkom <van.woerkom@netcologne.de>
Mark A Mankins <raider@dnaco.net>
Rick Bradey <roundeye@bellsouth.net>
Robert Kaye <rob@emusic.com>
Stephen van Egmond <svanegmond@home.com>
Winston Chang <wchang3@students.wisc.edu>
David W. Gray <david@thegray.com>
%package devel
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Requires: libmusicbrainz4 = %{version} libstdc++-devel
Summary: Include Files and Libraries Mandatory for Development
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Adam Wozniak <adam@mudlist.eorbit.net>
Ben Wong <cdindex@wongs.net>
Bert Vermeulen <bert@biot.com>
Johnny Tevessen <j.tevessen@gmx.net>
Jukka Poikolainen <jukka.poikolainen@poikosoft.com>
Marc E E van Woerkom <van.woerkom@netcologne.de>
Mark A Mankins <raider@dnaco.net>
Rick Bradey <roundeye@bellsouth.net>
Robert Kaye <rob@emusic.com>
Stephen van Egmond <svanegmond@home.com>
Winston Chang <wchang3@students.wisc.edu>
David W. Gray <david@thegray.com>
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/libmusicbrainz.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libmusicbrainz4 -p /sbin/ldconfig
%postun -n libmusicbrainz4 -p /sbin/ldconfig
%files -n libmusicbrainz4
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README TODO
%{_libdir}/libmusicbrainz.so.4*
%files devel
%defattr(-, root, root)
%doc examples/Makefile* examples/*cpp examples/*c
%{_includedir}/musicbrainz
%{_libdir}/libmusicbrainz.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Sat Aug 16 2008 crrodriguez@suse.de
- remove static libraries and "la" files
- correct -devel package dependencies
* Mon Jan 07 2008 ssommer@suse.de
- fix build with gcc43
* Mon Jul 30 2007 ro@suse.de
- provide old name
* Wed Jul 25 2007 sbrabec@suse.cz
- Updated to version 2.1.5:
* Fixed compilation on GCC 4.3.
* Fix the patch for buffer overflows in rdfparse.c.
* Patch to allow manually entering the CD TOC information.
* Fixed configure.in to work with newer versions of autoconf.
* Buffer overflow in MBHttp::WriteToBuffer.
* Python bindings: No shebang in non-executable scripts.
- Name package according to shared library packaging policy.
* Sat Apr 28 2007 dmueller@suse.de
- fix -devel requires
* Fri Apr 27 2007 aj@suse.de
- Add libexpat-devel to BuildRequires.
* Thu Aug 31 2006 sbrabec@suse.cz
- Updated to version 2.1.4 (#199134):
* Security fix CVE-2006-4197:
* Fixed buffer overflows in the RDF parsing and HTTP code.
* Fixed invalid memory access in the HTTP code.
* Fixed memory leaks in RDFExtract.
* Mon Jul 17 2006 lmichnovic@suse.cz
- fixed failing build (buildhack.patch)
just workaround, needs further investigation
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 10 2006 sbrabec@suse.cz
- Updated to version 2.1.2.
* Mon Oct 31 2005 dmueller@suse.de
- don't build as root
* Mon Apr 11 2005 sbrabec@suse.cz
- Fixed invalid cast.
* Fri Aug 06 2004 adrian@suse.de
- add c++ enviroment to nfb
* Fri Aug 06 2004 adrian@suse.de
- update to version 2.1.1
* Wed Apr 21 2004 ro@suse.de
- specify void return for tiger_compress
* Fri Apr 16 2004 ro@suse.de
- remove un-neccessary version line in devel subpackage
* Tue Feb 10 2004 coolo@suse.de
- fix build on x86_64
* Sat Aug 16 2003 coolo@suse.de
- fix require after rename
* Tue Aug 12 2003 sbrabec@suse.cz
- Package renamed and splitted.
- Updated to version 2.0.2.
* Thu Oct 17 2002 sbrabec@suse.cz
- Update to version 1.1.0.
* Fri Aug 30 2002 pmladek@suse.cz
- fixed dependency of the devel subpackage on the main package (used %%version)
* Tue Jan 15 2002 pmladek@suse.cz
- updated to version 1.0.1
* Thu Jan 10 2002 pmladek@suse.cz
- used macro %%{_libdir} to fix for lib64
- added libmusicbrainz.la to the devel package
* Fri Jul 20 2001 pmladek@suse.cz
- updated to stable version 1.0.0
- removed endian patch (it's fixed in curent version)
* Sat Jun 23 2001 schwab@suse.de
- Fix missing declarations.
* Thu Jun 14 2001 pmladek@suse.cz
- fixed to compile with new autoconf
* Fri Mar 16 2001 uli@suse.de
- fixed spec file
* Thu Mar 15 2001 nadvornik@suse.cz
- fixed to compile on axp
* Wed Mar 14 2001 nadvornik@suse.cz
- update to 1.0.0pre7
* Fri Dec 01 2000 smid@suse.cz
- initial version