base-specs/libmusicbrainz3.spec
author chrisk
Mon, 19 Apr 2010 15:04:42 +0000
changeset 17865 b7ff02e93f66
parent 17239 471fcd7d64d9
child 19973 f05dadadf325
child 20193 73cee3bdda8a
permissions -rw-r--r--
2010-04-19 Christian Kelly <[email protected]> * base-specs/poppler-data.spec, base-specs/totem-pl-parser.spec, base-specs/libgksuui.spec, base-specs/sqlite.spec, base-specs/pyxml.spec, base-specs/vino.spec, base-specs/rarian.spec, base-specs/nautilus-open-terminal.spec, base-specs/libgnomeui.spec, base-specs/libgweather.spec, base-specs/w3m.spec, base-specs/pidgin-otr.spec, base-specs/seahorse-plugins.spec, base-specs/tracker.spec, base-specs/libspectre.spec, base-specs/tango-icon-theme.spec, base-specs/ttf-freefont.spec, base-specs/nautilus.spec, base-specs/libgsf.spec, base-specs/mousetweaks.spec, base-specs/libtheora.spec, base-specs/libmusicbrainz3.spec, base-specs/ncurses.spec, base-specs/shared-mime-info.spec, base-specs/vinagre.spec, base-specs/pangomm.spec, base-specs/nautilus-sendto.spec, base-specs/libnotify.spec, base-specs/libgnome-keyring.spec, base-specs/pango.spec, base-specs/libgnomeprintui.spec, base-specs/numpy.spec, base-specs/sigcpp.spec, base-specs/notification-daemon.spec, base-specs/printman.spec, base-specs/libgcrypt.spec, base-specs/yelp.spec, base-specs/pilot-link.spec, base-specs/vala.spec, base-specs/startup-notification.spec, base-specs/pyorbit.spec, base-specs/virt-manager.spec, base-specs/libgphoto2.spec, base-specs/pidgin.spec, base-specs/sgml-common.spec, base-specs/libgpg-error.spec, base-specs/libvorbis.spec, base-specs/libunique.spec, base-specs/libogg.spec, base-specs/libgail-gnome.spec, base-specs/libvisual-plugins.spec, base-specs/librsvg.spec, base-specs/pygtk2.spec, base-specs/rhythmbox.spec, base-specs/libgtkhtml.spec, base-specs/system-config-printer.spec, base-specs/ptlib.spec, base-specs/speex.spec, base-specs/vte.spec, base-specs/libgtop.spec, base-specs/libsdl.spec, base-specs/ttf-baekmuk.spec, base-specs/pysqlite.spec, base-specs/quick-lounge-applet.spec, base-specs/libvisual.spec, base-specs/libsoup.spec, base-specs/realvnc-java-client.spec, base-specs/opal.spec, base-specs/libgksu.spec, base-specs/libglade.spec, base-specs/liboil.spec, base-specs/pygobject.spec, base-specs/totem.spec, base-specs/libgnomecanvas.spec, base-specs/libotr.spec, base-specs/sound-juicer.spec, base-specs/libproxy.spec, base-specs/seahorse.spec, base-specs/pkg-config.spec, base-specs/python-setuptools.spec, base-specs/libgnomeprint.spec, base-specs/libtasn1.spec, base-specs/libggz.spec, base-specs/poppler.spec, base-specs/zenity.spec, base-specs/orca.spec, base-specs/libwnck.spec, base-specs/system-tools-backends.spec, base-specs/pycairo.spec, base-specs/metacity.spec, base-specs/libgc.spec: Fix Vendor info.
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
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
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    17
Version:      3.0.2
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 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
URL:          http://musicbrainz.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
The MusicBrainz client library allows applications to make metadata
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
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
    31
create CD Index Disk ids from audio CD-ROMs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary: Headers for developing programs that will use libmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Group:      Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:   %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%description   devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
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
    40
applications which will use libmusicbrainz.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%setup -q
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    44
mv AUTHORS.txt AUTHORS
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    45
mv COPYING.txt COPYING
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    46
mv README.txt README
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%build
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    49
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
    50
if test "x$CPUS" = "x" -o $CPUS = 0; then
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    51
     CPUS=1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    54
%if %debug_build
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    55
%define build_type Debug
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%else
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    57
%define build_type Release
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%endif
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    59
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    60
export LDFLAGS="%_ldflags -i -lCstd -lCrun"
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    61
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    62
cmake   -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}                          \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    63
        -DCMAKE_BUILD_TYPE=%{build_type}                                \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    64
        -DCMAKE_C_COMPILER:FILEPATH=$(CC)                               \
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    65
        -DCMAKE_C_FLAGS:STRING="%optflags"                              \
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    66
        -DCMAKE_CXX_COMPILER:FILEPATH=$(CXX)                            \
17239
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    67
        -DCMAKE_CXX_FLAGS_RELEASE:STRING="%cxx_optflags -O4"            \
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    68
        -DCMAKE_VERBOSE_MAKEFILE=1
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    69
make
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%install
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    72
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
    73
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    74
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    75
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
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%changelog
17239
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    81
* Wed Dec 23 2009 - [email protected]
471fcd7d64d9 2009-12-23 Ke Wang <[email protected]>
wangke
parents: 17047
diff changeset
    82
- 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
    83
  SUNWmusicbrainz.
17047
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    84
* Mon Nov 30 2009 - [email protected]
d58a87cdd3c1 2009-11-30 Ke Wang <[email protected]>
wangke
parents: 17009
diff changeset
    85
- Use SunStudio as C++ compiler instead of g++.
16979
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    86
* Wed Nov 18 2009 - [email protected]
3391ec9443ec 2009-11-18 Ke Wang <[email protected]>
wangke
parents: 16434
diff changeset
    87
- Bump to 3.0.2
9886
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    88
* Mon May 14 2006 - [email protected]
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    89
- 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
    90
* Mon Jan 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
- Add patch comments.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- Bump to 2.1.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- 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
    96
* Tue Jul 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Bump to 2.1.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Wed Jan 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- 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
   100
  dir in Makefiles.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
* Tue Jan 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
- Bump to 2.1.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Mon Jul 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- 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
   105
* Wed Jun 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- Initial spec file checkin