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