specs/SUNWmusicbrainz.spec
author Jon Tibble <meths@btinternet.com>
Sat Oct 06 16:11:50 2012 +0100 (2012-10-06)
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17902 a077563a1cf5
child 19973 f05dadadf325
child 20343 4198ebdad7ef
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
     1 #
     2 # spec file for package SUNWmusicbrainz
     3 #
     4 # includes module(s): libmusicbrainz
     5 #
     6 # Copyright (c) 2008 Sun Microsystems, Inc.
     7 # This file and all modifications and additions to the pristine
     8 # package are under the same license as the package itself.
     9 #
    10 %define owner yippi
    11 #
    12 %include Solaris.inc
    13 %use musicbrainz = libmusicbrainz3.spec
    14 
    15 Name:                    SUNWmusicbrainz
    16 IPS_package_name:        library/musicbrainz/libmusicbrainz
    17 Meta(info.classification): %{classification_prefix}:System/Multimedia Libraries
    18 Summary:                 Library for accessing MusicBrainz servers
    19 Version:                 %{musicbrainz.version}
    20 SUNW_BaseDir:            %{_basedir}
    21 SUNW_Copyright:          %{name}.copyright
    22 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
    23 
    24 %include default-depend.inc
    25 Requires: SUNWneon
    26 Requires: SUNWlibdiscid
    27 BuildRequires: SUNWcmake
    28 BuildRequires: SUNWlibdiscid-devel
    29 
    30 %package devel
    31 Summary:                 %{summary} - development files
    32 SUNW_BaseDir:            %{_basedir}
    33 %include default-depend.inc
    34 
    35 %prep
    36 rm -rf %name-%version
    37 mkdir %name-%version
    38 %musicbrainz.prep -d %name-%version
    39 
    40 %build
    41 %musicbrainz.build -d %name-%version
    42 
    43 %install
    44 %musicbrainz.install -d %name-%version
    45 
    46 %clean
    47 rm -rf $RPM_BUILD_ROOT
    48 
    49 %files
    50 %defattr (-, root, bin)
    51 %dir %attr (0755, root, bin) %{_libdir}
    52 %{_libdir}/libmusicbrainz*.so*
    53 %doc -d libmusicbrainz-%{musicbrainz.version} AUTHORS README
    54 #%doc -d libmusicbrainz-%{musicbrainz.version} perl/Bundle/README
    55 #%doc -d libmusicbrainz-%{musicbrainz.version} perl/Client/README
    56 #%doc -d libmusicbrainz-%{musicbrainz.version} perl/TRM/README
    57 #%doc -d libmusicbrainz-%{musicbrainz.version} perl/Queries/README
    58 #%doc -d libmusicbrainz-%{musicbrainz.version} python/README
    59 %doc(bzip2) -d libmusicbrainz-%{musicbrainz.version} COPYING
    60 #%doc(bzip2) -d libmusicbrainz-%{musicbrainz.version} ChangeLog 
    61 %dir %attr (0755, root, sys) %{_datadir}
    62 %dir %attr (0755, root, other) %{_datadir}/doc
    63 
    64 %files devel
    65 %defattr (-, root, bin)
    66 %dir %attr (0755, root, bin) %{_libdir}
    67 %dir %attr (0755, root, other) %{_libdir}/pkgconfig
    68 %{_libdir}/pkgconfig/*
    69 %dir %attr (0755, root, bin) %{_includedir}
    70 %{_includedir}/musicbrainz3
    71 
    72 %changelog
    73 * Wed Nov 18 2009 - ke.wang@sun.com
    74 - Bump to 3.0.2
    75 * Mon Sep 15 2008 - brian.cameron@sun.com
    76 - Add new copyright files.
    77 * Mon Mar 31 2008 - brian.cameron@sun.com
    78 - Add SUNW_Copyright
    79 * Sun Jun 11 2006 - laca@sun.com
    80 - change group from other to bin/sys
    81 * Mon Feb 20 2006 - damien.carbery@sun.com
    82 - Update Build/Requires after running check-deps.pl script.
    83 * Wed Jan 04 2006 - damien.carbery@sun.com
    84 - Set LDFLAGS/CFLAGS to find expat files under /usr/sfw.
    85 * Tue Sep 27 2005 - brian.cameron@sun.com
    86 - Fix libmusicbrainz so it links against the Forte STL library
    87   since it was building with unresolved symbols before.
    88 * Mon Jul 25 2005 - balamurali.viswanathan@wipro.com
    89 - Create a separate devel package
    90 * Fri Jul 08 2005 - balamurali.viswanathan@wipro.com
    91 - Modify patch not to include -lstdc++
    92 * Thu Jul 07 2005 - balamurali.viswanathan@wipro.com
    93 - Initial spec-file created