16162
|
1 |
#
|
|
2 |
# spec file for package libcanberra
|
|
3 |
#
|
|
4 |
# includes module(s): libcanberra
|
|
5 |
#
|
19973
|
6 |
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
|
16162
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner yippi
|
16162
|
11 |
# bugdb: bugzilla.freedesktop.org
|
|
12 |
#
|
|
13 |
|
16432
|
14 |
%define OSR 9780:0.6
|
|
15 |
|
16162
|
16 |
Name: libcanberra
|
16282
|
17 |
License: LGPL v2.1
|
|
18 |
Group: Libraries/Multimedia
|
18122
|
19 |
Version: 0.25
|
16282
|
20 |
Distribution: Java Desktop System
|
17864
|
21 |
Vendor: 0pointer.de
|
16282
|
22 |
Summary: Event Sound API Using XDG Sound Theming Specification
|
16162
|
23 |
Source: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
|
24 |
# This patch is needed until autoconf is updated to 2.63 and libtool to 2.2.
|
|
25 |
#owner:yippi date:2008-09-02 type:branding
|
|
26 |
Patch1: libcanberra-01-solaris.diff
|
16282
|
27 |
URL: http://0pointer.de/blog/projects/sixfold-announcement.html
|
16162
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
%include default-depend.inc
|
|
30 |
|
|
31 |
%package root
|
|
32 |
Summary: %{summary} - / filesystem
|
|
33 |
SUNW_BaseDir: /
|
|
34 |
|
|
35 |
%package devel
|
|
36 |
Summary: %{summary} - development files
|
|
37 |
SUNW_BaseDir: %{_basedir}
|
|
38 |
Requires: %name
|
|
39 |
|
|
40 |
%prep
|
|
41 |
%setup -q -n %{name}-%{version}
|
|
42 |
%patch1 -p1
|
|
43 |
|
|
44 |
%build
|
|
45 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
46 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
47 |
CPUS=1
|
|
48 |
fi
|
|
49 |
|
17879
|
50 |
export LDFLAGS="%{_ldflags}"
|
|
51 |
|
16162
|
52 |
glib-gettextize -f
|
16210
|
53 |
aclocal $ACLOCAL_FLAGS -I ./m4
|
16162
|
54 |
autoheader
|
|
55 |
autoconf
|
|
56 |
automake -a -c -f
|
|
57 |
|
|
58 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
|
|
59 |
--libdir=%{_libdir} --bindir=%{_bindir} \
|
|
60 |
--libexecdir=%{_libexecdir} \
|
|
61 |
--sysconfdir=%{_sysconfdir} \
|
17329
|
62 |
--enable-gtk \
|
16162
|
63 |
--disable-static
|
|
64 |
|
|
65 |
make -j$CPUS
|
|
66 |
|
|
67 |
%install
|
|
68 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
69 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
70 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
71 |
|
|
72 |
%if %build_l10n
|
|
73 |
%else
|
|
74 |
# REMOVE l10n FILES
|
|
75 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
76 |
%endif
|
|
77 |
|
|
78 |
%clean
|
|
79 |
rm -rf $RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
%changelog
|
18122
|
82 |
* Mon Jun 14 2010 - [email protected]
|
|
83 |
- Bump to 0.25.
|
17879
|
84 |
* Tue Apr 02 2010 - [email protected]
|
|
85 |
- Set LDFLAGS, otherwise libs in /usr/lib are 64bit versions.
|
17866
|
86 |
* Mon Apr 19 2010 - [email protected]
|
|
87 |
- Bump to 0.24.
|
17620
|
88 |
* Mon Mar 01 2010 - [email protected]
|
|
89 |
- Bump to 0.23.
|
16813
|
90 |
* Mon Oct 19 2009 - [email protected]
|
|
91 |
- Bump to 0.22.
|
16776
|
92 |
* Thu Oct 15 2009 - [email protected]
|
|
93 |
- Bump to 0.21.
|
16757
|
94 |
* Wed Oct 14 2009 - [email protected]
|
16760
|
95 |
- Bump to 0.20.
|
|
96 |
* Wed Oct 14 2009 - [email protected]
|
16757
|
97 |
- Bump to 0.19.
|
16596
|
98 |
* Mon Sep 21 2009 - [email protected]
|
|
99 |
- Bump to 0.18.
|
16547
|
100 |
* Sun Sep 13 2009 - [email protected]
|
|
101 |
- Bump to 0.17.
|
16397
|
102 |
* Thu Aug 27 2009 - [email protected]
|
|
103 |
- Bump to 0.16.
|
16210
|
104 |
* Wed Aug 05 2009 - [email protected]
|
|
105 |
- Bump to 0.15.
|
16162
|
106 |
* Fri Jul 24 2009 - [email protected]
|
|
107 |
- Split from SUNWlibcanberra.spec to add 64-bit support
|