base-specs/libmusicbrainz3.spec
author yippi
Wed, 20 Oct 2010 16:25:35 +0000
branchgnome-2-30
changeset 20193 73cee3bdda8a
parent 17865 b7ff02e93f66
permissions -rw-r--r--
2010-10-20 Brian Cameron <[email protected]> * specs/SUNWxdg-user-dirs.spec: Bump to 0.13. * specs/SUNWgnome-media.spec: Set LDFLAGS properly. * specs/SUNWgobject-introspection.spec, base-specs/gobject-introspection.spec, patches/gobject-introspection-01-amd64.diff, patches/gobject-introspection-02-test-scanner.diff: Bump to 0.9.12. Rework patches. * base-specs/gst.spec, base-specs/gst-plugins-base.spec: Bump to 0.10.30. * base-specs/gst-plugins-good.spec, patches/gst-plugins-good-06-tvtime.spec, patches/gst-plugins-good-08-sunaudiomixer.diff, patches/gst-plugins-good-09-videomixer.diff: Bump to 0.10.25 and rework patches. * base-specs/gst-python.spec: Bump to 0.10.19. * base-specs/libmusicbrainz3.spec, patches/libmusicbrainz-01-compile.diff: Bump to 3.0.3 and add patch needed to compile. * base-specs/iso-codes.spec: Bump to 3.21. * base-specs/goffice.spec: Bump to 0.8.11. * base-specs/xchat.spec: Bump to 0.8.8. * patches/xchat-01-getttext.diff, patches/xchat-02-ctcp-version.diff: Rework and renumber patch 4 to patch 2. * patches/xchat-02-new-gtk-GtkType.diff, patches/xchat-03-xc286-smallfixes.diff, patches/xchat-05-button-underline.diff, patches/xchat-06-gtk2.20.diff: Remove upstream patches.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package libmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
20193
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
     4
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16431
diff changeset
     8
%define owner yippi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
# Bugdb: http://bugs.musicbrainz.org/ticket/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
16431
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    11
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    12
%define OSR 13113:3.0.2
16431
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    13
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Name:         libmusicbrainz
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    15
License:      LGPL v2.1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Group:        System Environment/Libraries
20193
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    17
Version:      3.0.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17239
diff changeset
    20
Vendor:       musicbrainz.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:      Software library for accessing MusicBrainz servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source:       http://ftp.musicbrainz.org/pub/musicbrainz/%{name}-%{version}.tar.gz 
20193
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    23
# date:2010-10-05 owner:yippi type:bug bugid:5801
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    24
Patch1:       libmusicbrainz-01-compile.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
URL:          http://musicbrainz.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
The MusicBrainz client library allows applications to make metadata
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
lookup to a MusicBrainz server, generate signatures from WAV data and
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
create CD Index Disk ids from audio CD-ROMs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Summary: Headers for developing programs that will use libmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Group:      Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:   %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%description   devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
This package contains the headers that programmers will need to develop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
applications which will use libmusicbrainz.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%setup -q
20193
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    46
%patch1 -p1
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    47
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    48
mv AUTHORS.txt AUTHORS
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    49
mv COPYING.txt COPYING
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    50
mv README.txt README
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%build
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    53
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
if test "x$CPUS" = "x" -o $CPUS = 0; then
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    55
     CPUS=1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    58
%if %debug_build
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    59
%define build_type Debug
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%else
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    61
%define build_type Release
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%endif
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    63
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    64
export LDFLAGS="%_ldflags -i -lCstd -lCrun"
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    65
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    66
cmake   -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}                          \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    67
        -DCMAKE_BUILD_TYPE=%{build_type}                                \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    68
        -DCMAKE_C_COMPILER:FILEPATH=$(CC)                               \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    69
        -DCMAKE_C_FLAGS:STRING="%optflags"                              \
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    70
        -DCMAKE_CXX_COMPILER:FILEPATH=$(CXX)                            \
17239
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    71
        -DCMAKE_CXX_FLAGS_RELEASE:STRING="%cxx_optflags -O4"            \
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    72
        -DCMAKE_VERBOSE_MAKEFILE=1
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    73
make
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%install
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    76
make install DESTDIR=$RPM_BUILD_ROOT CMAKE_INSTALL_PREFIX=/usr
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    78
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    79
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%changelog
20193
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    85
* Mon Oct 04 2010 - [email protected]
73cee3bdda8a 2010-10-20 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    86
- Bump to 3.0.3.
17239
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    87
* Wed Dec 23 2009 - [email protected]
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    88
- Add cxx_optflags to fix bugster #6911844 - Invalid RUNPATH and RPATH in
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    89
  SUNWmusicbrainz.
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    90
* Mon Nov 30 2009 - [email protected]
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    91
- Use SunStudio as C++ compiler instead of g++.
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    92
* Wed Nov 18 2009 - [email protected]
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    93
- Bump to 3.0.2
9886
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    94
* Mon May 14 2006 - [email protected]
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    95
- Bump to 2.1.5. Remove upstream patch, 01-fixduration.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Mon Jan 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Add patch comments.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- Bump to 2.1.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- Add patch to fix calculation of track durations on Solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Tue Jul 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- Bump to 2.1.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Wed Jan 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Specify include dir in CFLAGS so configure finds expat files. And lists the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
  dir in Makefiles.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Tue Jan 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Bump to 2.1.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
* Mon Jul 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
- Change the name of the spec file to libmusicbrainz.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
* Wed Jun 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
- Initial spec file checkin