Blame SPECS/gstreamer1.spec

407095
%global         majorminor      1.0
407095
407095
%global         _glib2                  2.32.0
407095
%global         _libxml2                2.4.0
407095
%global         _gobject_introspection  1.31.1
407095
407095
Name:           gstreamer1
78e19c
Version:        1.4.5
78e19c
Release:        1%{?dist}
407095
Summary:        GStreamer streaming media framework runtime
407095
407095
License:        LGPLv2+
407095
URL:            http://gstreamer.freedesktop.org/
407095
Source0:        http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
407095
## For GStreamer RPM provides
407095
Patch0:         gstreamer-inspect-rpm-format.patch
407095
Source1:        gstreamer1.prov
407095
Source2:        gstreamer1.attr
407095
407095
BuildRequires:  glib2-devel >= %{_glib2}
407095
BuildRequires:  libxml2-devel >= %{_libxml2}
407095
BuildRequires:  gobject-introspection-devel >= %{_gobject_introspection}
407095
BuildRequires:  bison
407095
BuildRequires:  flex
407095
BuildRequires:  m4
407095
BuildRequires:  check-devel
407095
BuildRequires:  gtk-doc >= 1.3
407095
BuildRequires:  gettext
407095
BuildRequires:  pkgconfig
407095
407095
BuildRequires:  chrpath
407095
407095
### documentation requirements
407095
BuildRequires:  python2
407095
BuildRequires:  openjade
407095
BuildRequires:  jadetex
407095
BuildRequires:  libxslt
407095
BuildRequires:  docbook-style-dsssl
407095
BuildRequires:  docbook-style-xsl
407095
BuildRequires:  docbook-utils
407095
BuildRequires:  transfig
407095
BuildRequires:  netpbm-progs
407095
BuildRequires:  tetex-dvips
407095
BuildRequires:  ghostscript
407095
%if !0%{?rhel}
407095
BuildRequires:  xfig
407095
%endif
407095
407095
%description
407095
GStreamer is a streaming media framework, based on graphs of filters which
407095
operate on media data. Applications using this library can do anything
407095
from real-time sound processing to playing videos, and just about anything
407095
else media-related.  Its plugin-based architecture means that new data
407095
types or processing capabilities can be added simply by installing new 
407095
plugins.
407095
407095
407095
%package devel
407095
Summary:        Libraries/include files for GStreamer streaming media framework
407095
Requires:       %{name} = %{version}-%{release}
407095
Requires:       glib2-devel >= %{_glib2}
407095
Requires:       libxml2-devel >= %{_libxml2}
407095
Requires:       check-devel
407095
407095
407095
%description devel
407095
The %{name}-devel package contains libraries and header files for
407095
developing applications that use %{name}.
407095
407095
407095
%package devel-docs
407095
Summary:         Developer documentation for GStreamer streaming media framework
407095
Requires:        %{name} = %{version}-%{release}
407095
BuildArch:       noarch
407095
407095
407095
%description devel-docs
407095
This %{name}-devel-docs contains developer documentation for the
407095
GStreamer streaming media framework.
407095
407095
407095
%prep
407095
%setup -q -n gstreamer-%{version}
407095
%patch0 -p1 -b .rpm-provides
407095
407095
407095
%build
407095
%configure \
407095
  --with-package-name='Fedora GStreamer package' \
407095
  --with-package-origin='http://download.fedoraproject.org' \
407095
  --enable-gtk-doc \
407095
  --enable-debug \
407095
  --disable-tests --disable-examples
