mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
c09b8e3642
Original commit message from CVS: adding buildreqs for dist
217 lines
7.1 KiB
RPMSpec
217 lines
7.1 KiB
RPMSpec
Summary: GStreamer streaming media framework runtime
|
|
Name: gstreamer
|
|
Version: @VERSION@
|
|
Release: @GST_VERSION_RELEASE@
|
|
|
|
Copyright: LGPL
|
|
Group: Libraries/Multimedia
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%define _glib2 @GLIB2_REQ@
|
|
%define _libxml2 @LIBXML2_REQ@
|
|
|
|
Requires: glib2 >= %_glib2
|
|
Requires: libxml2 >= %_libxml2
|
|
BuildRequires: glib2-devel >= %_glib2
|
|
BuildRequires: libxml2-devel >= %_libxml2
|
|
BuildRequires: nasm >= 0.90
|
|
BuildRequires: bison
|
|
BuildRequires: gtk-doc >= 0.7
|
|
BuildRequires: gcc
|
|
BuildRequires: zlib-devel
|
|
|
|
### documentation requirements
|
|
BuildRequires: openjade
|
|
BuildRequires: python2
|
|
BuildRequires: docbook-style-dsssl docbook-dtd31-sgml
|
|
|
|
%description
|
|
GStreamer is a streaming-media framework, based on graphs of filters which
|
|
operate on media data. Applications using this library can do anything
|
|
from real-time sound processing to playing videos, and just about anything
|
|
else media-related. Its plugin-based architecture means that new data
|
|
types or processing capabilities can be added simply by installing new
|
|
plugins.
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING
|
|
%{_bindir}/gst-complete
|
|
%{_bindir}/gst-compprep
|
|
%{_bindir}/gst-inspect
|
|
%{_bindir}/gst-launch
|
|
%{_bindir}/gst-register
|
|
%{_libdir}/libgstreamer-%{version}.so.*
|
|
%{_libdir}/gst/libgstautoplugcache*.so*
|
|
%{_libdir}/gst/libgstautoplugger*.so*
|
|
%{_libdir}/gst/libgstbasicscheduler*.so*
|
|
%{_libdir}/gst/libgststandardscheduler*.so*
|
|
%{_libdir}/gst/libgstelements*.so*
|
|
%{_libdir}/gst/libgsttypes*.so*
|
|
%{_libdir}/gst/libgststaticautoplug*.so*
|
|
%{_libdir}/gst/libgstcontrol*.so*
|
|
%{_libdir}/gst/libgstbytestream*.so*
|
|
%{_libdir}/gst/libgstgetbits*.so*
|
|
%{_libdir}/gst/libgstputbits*.so*
|
|
%{_libdir}/gst/libgstspider*.so*
|
|
%{_mandir}/man1/gst-complete.*
|
|
%{_mandir}/man1/gst-compprep.*
|
|
%{_mandir}/man1/gst-inspect.*
|
|
%{_mandir}/man1/gst-launch.*
|
|
%{_mandir}/man1/gst-register.*
|
|
|
|
%package devel
|
|
Summary: Libraries and include files for GStreamer streaming-media framework
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
Requires: glib2-devel >= %_glib2
|
|
Requires: libxml2-devel >= %_libxml2
|
|
|
|
%description devel
|
|
GStreamer is a streaming-media framework, based on graphs of filters which
|
|
operate on media data. Applications using this library can do anything
|
|
from real-time sound processing to playing videos, and just about anything
|
|
else media-related. Its plugin-based architecture means that new data
|
|
types or processing capabilities can be added simply by installing new
|
|
plugins.
|
|
|
|
This package contains the libraries and includes files necessary to develop
|
|
applications and plugins for GStreamer.
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/gst
|
|
%{_libdir}/libgstreamer.a
|
|
%{_libdir}/libgstreamer.la
|
|
%{_libdir}/libgstreamer.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_datadir}/gtk-doc/html/*
|
|
%{_datadir}/devhelp/specs/gstreamer.devhelp
|
|
%{_datadir}/devhelp/specs/gstreamer-libs.devhelp
|
|
|
|
|
|
%changelog
|
|
* Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
- moved html docs to gtk-doc standard directory
|
|
|
|
* Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
- move version defines of glib2 and libxml2 to configure.ac
|
|
- add BuildRequires for these two libs
|
|
|
|
* Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
- put html docs in canonical place, avoiding %doc erasure
|
|
- added devhelp support, current install of it is hackish
|
|
|
|
* Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Added documentation to build
|
|
|
|
* Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
- added libgstbasicscheduler
|
|
- renamed libgst to libgstreamer
|
|
|
|
* Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Added configdir parameter as it seems the configdir gets weird otherwise
|
|
|
|
* Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
|
- split off gstreamer-editor from core
|
|
- removed gstreamer-gnome-apps
|
|
|
|
* Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
|
|
- Cleaned up the spec file for the gstreamer core/plug-ins split
|
|
- Improve spec file
|
|
|
|
* Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Splitt of more plugins from the core and put them into their own modules
|
|
- Includes colorspace, xfree and wav
|
|
- Improved package Require lines
|
|
- Added mp3encode (lame based) to the SPEC
|
|
|
|
* Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Thomas merged mpeg plugins into one
|
|
* Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- More minor cleanups including some fixed descriptions from Andrew Mitchell
|
|
|
|
* Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Added logging to the make statement
|
|
|
|
* Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Updated in preparation for 0.3.0 release
|
|
|
|
* Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Updated for 0.2.1 release
|
|
- Split out the GUI packages into their own RPM
|
|
- added new plugins (FLAC, festival, quicktime etc.)
|
|
|
|
* Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Visualisation plugins bundled out togheter
|
|
- Moved files sections up close to their respective descriptions
|
|
|
|
* Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Split the package into separate RPMS, plutting most plugins out by themselves.
|
|
|
|
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Updated with change suggestions from Dennis Bjorklund
|
|
|
|
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
|
|
- updated to build -devel package as well
|
|
|
|
* Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
|
|
- first draft of spec file
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
|
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
|
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--exec-prefix=%{_exec_prefix} \
|
|
--bindir=%{_bindir} \
|
|
--sbindir=%{_sbindir} \
|
|
--sysconfdir=%{_sysconfdir} \
|
|
--datadir=%{_datadir} \
|
|
--includedir=%{_includedir} \
|
|
--libdir=%{_libdir} \
|
|
--libexecdir=%{_libexecdir} \
|
|
--localstatedir=%{_localstatedir} \
|
|
--sharedstatedir=%{_sharedstatedir} \
|
|
--mandir=%{_mandir} \
|
|
--infodir=%{_infodir} \
|
|
--enable-debug \
|
|
--with-configdir=/etc/gstreamer \
|
|
--disable-tests --disable-examples --disable-debug-color \
|
|
--enable-docs-build
|
|
if [ "$SMP" != "" ]; then
|
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
else
|
|
make
|
|
fi
|
|
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
# adding devhelp stuff here for now, need to integrate better
|
|
# when devhelp allows it
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs
|
|
cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs
|
|
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%{_prefix}/bin/gst-register --gst-mask=0
|
|
|
|
%post devel
|
|
# adding devhelp links to work around different base not working
|
|
mkdir -p %{_datadir}/devhelp/books
|
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books
|
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
|
|
|
|
%postun
|
|
/sbin/ldconfig
|