summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-01-03 17:13:49 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-01-03 17:13:49 +0000
commit6378387cb7d64323f23eafb468d868fd63a021e1 (patch)
tree29a11ac699961d26b0a961d8711ffd19df8d86d2
parent4261f3048f980830b59276a9d096186840ccbc0f (diff)
downloadgst-plugins-bad-6378387cb7d64323f23eafb468d868fd63a021e1.tar.gz
gst-plugins-bad-6378387cb7d64323f23eafb468d868fd63a021e1.tar.bz2
gst-plugins-bad-6378387cb7d64323f23eafb468d868fd63a021e1.zip
fixed main rpm name issue temporarily
Original commit message from CVS: fixed main rpm name issue temporarily
-rw-r--r--gst-plugins.spec.in37
1 files changed, 19 insertions, 18 deletions
diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in
index 0297e9c1..ae44a0bc 100644
--- a/gst-plugins.spec.in
+++ b/gst-plugins.spec.in
@@ -1,4 +1,5 @@
-%define name gst-plugins
+%define name gstreamer-plugins
+%define module gst-plugins
%define ver 0.3.02
%define rel 20011221
%define prefix /usr
@@ -10,8 +11,8 @@ Version: %ver
Release: %rel
Copyright: LGPL
Group: Libraries/Multimedia
-Source: %{name}-%{ver}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{ver}-root
+Source: %{module}-%{ver}.tar.gz
+BuildRoot: /var/tmp/%{module}-%{ver}-root
Docdir: %{prefix}/doc
Prefix: %prefix
Requires: libxml >= 1.8.0
@@ -30,7 +31,7 @@ plugins.
%doc AUTHORS COPYING README
%prep
-%setup
+%setup -n %{module}-%{ver}
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir} --mandir=$RPM_BUILD_ROOT%{prefix}/share/man
@@ -360,20 +361,20 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
@USE_ALSA_TRUE@%post -n gstreamer-alsa
@USE_ALSA_TRUE@%{prefix}/bin/gstreamer-register --gst-mask=0
-@USE_LIBDVD_TRUE@%package -n gstreamer-libdvd
-@USE_LIBDVD_TRUE@Summary: GStreamer plugins for DVD playback
-@USE_LIBDVD_TRUE@Group: Libraries/Multimedia
-@USE_LIBDVD_TRUE@Requires: gstreamer = %{ver}
-@USE_LIBDVD_TRUE@
-@USE_LIBDVD_TRUE@%description -n gstreamer-libdvd
-@USE_LIBDVD_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
-@USE_LIBDVD_TRUE@
-@USE_LIBDVD_TRUE@%files -n gstreamer-libdvd
-@USE_LIBDVD_TRUE@%defattr(-, root, root)
-@USE_LIBDVD_TRUE@%{prefix}/lib/gst/libdvd*
-@USE_LIBDVD_TRUE@
-@USE_LIBDVD_TRUE@%post -n gstreamer-libdvd
-@USE_LIBDVD_TRUE@%{prefix}/bin/gstreamer-register --gst-mask=0
+@USE_DVDREAD_TRUE@%package -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@Summary: GStreamer plugins for DVD playback
+@USE_DVDREAD_TRUE@Group: Libraries/Multimedia
+@USE_DVDREAD_TRUE@Requires: gstreamer = %{ver}
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%description -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%files -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@%defattr(-, root, root)
+@USE_DVDREAD_TRUE@%{prefix}/lib/gst/libdvd*
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%post -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@%{prefix}/bin/gstreamer-register --gst-mask=0
@USE_A52DEC_TRUE@%package -n gstreamer-a52dec
@USE_A52DEC_TRUE@Summary: GStreamer VOB decoder plugin