16913N/A#
16913N/A# spec file for package libcanberra
16913N/A#
16913N/A# includes module(s): libcanberra
16913N/A#
20885N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
16913N/A# This file and all modifications and additions to the pristine
16913N/A# package are under the same license as the package itself.
16913N/A#
17185N/A%define owner yippi
16913N/A# bugdb: bugzilla.freedesktop.org
16913N/A#
16913N/A
17183N/A%define OSR 9780:0.6
17183N/A
16913N/AName: libcanberra
17033N/ALicense: LGPL v2.1
17033N/AGroup: Libraries/Multimedia
20780N/AVersion: 0.28
17033N/ADistribution: Java Desktop System
18615N/AVendor: 0pointer.de
17033N/ASummary: Event Sound API Using XDG Sound Theming Specification
16913N/ASource: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
16913N/A# This patch is needed until autoconf is updated to 2.63 and libtool to 2.2.
16913N/A#owner:yippi date:2008-09-02 type:branding
16913N/APatch1: libcanberra-01-solaris.diff
19025N/A#owner:yippi date:2010-09-24 type:bug doo:16974
19025N/APatch2: libcanberra-02-device.diff
17033N/AURL: http://0pointer.de/blog/projects/sixfold-announcement.html
16913N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16913N/A%include default-depend.inc
16913N/A
19025N/ARequires: SUNWgnome-config
19025N/ABuildRequires: SUNWgnome-config-devel
19025N/A
16913N/A%package root
16913N/ASummary: %{summary} - / filesystem
16913N/ASUNW_BaseDir: /
16913N/A
16913N/A%package devel
16913N/ASummary: %{summary} - development files
16913N/ASUNW_BaseDir: %{_basedir}
16913N/ARequires: %name
16913N/A
16913N/A%prep
16913N/A%setup -q -n %{name}-%{version}
16913N/A%patch1 -p1
19025N/A%patch2 -p1
16913N/A
16913N/A%build
16913N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16913N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16913N/A CPUS=1
16913N/Afi
16913N/A
18630N/Aexport LDFLAGS="%{_ldflags}"
18630N/A
20901N/Aautoreconf --force --install
16913N/A
16913N/A./configure --prefix=%{_prefix} --mandir=%{_mandir} \
16913N/A --libdir=%{_libdir} --bindir=%{_bindir} \
16913N/A --libexecdir=%{_libexecdir} \
16913N/A --sysconfdir=%{_sysconfdir} \
18080N/A --enable-gtk \
16913N/A --disable-static
16913N/A
16913N/Amake -j$CPUS
16913N/A
16913N/A%install
16913N/Amake install DESTDIR=$RPM_BUILD_ROOT
16913N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
16913N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
16913N/A
16913N/A%if %build_l10n
16913N/A%else
16913N/A# REMOVE l10n FILES
16913N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
16913N/A%endif
16913N/A
16913N/A%clean
16913N/Arm -rf $RPM_BUILD_ROOT
16913N/A
16913N/A%changelog
20901N/A* Fri Apr 27 2012 - brian.cameron@oracle.com
20901N/A- Now use autoreconf.
20780N/A* Wed Jul 06 2011 - brian.cameron@oracle.com
20780N/A- Bump to 0.28.
19025N/A* Mon Oct 04 2010 - brian.cameron@oracle.com
19025N/A- Bump to 0.26.
19025N/A* Tue Sep 14 2010 - brian.cameron@oracle.com
19025N/A- Add patch libcanberra-02-device.diff so that libcanberra respects the
19025N/A device setting from gnome-volume-control. This adds a dependency on
19025N/A GConf (SUNWgnome-config).
18873N/A* Mon Jun 14 2010 - brian.cameron@oracle.com
18873N/A- Bump to 0.25.
18630N/A* Tue Apr 02 2010 - christian.kelly@oracle.com
18630N/A- Set LDFLAGS, otherwise libs in /usr/lib are 64bit versions.
18617N/A* Mon Apr 19 2010 - brian.cameron@oracle.com
18617N/A- Bump to 0.24.
18371N/A* Mon Mar 01 2010 - brian.cameron@sun.com
18371N/A- Bump to 0.23.
17564N/A* Mon Oct 19 2009 - brian.cameron@sun.com
17564N/A- Bump to 0.22.
17527N/A* Thu Oct 15 2009 - brian.cameron@sun.com
17527N/A- Bump to 0.21.
17508N/A* Wed Oct 14 2009 - brian.cameron@sun.com
17511N/A- Bump to 0.20.
17511N/A* Wed Oct 14 2009 - brian.cameron@sun.com
17508N/A- Bump to 0.19.
17347N/A* Mon Sep 21 2009 - brian.cameron@sun.com
17347N/A- Bump to 0.18.
17298N/A* Sun Sep 13 2009 - brian.cameron@sun.com
17298N/A- Bump to 0.17.
17148N/A* Thu Aug 27 2009 - brian.cameron@sun.com
17148N/A- Bump to 0.16.
16961N/A* Wed Aug 05 2009 - brian.cameron@sun.com
16961N/A- Bump to 0.15.
16913N/A* Fri Jul 24 2009 - ke.wang@sun.com
16913N/A- Split from SUNWlibcanberra.spec to add 64-bit support
20780N/A