base-specs/libmusicbrainz.spec
author yippi
Fri, 07 Nov 2008 22:24:49 +0000
changeset 14571 a943a025a41e
parent 9888 27ba93b00571
child 16431 d7743d81b302
permissions -rw-r--r--
2008-11-06 Brian Cameron <[email protected]> * copyright/SUNWgnome-audio.copyright, copyright/SUNWgnome-media.copyright, copyright/SUNWliboil.copyright: Minor corrections. * base-specs/totem-pl-parser.spec, base-specs/audiofile.spec, base-specs/gdm.spec, base-specs/gst-plugins-base.spec, base-specs/rhythmbox.spec, base-specs/esound.spec, base-specs/dasher.spec, base-specs/speex.spec, base-specs/vte.spec, base-specs/gnome-audio.spec, base-specs/flac.spec, base-specs/dbus-glib.spec, base-specs/libtheora.spec, base-specs/gnome-terminal.spec, base-specs/liboil.spec, base-specs/libmusicbrainz.spec, base-specs/totem.spec, base-specs/dbus.spec, base-specs/sound-juicer.spec, base-specs/dbus-python.spec, base-specs/gst.spec, base-specs/gst-plugins-good.spec, base-specs/libvorbis.spec, base-specs/libcroco.spec, base-specs/libogg.spec, base-specs/gnome-media.spec: Update License information.
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: yippi
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Name:         libmusicbrainz
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 9888
diff changeset
    12
License:      LGPL v2.1, GPL v2, Public Domain
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Group:        System Environment/Libraries
9886
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    14
Version:      2.1.5
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:      Software library for accessing MusicBrainz servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
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
    20
URL:          http://musicbrainz.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
The MusicBrainz client library allows applications to make metadata
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
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
    28
create CD Index Disk ids from audio CD-ROMs.
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
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Summary: Headers for developing programs that will use libmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Group:      Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:   %{name}
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
%description   devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
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
    37
applications which will use libmusicbrainz.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%setup -q
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%endif
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
  CPUS=1
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
CFLAGS="$RPM_OPT_FLAGS -I/usr/sfw/include" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
  ./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
	--prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
	--sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
	--mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
make -i install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
#Clean up unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
rm $RPM_BUILD_ROOT%{_libdir}/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
rm $RPM_BUILD_ROOT%{_libdir}/*la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT
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
%post -p /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%postun -p /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%defattr (-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%{_libdir}/*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_includedir}/musicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_libdir}/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_libdir}/pkgconfig/libmusicbrainz.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%changelog
9886
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    89
* Mon May 14 2006 - [email protected]
2221a9921800 2007-05-14 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    90
- 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
    91
* Mon Jan 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Add patch comments.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- Bump to 2.1.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- 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
    97
* Tue Jul 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- Bump to 2.1.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
* Wed Jan 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- 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
   101
  dir in Makefiles.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Tue Jan 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- Bump to 2.1.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Mon Jul 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- 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
   106
* Wed Jun 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Initial spec file checkin