rpms/akode/devel akode.spec,1.17,1.18
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Mon Dec 24 04:46:51 UTC 2007
- Previous message (by thread): rpms/akode/F-8 akode-2.0.2-flac113-portable.patch, NONE, 1.1 akode-2.0.2-multilib.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 akode.spec, 1.13, 1.14 sources, 1.3, 1.4
- Next message (by thread): rpms/akode/F-7 akode-2.0.2-flac113-portable.patch, NONE, 1.1 akode-2.0.2-multilib.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 akode.spec, 1.11, 1.12 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/pkgs/rpms/akode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30678
Modified Files:
akode.spec
Log Message:
make libsamplerate optional (and fedora only)
Index: akode.spec
===================================================================
RCS file: /cvs/pkgs/rpms/akode/devel/akode.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- akode.spec 24 Dec 2007 04:28:02 -0000 1.17
+++ akode.spec 24 Dec 2007 04:46:11 -0000 1.18
@@ -18,6 +18,7 @@
%define _with_flac --with-flac
%if 0%{?fedora} > 4
%define _with_jack --with-jack
+%define _with_libsamplerate --with-libsamplerate
%define _with_pulseaudio --with-pulseaudio
%endif
@@ -30,7 +31,7 @@
BuildRequires: alsa-lib-devel
%{?_with_flac:BuildRequires: flac-devel}
%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
-BuildRequires: libsamplerate-devel
+%{?_with_libsamplerate:BuildRequires: libsamplerate-devel}
BuildRequires: libvorbis-devel
%{?_with_pulseaudio:BuildRequires: pulseaudio-lib-devel}
BuildRequires: speex-devel
@@ -100,7 +101,7 @@
--without-oss \
%{?_with_flac} %{!?_with_flac:--without-flac} \
%{?_with_jack} %{!?_with_jack:--without-jack} \
- --with-libsamplerate \
+ %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
%{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
--with-speex \
--with-vorbis \
@@ -156,17 +157,19 @@
%{_libdir}/libakode_jack_sink.so
%endif
+# License: GPLv2+
+%if "%{?_with_libsamplerate:1}" == "1"
+%files libsamplerate
+%defattr(-,root,root,-)
+%{_libdir}/libakode_src_resampler.so
+%endif
+
%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
* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-3
- Previous message (by thread): rpms/akode/F-8 akode-2.0.2-flac113-portable.patch, NONE, 1.1 akode-2.0.2-multilib.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 akode.spec, 1.13, 1.14 sources, 1.3, 1.4
- Next message (by thread): rpms/akode/F-7 akode-2.0.2-flac113-portable.patch, NONE, 1.1 akode-2.0.2-multilib.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 akode.spec, 1.11, 1.12 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list