Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
libmusicbrainz5
libmusicbrainz5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmusicbrainz5.spec of Package libmusicbrainz5
# # spec file for package libmusicbrainz5 # # Copyright (c) 2012 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/ # Name: libmusicbrainz5 %define _name libmusicbrainz Version: 5.0.1 Release: 0 Summary: Library That Provides Access to the MusicBrainz Server License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://musicbrainz.org/doc/libmusicbrainz Source0: https://github.com/downloads/metabrainz/libmusicbrainz/%{_name}-%{version}.tar.gz Source1: baselibs.conf Patch779931: 0001-Correct-inconsistent-licensing-text.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: neon-devel BuildRequires: pkg-config 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. %package -n libmusicbrainz5-0 Summary: Library That Provides Access to the MusicBrainz Server Group: System/Libraries %description -n libmusicbrainz5-0 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. %package devel Summary: Library That Provides Access to the MusicBrainz Server Group: Development/Libraries/C and C++ Requires: libmusicbrainz5-0 = %{version} Requires: libstdc++-devel %description devel 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. %prep %setup -q -n %{_name}-%{version} %patch779931 -p1 %build CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" export CFLAGS export CXXFLAGS cmake \ . \ %if "%{_lib}" != "lib" -DLIB_SUFFIX=64 \ %endif -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DBUILD_SHARED_LIBS:BOOL=ON make %{?_smp_mflags} VERBOSE=1 %check export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) make %{?_smp_mflags} ctest unset MALLOC_CHECK_ MALLOC_PERTURB_ %install %make_install %post -n libmusicbrainz5-0 -p /sbin/ldconfig %postun -n libmusicbrainz5-0 -p /sbin/ldconfig %files -n libmusicbrainz5-0 %defattr(-, root, root) %doc AUTHORS.txt COPYING.txt NEWS.txt README.md %{_libdir}/libmusicbrainz5.so.[0-9]* %files devel %defattr(-, root, root) %doc examples/Makefile* examples/*.cc examples/*.c %{_includedir}/musicbrainz5/ %{_libdir}/libmusicbrainz5.so %{_libdir}/pkgconfig/libmusicbrainz5.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor