summaryrefslogtreecommitdiffstats
path: root/gst-plugins.spec.in
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-05-10 21:56:15 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-05-10 21:56:15 +0000
commita18f44638bdbe6401cd131f9757d39603123f5e4 (patch)
tree8302c3ae9ddce534bd5bc9f3e228d65e49c40dde /gst-plugins.spec.in
parent8ac992ea60dc117c0ca4dcd6305a251ecc1b3c75 (diff)
removing snapshot from the build because we need to fix it adding gconf schema to build and spec
Original commit message from CVS: removing snapshot from the build because we need to fix it adding gconf schema to build and spec
Diffstat (limited to 'gst-plugins.spec.in')
-rw-r--r--gst-plugins.spec.in29
1 files changed, 28 insertions, 1 deletions
diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in
index 83201b6c..aa32ec47 100644
--- a/gst-plugins.spec.in
+++ b/gst-plugins.spec.in
@@ -65,7 +65,12 @@ else
make 2>&1 | tee make.log
fi
-%makeinstall
+%install
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install prefix=$RPM_BUILD_ROOT%{prefix} \
+ sysconfdir=$RPM_BUILD_ROOT%{sysconfdir}
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
@@ -862,7 +867,29 @@ Plugin for playback of wav, au and mod audio files as well as mp3 type
%post -n gstreamer-audio-formats
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
+%package -n gstreamer-GConf
+Summary: GStreamer GConf schemas
+Group: Libraries/Multimedia
+Requires: gstreamer-plugins >= %{version}
+Requires: GConf2
+BuildRequires: GConf2-devel
+
+%description -n gstreamer-GConf
+Installation of GStreamer GConf schemas.
+These set usable defaults used by all GStreamer-enabled Gnome applications.
+
+%files -n gstreamer-GConf
+%defattr(-, root, root)
+%{_sysconfdir}/gconf/schemas/gstreamer.schemas
+
+%post -n gstreamer-GConf
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer.schemas > /dev/null
+
%changelog
+* Mon May 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added gstreamer-GConf package
+
* Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
- added more BuildRequires and Requires
- rearranged some plugins