1 | Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS |
---|
2 | Name: alsa-oss |
---|
3 | Version: 1.0.25 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv2+ |
---|
6 | Group: Applications/Multimedia |
---|
7 | URL: http://www.alsa-project.org/ |
---|
8 | Source: ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-%{version}.tar.bz2 |
---|
9 | Patch: %{name}-1.0.12-aoss.patch |
---|
10 | Patch1: %{name}-glibc-open.patch |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
12 | BuildRequires: alsa-lib-devel >= %{version} |
---|
13 | %ifarch x86_64 |
---|
14 | BuildRequires: automake, libtool |
---|
15 | %endif |
---|
16 | Requires: %{name}-libs = %{version}-%{release} |
---|
17 | |
---|
18 | %description |
---|
19 | This package contains the compatibility library and wrapper script for |
---|
20 | running legacy OSS applications through ALSA. Unlike the kernel |
---|
21 | driver, this has the advantage of supporting DMIX software mixing. |
---|
22 | |
---|
23 | %package libs |
---|
24 | Summary: ALSA/OSS wrapper libraries |
---|
25 | Group: System Environment/Libraries |
---|
26 | Requires: %{name} = %{version}-%{release} |
---|
27 | %description libs |
---|
28 | System libraries for alsa-oss. |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Headers for ALSA wrapper for OSS |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: %{name} = %{version}-%{release}, %{name}-libs = %{version}-%{release} |
---|
34 | %description devel |
---|
35 | Header files for alsa-oss. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | %patch1 -p1 |
---|
40 | |
---|
41 | %build |
---|
42 | %ifarch x86_64 |
---|
43 | autoreconf -f -i |
---|
44 | %endif |
---|
45 | %configure \ |
---|
46 | %ifarch x86_64 |
---|
47 | --disable-rpath \ |
---|
48 | %endif |
---|
49 | --disable-static |
---|
50 | %{__make} %{?_smp_mflags} |
---|
51 | |
---|
52 | %install |
---|
53 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
54 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
56 | |
---|
57 | %clean |
---|
58 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | %post libs -p /sbin/ldconfig |
---|
61 | %postun libs -p /sbin/ldconfig |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %doc COPYING |
---|
66 | %{_bindir}/aoss |
---|
67 | |
---|
68 | %files libs |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %{_libdir}/*.so.* |
---|
71 | %{_mandir}/man?/* |
---|
72 | |
---|
73 | %files devel |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc oss-redir/README |
---|
76 | %{_includedir}/* |
---|
77 | %{_libdir}/*.a |
---|
78 | %{_libdir}/*.so |
---|
79 | |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1 |
---|
83 | - new upstream release |
---|
84 | |
---|
85 | * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.17-1 |
---|
86 | - initial build for Vine Linux |
---|
87 | |
---|
88 | * Tue Jul 29 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1 |
---|
89 | - New upstream version |
---|
90 | |
---|
91 | * Mon Oct 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.15-0.1 |
---|
92 | - New upstream version |
---|
93 | |
---|
94 | * Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-3 |
---|
95 | - License clarification |
---|
96 | - Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch |
---|
97 | |
---|
98 | * Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 1.0.14-2 |
---|
99 | - binutils/gcc bug rebuild (#249435) |
---|
100 | |
---|
101 | * Tue Jul 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-1 |
---|
102 | - Updated to match F8 alsa-libs |
---|
103 | - Changed reference to patch filename |
---|
104 | |
---|
105 | * Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4 |
---|
106 | - Split out libraries to -libs subpackage, fixing BZ#221711 |
---|
107 | - Implemented changes as recommended by Jason Tibbitts |
---|
108 | - Adjusted aoss patch to allow for 32-bit library use on x86_64 |
---|
109 | - Added reference in man page to added functionality |
---|
110 | - Resultant alsa-oss package reports no-binary error (necessary evil, I guess) |
---|
111 | |
---|
112 | * Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3 |
---|
113 | - Added conditionalized rpath fixes for x86_64 (thanks Denis!) |
---|
114 | - Re-added *.a to -devel package |
---|
115 | - Added %%defattr for -devel, added oss-redir/README as %%doc |
---|
116 | |
---|
117 | * Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2 |
---|
118 | - Adding --disable-static to configure |
---|
119 | - Removing *.a from -devel package |
---|
120 | - Adding name and version to patch |
---|
121 | - Removing commented-out autoreconf line |
---|
122 | - Forcibly deleting *.a files in %%install (why didn't it believe me?) |
---|
123 | |
---|
124 | * Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1 |
---|
125 | - Hijacked from stalled review (BZ#187706) |
---|
126 | - Bumped to 1.0.12 for devel branch |
---|
127 | - Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets) |
---|
128 | - Added dist tag! |
---|
129 | - Made macros slightly more consistent |
---|
130 | - Deleted .la files in %%install |
---|
131 | |
---|
132 | * Sun Apr 2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3 |
---|
133 | - Initial build. |
---|