source: projects/specs/branches/6/a/alsa-oss/alsa-oss-vl.spec @ 521

Revision 521, 3.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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