mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
- More fixes on the SPEC file in preparation for 0.3.0
Original commit message from CVS: 2001-08-12 Christian Schaller <uraeus@linuxrising.org> - More fixes on the SPEC file in preparation for 0.3.0
This commit is contained in:
parent
6a1b88eea2
commit
50e9ee7a02
1 changed files with 37 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
||||||
%define name gstreamer
|
%define name gstreamer
|
||||||
%define ver @VERSION@
|
%define ver @VERSION@
|
||||||
%define rel 2
|
%define rel 1
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
%define sysconfdir /etc
|
%define sysconfdir /etc
|
||||||
|
|
||||||
|
@ -58,7 +58,6 @@ plugins.
|
||||||
%{prefix}/lib/gst/libgstparsewav*
|
%{prefix}/lib/gst/libgstparsewav*
|
||||||
%{prefix}/lib/gst/libgststaticautoplug*
|
%{prefix}/lib/gst/libgststaticautoplug*
|
||||||
%{prefix}/lib/gst/libgsttypes*
|
%{prefix}/lib/gst/libgsttypes*
|
||||||
%{prefix}/lib/gst/liblavencode*
|
|
||||||
%{prefix}/lib/gst/libgstbasicscheduler*
|
%{prefix}/lib/gst/libgstbasicscheduler*
|
||||||
%{prefix}/lib/gst/libgstbytestream*
|
%{prefix}/lib/gst/libgstbytestream*
|
||||||
%{prefix}/lib/gst/libgstcontrol*
|
%{prefix}/lib/gst/libgstcontrol*
|
||||||
|
@ -621,7 +620,25 @@ Library for resampling of sound
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{prefix}/lib/gst/libresample*
|
%{prefix}/lib/gst/libresample*
|
||||||
|
|
||||||
|
%package -n gstreamer-rtp
|
||||||
|
Summary: GStreamer RTP plugin
|
||||||
|
Group: Libraries/Multimedia
|
||||||
|
Requires: %{name} = %{ver}
|
||||||
|
Requires: librtp >= 0.1
|
||||||
|
|
||||||
|
%description -n gstreamer-rtp
|
||||||
|
Library for transfering data with the RTP protocol
|
||||||
|
|
||||||
|
%files -n gstreamer-rtp
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{prefix}/lib/gst/librtp*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
|
||||||
|
- Removed the CFLAGS="$RPM_OPT_FLAGS" from before .configure
|
||||||
|
- Added logging to the make statement
|
||||||
|
- Added hackery to get it to build the rtp plugin
|
||||||
|
|
||||||
* Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
|
* Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
|
||||||
- Updated in preparation for 0.3.0 release
|
- Updated in preparation for 0.3.0 release
|
||||||
|
|
||||||
|
@ -639,6 +656,7 @@ Library for resampling of sound
|
||||||
|
|
||||||
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
|
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
|
||||||
- Updated with change suggestions from Dennis Bjorklund
|
- Updated with change suggestions from Dennis Bjorklund
|
||||||
|
|
||||||
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
|
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
|
||||||
- updated to build -devel package as well
|
- updated to build -devel package as well
|
||||||
|
|
||||||
|
@ -649,34 +667,24 @@ Library for resampling of sound
|
||||||
%setup
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir}
|
./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir}
|
||||||
|
|
||||||
if [ "$SMP" != "" ]; then
|
if [ "$SMP" != "" ]; then
|
||||||
(make "MAKE=make -k -j $SMP"; exit 0)
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
||||||
make
|
make 2>&1 | tee make.log
|
||||||
else
|
else
|
||||||
make
|
make 2>&1 | tee make.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# hackery to make the RTP plugin build
|
||||||
|
cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/rtp
|
||||||
|
make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
|
|
||||||
# Some hackish magic to build the udp and flac plugin since the
|
|
||||||
# build scripts didn't include these in 0.2.1
|
|
||||||
|
|
||||||
# cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/udp
|
|
||||||
# make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
|
||||||
|
|
||||||
# cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/flac
|
|
||||||
# make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
|
||||||
|
|
||||||
# cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/avi
|
|
||||||
# make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
|
||||||
# mv %{prefix}/lib/gst/*avi* $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
|
||||||
# mv %{prefix}/lib/gst/*udp* $RPM_BUILD_ROOT%{prefix}/lib/gst/
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
@ -750,11 +758,11 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
%post -n gstreamer-vcd
|
%post -n gstreamer-vcd
|
||||||
%{prefix}/bin/gstreamer-register --gst-mask=0
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
# %post -n gstreamer-alsa
|
%post -n gstreamer-alsa
|
||||||
# %{prefix}/bin/gstreamer-register --gst-mask=0
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
# %post -n gstreamer-flac
|
%post -n gstreamer-flac
|
||||||
# %{prefix}/bin/gstreamer-register --gst-mask=0
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
%post -n gstreamer-festival
|
%post -n gstreamer-festival
|
||||||
%{prefix}/bin/gstreamer-register --gst-mask=0
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
@ -798,5 +806,11 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
%post -n gstreamer-lavencode
|
%post -n gstreamer-lavencode
|
||||||
%{prefix}/bin/gstreamer-register --gst-mask=0
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
|
%post -n gstreamer-resample
|
||||||
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
|
%post -n gstreamer-rtp
|
||||||
|
%{prefix}/bin/gstreamer-register --gst-mask=0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/csbin/ldconfig
|
/csbin/ldconfig
|
||||||
|
|
Loading…
Reference in a new issue