Re: gstreamer-plugins-bad/ugly
Nicolas Mailhot <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Organization | Perso |
| Message-ID | <[email protected]> |
Le lundi 09 janvier 2006 à 11:54 -0600, Justin Conover a écrit : > FC5 looks to include base/good > > I've copied the good spec file to bad/ugly and have been editing it, > ugly will have mad support. > > How exaclty do you tell it would to include in %files, i'm sure there > is more to clean up. Beware I can't get mpeg2 streaming to work properly with rawhide totem, so there is a bug lurking somewhere (I doubt it's in the spec file though) -- Nicolas Mailhot
gstreamer-plugins-ugly.spec
(text/plain, 3.6 KB)
%define gstreamer gstreamer
%define majorminor 0.10
%define _gst 0.10.0
%define _gstpb 0.10.0
Name: %{gstreamer}-plugins-ugly
Version: 0.10.0
Release: 2
Summary: GStreamer plug-ins with good code and licensing
Group: Applications/Multimedia
License: LGPL
URL: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-ugly-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{_gst}
Requires(post): /usr/bin/gconftool-2
BuildRequires: %{gstreamer}-devel >= %{_gst}
BuildRequires: %{gstreamer}-plugins-base-devel >= %{_gstpb}
BuildRequires: liboil-devel >= 0.3.6
BuildRequires: gettext
BuildRequires: gcc-c++
BuildRequires: cairo-devel
# cairo pulls in Xrender, but -devel has a missing dep on libX11-devel
BuildRequires: libX11-devel
BuildRequires: GConf2-devel
BuildRequires: glibc-devel
BuildRequires: lame-devel
BuildRequires: a52dec-devel
BuildRequires: libmad-devel
BuildRequires: libid3tag-devel
BuildRequires: libsidplay-devel
BuildRequires: mpeg2dec-devel
BuildRequires: amrnb-devel
BuildRequires: libdvdnav-devel
BuildRequires: libdvdread-devel
BuildRequires: gettext-devel
# documentation
BuildRequires: gtk-doc
BuildRequires: PyXML
%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
plug-ins.
GStreamer Good Plug-ins is a collection of well-supported plug-ins of
good quality and under the LGPL license.
%package devel
Summary: Documentation for GStreamer Good Plug-ins
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%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
plug-ins.
GStreamer Good Plug-ins is a collection of well-supported plug-ins of
good quality and under the LGPL license.
This package contains documentation for the GStreamer Good Plug-ins.
%prep
%setup -q -n gst-plugins-ugly-%{version}
%build
%configure --enable-gtk-doc
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# Clean out files that should not be part of the rpm.
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING README REQUIREMENTS
%{_libdir}/gstreamer-%{majorminor}/lib*.so
%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}
%post
%changelog
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iEYEABECAAYFAkPCvNkACgkQI2bVKDsp8g0AlACgzKDYHzDK0dR5UW6egHPTtDy7 Ln0An0DwglRsop/guW/zxUwBec0gUT/s =d2mO -----END PGP SIGNATURE-----