source: projects/specs/trunk/a/alsa-oss/alsa-oss-vl.spec @ 8851

Revision 8851, 3.9 KB checked in by Takemikaduchi, 10 years ago (diff)

alsa, mc: new upstream release
others: rebuild

Line 
1Summary:        Advanced Linux Sound Architecture (ALSA) wrapper for OSS
2Name:           alsa-oss
3Version:        1.0.28
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%patch1 -p1
40
41%build
42%ifarch x86_64
43autoreconf -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 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.28-1
83- new upstream release
84
85* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
86- new upstream release
87
88* Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.17-1
89- initial build for Vine Linux
90
91* Tue Jul 29 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1
92- New upstream version
93
94* Mon Oct 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.15-0.1
95- New upstream version
96
97* Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-3
98- License clarification
99- Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch
100
101* Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 1.0.14-2
102- binutils/gcc bug rebuild (#249435)
103
104* Tue Jul 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-1
105- Updated to match F8 alsa-libs
106- Changed reference to patch filename
107
108* Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4
109- Split out libraries to -libs subpackage, fixing BZ#221711
110- Implemented changes as recommended by Jason Tibbitts
111- Adjusted aoss patch to allow for 32-bit library use on x86_64
112- Added reference in man page to added functionality
113- Resultant alsa-oss package reports no-binary error (necessary evil, I guess)
114
115* Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3
116- Added conditionalized rpath fixes for x86_64 (thanks Denis!)
117- Re-added *.a to -devel package
118- Added %%defattr for -devel, added oss-redir/README as %%doc
119
120* Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2
121- Adding --disable-static to configure
122- Removing *.a from -devel package
123- Adding name and version to patch
124- Removing commented-out autoreconf line
125- Forcibly deleting *.a files in %%install (why didn't it believe me?)
126
127* Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1
128- Hijacked from stalled review (BZ#187706)
129- Bumped to 1.0.12 for devel branch
130- Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets)
131- Added dist tag!
132- Made macros slightly more consistent
133- Deleted .la files in %%install
134
135* Sun Apr  2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3
136- Initial build.
Note: See TracBrowser for help on using the repository browser.