407095
make %{?_smp_mflags} V=1
407095
407095
407095
%install
407095
rm -rf $RPM_BUILD_ROOT
407095
make install DESTDIR=$RPM_BUILD_ROOT
407095
# Remove rpath.
407095
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbase-1.0.so.*
407095
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcheck-1.0.so.*
407095
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcontroller-1.0.so.* 
407095
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstnet-1.0.so.*
407095
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
407095
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
407095
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-inspect-1.0
407095
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-launch-1.0
407095
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-typefind-1.0
407095
407095
%find_lang gstreamer-%{majorminor}
407095
# Clean out files that should not be part of the rpm.
407095
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
407095
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
407095
# Add the provides script
407095
install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer1.prov
407095
# Add the gstreamer plugin file attribute entry (rpm >= 4.9.0)
407095
install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer1.attr
407095
407095
%post -p /sbin/ldconfig
407095
407095
407095
%postun -p /sbin/ldconfig
407095
407095
407095
%files -f gstreamer-%{majorminor}.lang
407095
%doc AUTHORS COPYING NEWS README RELEASE
407095
%{_libdir}/libgstreamer-%{majorminor}.so.*
407095
%{_libdir}/libgstbase-%{majorminor}.so.*
407095
%{_libdir}/libgstcheck-%{majorminor}.so.*
407095
%{_libdir}/libgstcontroller-%{majorminor}.so.*
407095
%{_libdir}/libgstnet-%{majorminor}.so.*
407095
407095
%{_libexecdir}/gstreamer-%{majorminor}/
407095
407095
%dir %{_libdir}/gstreamer-%{majorminor}
407095
%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
407095
407095
%{_libdir}/girepository-1.0/Gst-%{majorminor}.typelib
407095
%{_libdir}/girepository-1.0/GstBase-%{majorminor}.typelib
407095
%{_libdir}/girepository-1.0/GstCheck-%{majorminor}.typelib
407095
%{_libdir}/girepository-1.0/GstController-%{majorminor}.typelib
407095
%{_libdir}/girepository-1.0/GstNet-%{majorminor}.typelib
407095
407095
%{_bindir}/gst-inspect-%{majorminor}
407095
%{_bindir}/gst-launch-%{majorminor}
407095
%{_bindir}/gst-typefind-%{majorminor}
407095
407095
%{_rpmconfigdir}/gstreamer1.prov
407095
%{_rpmconfigdir}/fileattrs/gstreamer1.attr
407095
407095
%doc %{_mandir}/man1/gst-inspect-%{majorminor}.*
407095
%doc %{_mandir}/man1/gst-launch-%{majorminor}.*
407095
%doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
407095
407095
%files devel
407095
%dir %{_includedir}/gstreamer-%{majorminor}
407095
%dir %{_includedir}/gstreamer-%{majorminor}/gst
407095
%dir %{_includedir}/gstreamer-%{majorminor}/gst/base
407095
%dir %{_includedir}/gstreamer-%{majorminor}/gst/check
407095
%dir %{_includedir}/gstreamer-%{majorminor}/gst/controller
407095
%dir %{_includedir}/gstreamer-%{majorminor}/gst/net
407095
%{_includedir}/gstreamer-%{majorminor}/gst/*.h
407095
%{_includedir}/gstreamer-%{majorminor}/gst/base/*.h
407095
%{_includedir}/gstreamer-%{majorminor}/gst/check/*.h
407095
%{_includedir}/gstreamer-%{majorminor}/gst/controller/*.h
407095
%{_includedir}/gstreamer-%{majorminor}/gst/net/*.h
407095
407095
%{_libdir}/libgstreamer-%{majorminor}.so
407095
%{_libdir}/libgstbase-%{majorminor}.so
407095
%{_libdir}/libgstcheck-%{majorminor}.so
407095
%{_libdir}/libgstcontroller-%{majorminor}.so
407095
%{_libdir}/libgstnet-%{majorminor}.so
407095
407095
%{_datadir}/gir-1.0/Gst-%{majorminor}.gir
407095
%{_datadir}/gir-1.0/GstBase-%{majorminor}.gir
407095
%{_datadir}/gir-1.0/GstCheck-%{majorminor}.gir
407095
%{_datadir}/gir-1.0/GstController-%{majorminor}.gir
407095
%{_datadir}/gir-1.0/GstNet-%{majorminor}.gir
407095
407095
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
407095
407095
%{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
407095
%{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
407095
%{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
407095
%{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
407095
%{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
407095
407095
407095
%files devel-docs
407095
%doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
407095
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
407095
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
407095
407095
407095
%changelog
78e19c
* Wed Jan 28 2015 Bastien Nocera <bnocera@redhat.com> 1.4.5-1
78e19c
- Update to 1.4.5
78e19c
- Add patch to gst-inspect to generate RPM provides
78e19c
- Resolves: #1174394
78e19c
bbc6a9
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.7-4
bbc6a9
- Mass rebuild 2014-01-24
bbc6a9
bbc6a9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.7-3
bbc6a9
- Mass rebuild 2013-12-27
bbc6a9
407095
* Mon Nov 18 2013 Adam Jackson <ajax@redhat.com> 1.0.7-2
407095
- Fix plugin scanner to not fork continuously (#1030853)
407095
407095
* Fri Apr 26 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.7-1
407095
- Update to 1.0.7.
407095
407095
* Wed Mar 27 2013 Adam Jackson <ajax@redhat.com>
407095
- Tweak BRs for RHEL
407095
407095
* Fri Mar 22 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.6-1
407095
- Update to 1.0.6.
407095
- Remove BR on PyXML.
407095
407095
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
407095
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
407095
407095
* Tue Jan  8 2013 Brian Pepple <bpepple@fedoraproject.org> - 1.0.5-1
407095
- Update to 1.0.5.
407095
407095
* Wed Dec 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.4-1
407095
- Update to 1.0.4
407095
407095
* Wed Nov 21 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.3-1
407095
- Update to 1.0.3
407095
407095
* Thu Oct 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.2-1
407095
- Update to 1.0.2.
407095
407095
* Sun Oct  7 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.1-1
407095
- Update to 1.0.1
407095
407095
* Mon Oct  1 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0.0-2
407095
- Enable verbose build
407095
407095
* Mon Sep 24 2012 Brian Pepple <bpepple@fedoraproject.org> - 1.0.0-1
407095
- Update to 1.0.0.
407095
407095
* Wed Sep 19 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.99-1
407095
- Update to 0.11.99
407095
407095
* Fri Sep 14 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.94-1
407095
- Update to 0.11.94.
407095
407095
* Sat Sep  8 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.93-2
407095
- Add patch to gst-inspect to generate RPM provides
407095
- Add RPM find-provides script
407095
407095
* Tue Aug 14 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.93-1
407095
- Update to 0.11.93.
407095
- Bump minimum version of glib2 needed.
407095
407095
* Fri Aug  3 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.92-2
407095
- Use %%global instead of %%define.
407095
- Remove rpath.
407095
407095
* Tue Jul 17 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.11.92-1
407095
- Initial Fedora spec file.
407095