base-specs/esound.spec
author yippi
Thu, 05 Aug 2010 11:47:22 +0000
changeset 19973 f05dadadf325
parent 17864 337913e88a9d
permissions -rw-r--r--
Fix copyright lines.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package esound
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
19973
f05dadadf325 Fix copyright lines.
yippi
parents: 17864
diff changeset
     4
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16426
diff changeset
     8
%define owner yippi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16123
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16123
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         esound
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 13413
diff changeset
    14
License:      LGPL v2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:        System/Library/GNOME
16123
a6d66c4532f5 2009-07-26 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    16
Version:      0.2.41
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution: Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    19
Vendor:       Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:      esound - The Enlightened Sound Daemon
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source:       http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
# This patch works with the audiofile-01-uninstalled-config.diff to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
# allow esound to be built when audiofile isn't acutally installed on the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
# system.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
#owner:yippi date:2004-05-07 type:feature
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Patch1:       esound-01-esd-config.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
URL:          http://www.tux.org/~ricdude/overview.html
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:     audiofile
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
The Enlightened Sound Daemon (ESD or EsounD) is the sound server for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Enlightenment and GNOME. It mixes several sound streams into one for output.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
It can also manage network-transparent audio.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%setup -q
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    40
%patch1 -p1 -b .orig
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%if %debug_build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%define debug_opt --enable-debugging
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%define debug_opt --disable-debugging
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
aclocal $ACLOCAL_FLAGS -I .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
autoconf
9406
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    63
automake -a -c -f
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
./configure --prefix=%{_prefix}				\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
	    --sysconfdir=%{_sysconfdir} 		\
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    66
            --with-esd-dir=%{_prefix}/lib		\
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    67
            --libdir=%{_libdir}                         \
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    68
            --bindir=%{_bindir}                         \
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    69
            --libexecdir=%{_prefix}/lib                 \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
            --disable-audiofiletest                     \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
	    --mandir=%{_mandir} %{debug_opt}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
make -j$CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%defattr (-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_sysconfdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%changelog
16123
a6d66c4532f5 2009-07-26 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    88
* Sun Jul 26 2009 - [email protected]
a6d66c4532f5 2009-07-26 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    89
- Bump to 0.2.41.
13413
983902a4c162 2008-09-04 Christian Kelly <[email protected]>
chrisk
parents: 12827
diff changeset
    90
* Thu Sep 04 2008 - [email protected]
983902a4c162 2008-09-04 Christian Kelly <[email protected]>
chrisk
parents: 12827
diff changeset
    91
- Bump to 0.2.40.
12827
162382e499a2 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 9838
diff changeset
    92
* Wed Jul 16 2008 - [email protected]
162382e499a2 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 9838
diff changeset
    93
- Bump to 0.2.39.
9838
752226198074 2007-05-04 Damien Carbery <[email protected]>
dcarbery
parents: 9687
diff changeset
    94
* Fri May 04 2007 - [email protected]
752226198074 2007-05-04 Damien Carbery <[email protected]>
dcarbery
parents: 9687
diff changeset
    95
- Bump to 0.2.38.
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    96
* Wed Apr  4 2007 - [email protected]
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    97
- convert to new style 64-bit build
9565
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9406
diff changeset
    98
* Wed Mar 15 2007 - [email protected]
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9406
diff changeset
    99
- Removed adding ccdir to PATH
9406
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   100
* Wed Feb 28 2007 - [email protected]
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   101
- need to run automake because the maintainer's version is incompatible with
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   102
  our version of autoconf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Wed Feb 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- Bump to 0.2.37.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
* Sun Feb 18 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- create (split from SUNWgnome-audio.spec)