SUNWmusicbrainz.spec
author yippi
Tue, 16 Sep 2008 04:42:41 +0000
changeset 13598 e6be6ecb4ab8
parent 11981 cf3c5b1353ee
child 16434 f21f22550fe9
permissions -rw-r--r--
2008-09-16 Brian Cameron <[email protected]> * SUNWmusicbrainz.spec, SUNWgnome-terminal.spec, copyright/SUNWmusicbrainz.copyright, copyright/SUNWgnome-terminal.copyright: Add new copyright files. * SUNWgnome-audio.spec, copyright/SUNWgnome-audio.copyright: Add information about the gnome-audio module. * SUNWgnome-display-mgr.spec, copyright/SUNWgnome-display-mgr.copyright: Add missing ChangeLog files and information about additional licenses in the code. * SUNWgnome-media.spec, copyright/SUNWgnome-media.copyright: Add missing ChangeLog file and be more clear about additional licenses found in the code. Minor fixes. * copyright/SUNWgnome-media-player.copyright: Be more clear about additional licenses found in the code. Minor fixes. * SUNWlibcroco.spec: Add copyright files to packaging. * SUNWgnome-media-player.spec: Fix packaging. * SUNWlibtheora.spec, copyright/SUNWlibtheora.copyright: Add missing CHANGES file, minor fixes. * copyright/SUNWspeex.copyright, copyright/SUNWdbus.copyright, copyright/SUNWdbus-bindings.copyright, copyright/SUNWgnome-a11y-dasher.copyright, SUNWogg-vorbis.copyright, copyright/SUNWlibcroco.copyright, copyright/SUNWlibcanberra.copyright, copyright/SUNWliboil.copyright: Minor fixes.
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 SUNWmusicbrainz
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
# includes module(s): libmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
11981
cf3c5b1353ee 2008-03-31 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
     6
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# 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
     8
# 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
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use musicbrainz = libmusicbrainz.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Name:                    SUNWmusicbrainz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:                 Library for accessing MusicBrainz servers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:                 %{musicbrainz.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
SUNW_BaseDir:            %{_basedir}
11981
cf3c5b1353ee 2008-03-31 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    19
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Requires: SUNWlexpt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWlibC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWlibmsr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRequires: SUNWlexpt
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
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%include default-depend.inc
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%musicbrainz.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
cd %{_builddir}/%name-%version/libmusicbrainz-%{musicbrainz.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
cd ..
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
export CXXFLAGS="%cxx_optflags -I/usr/sfw/include -lCrun -lCstd"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
export LDFLAGS="%_ldflags -L/usr/sfw/lib"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%if %cc_is_gcc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
CXXFLAGS="$CXXFLAGS -XCClinker -norunpath"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
export CFLAGS="%optflags -I/usr/sfw/include"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%musicbrainz.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%musicbrainz.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%{_libdir}/libmusicbrainz*.so*
13598
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    62
%doc -d libmusicbrainz-%{musicbrainz.version} AUTHORS README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    63
%doc -d libmusicbrainz-%{musicbrainz.version} perl/Bundle/README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    64
%doc -d libmusicbrainz-%{musicbrainz.version} perl/Client/README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    65
%doc -d libmusicbrainz-%{musicbrainz.version} perl/TRM/README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    66
%doc -d libmusicbrainz-%{musicbrainz.version} perl/Queries/README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    67
%doc -d libmusicbrainz-%{musicbrainz.version} python/README
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    68
%doc(bzip2) -d libmusicbrainz-%{musicbrainz.version} COPYING python/COPYING
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    69
%doc(bzip2) -d libmusicbrainz-%{musicbrainz.version} ChangeLog 
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    70
%dir %attr (0755, root, sys) %{_datadir}
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    71
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%{_includedir}/musicbrainz
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
%changelog
13598
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    82
* Mon Sep 15 2008 - [email protected]
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 11981
diff changeset
    83
- Add new copyright files.
11981
cf3c5b1353ee 2008-03-31 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    84
* Mon Mar 31 2008 - [email protected]
cf3c5b1353ee 2008-03-31 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    85
- Add SUNW_Copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
* Wed Jan 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
- Set LDFLAGS/CFLAGS to find expat files under /usr/sfw.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
* Tue Sep 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- Fix libmusicbrainz so it links against the Forte STL library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
  since it was building with unresolved symbols before.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Mon Jul 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- Create a separate devel package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Fri Jul 08 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- Modify patch not to include -lstdc++
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
* Thu Jul 07 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- Initial spec-file created