libcanberra.spec revision 18617
10139N/A#
10139N/A# spec file for package libcanberra
10139N/A#
12173N/A# includes module(s): libcanberra
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner yippi
10139N/A# bugdb: bugzilla.freedesktop.org
10139N/A#
12091N/A
10139N/A%define OSR 9780:0.6
10139N/A
10139N/AName: libcanberra
10139N/ALicense: LGPL v2.1
10686N/AGroup: Libraries/Multimedia
12135N/AVersion: 0.24
10139N/ADistribution: Java Desktop System
11055N/AVendor: 0pointer.de
10322N/ASummary: Event Sound API Using XDG Sound Theming Specification
12173N/ASource: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
12173N/A# This patch is needed until autoconf is updated to 2.63 and libtool to 2.2.
12204N/A#owner:yippi date:2008-09-02 type:branding
12204N/APatch1: libcanberra-01-solaris.diff
10139N/AURL: http://0pointer.de/blog/projects/sixfold-announcement.html
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ARequires: %name
10139N/A
10139N/A%prep
10139N/A%setup -q -n %{name}-%{version}
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Aglib-gettextize -f
10139N/Aaclocal $ACLOCAL_FLAGS -I ./m4
10139N/Aautoheader
10322N/Aautoconf
12173N/Aautomake -a -c -f
12204N/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
11303N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
10139N/A* Mon Apr 19 2010 - brian.cameron@oracle.com
10139N/A- Bump to 0.24.
10139N/A* Mon Mar 01 2010 - brian.cameron@sun.com
10139N/A- Bump to 0.23.
10139N/A* Mon Oct 19 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.22.
12173N/A* Thu Oct 15 2009 - brian.cameron@sun.com
12173N/A- Bump to 0.21.
10139N/A* Wed Oct 14 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.20.
10139N/A* Wed Oct 14 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.19.
10139N/A* Mon Sep 21 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.18.
10139N/A* Sun Sep 13 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.17.
10139N/A* Thu Aug 27 2009 - brian.cameron@sun.com
10807N/A- Bump to 0.16.
10139N/A* Wed Aug 05 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.15.
10139N/A* Fri Jul 24 2009 - ke.wang@sun.com
10139N/A- Split from SUNWlibcanberra.spec to add 64-bit support
10139N/A