- -libsamplerate: License: GPLv2+
- omit oss_sink
This commit is contained in:
parent
66559c90d5
commit
cf8a1fd2f8
1 changed files with 26 additions and 22 deletions
48
akode.spec
48
akode.spec
|
|
@ -2,7 +2,7 @@
|
|||
Summary: Audio-decoding framework
|
||||
Name: akode
|
||||
Version: 2.0.1
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
|
|
@ -21,7 +21,6 @@ Patch1: akode-pulseaudio.patch
|
|||
%endif
|
||||
|
||||
%if 0%{?fedora} > 7
|
||||
%define _with_pulseaudio --with-pulseaudio
|
||||
# pulseaudio is/will-be the F8 default
|
||||
Requires: %{name}-pulseaudio
|
||||
%endif
|
||||
|
|
@ -46,7 +45,6 @@ aKode currently has the following decoder plugins:
|
|||
* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio.
|
||||
|
||||
aKode also has the following audio outputs:
|
||||
* oss: Outputs to the OSS (Open Sound System)
|
||||
* alsa: Outputs to ALSA (dmix is recommended).
|
||||
|
||||
%package devel
|
||||
|
|
@ -63,22 +61,22 @@ Requires: %{name} = %{version}-%{release}
|
|||
%description jack
|
||||
%{summary}.
|
||||
|
||||
%package libsamplerate
|
||||
Summary: Resampler based on (GPL) libsamplerate for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libsamplerate
|
||||
%{summary}.
|
||||
Packaged separately to keep main/core %{akode} package LGPL-clean.
|
||||
|
||||
%package pulseaudio
|
||||
%package pulseaudio
|
||||
Summary: Pulseaudio output backend for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description pulseaudio
|
||||
%description pulseaudio
|
||||
%{summary}.
|
||||
Recommended for network transparent audio.
|
||||
|
||||
# Packaged separately to keep main/core %{akode} package LGPL-clean.
|
||||
%package libsamplerate
|
||||
Summary: Resampler based on libsamplerate for %{name}
|
||||
Group: Development/Libraries
|
||||
License: GPLv2+
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libsamplerate
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
|
|
@ -95,6 +93,7 @@ Recommended for network transparent audio.
|
|||
--disable-debug --disable-warnings --disable-dependency-tracking \
|
||||
--without-libltdl \
|
||||
--with-alsa \
|
||||
--without-oss \
|
||||
--with-flac \
|
||||
%{?_with_jack} %{!?_with_jack:--without-jack} \
|
||||
--with-libsamplerate \
|
||||
|
|
@ -108,12 +107,13 @@ make %{?_smp_mflags}
|
|||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# unpackaged files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
||||
rm -f %{buildroot}%{_libdir}/lib*.la
|
||||
#rm -f %{buildroot}%{_libdir}/libakode_oss_sink.so
|
||||
|
||||
# rpmdocs
|
||||
for file in AUTHORS COPYING NEWS README TODO ; do
|
||||
|
|
@ -122,7 +122,7 @@ done
|
|||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
|
@ -136,7 +136,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_bindir}/akodeplay
|
||||
%{_libdir}/libakode.so.*
|
||||
%{_libdir}/libakode_alsa_sink.so
|
||||
%{_libdir}/libakode_oss_sink.so
|
||||
%{_libdir}/libakode_mpc_decoder.so
|
||||
%{_libdir}/libakode_xiph_decoder.so
|
||||
|
||||
|
|
@ -152,19 +151,24 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_libdir}/libakode_jack_sink.so
|
||||
%endif
|
||||
|
||||
%files libsamplerate
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libakode_src_resampler.so
|
||||
|
||||
%if "%{?_with_pulseaudio:1}" == "1"
|
||||
%files pulseaudio
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libakode_polyp_sink.so
|
||||
%endif
|
||||
|
||||
# License: GPLv2+
|
||||
%files libsamplerate
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libakode_src_resampler.so
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 20 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-8
|
||||
- -libsamplerate: License: GPLv2+
|
||||
- omit oss_sink
|
||||
|
||||
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.1-7
|
||||
- Requires: %%{name}-pulseaudio (f8+)
|
||||
- License: LGPLv2+
|
||||
|
|
|
|||
Reference in a new issue