From: Christian Schaller Date: Sat, 28 Feb 2004 15:22:18 +0000 (+0000) Subject: this works. X-Git-Tag: 1.19.3~499^2~2025 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db029240a889988e508b860d86192e6a3c9893fe;p=platform%2Fupstream%2Fgstreamer.git this works. Original commit message from CVS: this works. --- diff --git a/gst-ffmpeg.spec.in b/gst-ffmpeg.spec.in index 68c2f37..6d1e3cf 100644 --- a/gst-ffmpeg.spec.in +++ b/gst-ffmpeg.spec.in @@ -10,12 +10,13 @@ Vendor: GStreamer Backpackers Team Source: http://gstreamer.net/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%define majorminor 07 +%define versioning @GST_FFMPEG_VERSION_MAJOR@@GST_FFMPEG_VERSION_MINOR@ +%define gst_majorminor @GST_FFMPEG_VERSION_MAJOR@.@GST_FFMPEG_VERSION_MINOR@ -Prereq: %{_bindir}/gst-register-%{majorminor} -Requires: gstreamer%{majorminor} >= 0.7.5 +Prereq: %{_bindir}/gst-register-%{gst_majorminor} +Requires: gstreamer%{versioning} >= 0.7.5 Requires: gstreamer-tools >= 0.7.5 -BuildRequires: gstreamer%{majorminor}-devel >= 0.7.5 +BuildRequires: gstreamer%{versioning}-devel >= 0.7.5 %description GStreamer is a streaming-media framework, based on graphs of filters which @@ -40,21 +41,21 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT %makeinstall -rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_majorminor}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -%{_bindir}/gst-register-%{majorminor} > /dev/null 2> /dev/null +%{_bindir}/gst-register-%{gst_majorminor} > /dev/null 2> /dev/null %postun -%{_bindir}/gst-register-%{majorminor} > /dev/null 2> /dev/null +%{_bindir}/gst-register-%{gst_majorminor} > /dev/null 2> /dev/null %files %defattr(-, root, root, -) %doc AUTHORS COPYING README -%{_libdir}/gstreamer-%{majorminor}/libgstffmpeg.so +%{_libdir}/gstreamer-%{gst_majorminor}/libgstffmpeg.so %changelog * Sat Feb 14 2004 Thomas Vander Stichele