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