]> git.pld-linux.org Git - packages/gstreamer.git/blobdiff - gstreamer.spec
Update to 1.10.2
[packages/gstreamer.git] / gstreamer.spec
index 79ec8dcea5a3c2e1fdae8121243146122dc86434..a0178b67e684ca52111f1189ca3f950ed47ce4ea 100644 (file)
@@ -1,33 +1,34 @@
-#
+# TODO: suid/capabilities for ptp-helper?
 %define                vmajor          1.0
-#
+
 Summary:       GStreamer Streaming-media framework runtime
 Summary(pl.UTF-8):     GStreamer - biblioteki środowiska do obróbki strumieni
 Name:          gstreamer
-Version:       1.0.1
+Version:       1.10.2
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
-Source0:       http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
-# Source0-md5: 8635e635c6beced3ba08a9393a09b513
+Source0:       https://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
+# Source0-md5: 0d289e5bcec6353e6540ddb75b7d371b
 Patch0:                %{name}-without_ps_pdf.patch
 Patch1:                %{name}-eps.patch
 Patch2:                %{name}-inspect-rpm-format.patch
-URL:           http://gstreamer.net/
-BuildRequires: autoconf >= 2.62
-BuildRequires: automake >= 1:1.11
+URL:           https://gstreamer.freedesktop.org/
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.14
 BuildRequires: bison >= 1.875
 BuildRequires: docbook-dtd30-sgml
 BuildRequires: docbook-dtd412-xml
 BuildRequires: docbook-utils >= 0.6.10
 BuildRequires: flex >= 2.5.31
-BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gettext-tools >= 0.17
+BuildRequires: glib2-devel >= 1:2.40.0
 BuildRequires: glibc-misc
 BuildRequires: gnome-doc-tools
 BuildRequires: gobject-introspection-devel >= 1.31.1
 BuildRequires: gtk-doc >= 1.12
-BuildRequires: libtool >= 1.4
+BuildRequires: libcap-devel
+BuildRequires: libtool >= 2:2.2.6
 BuildRequires: nasm
 BuildRequires: perl-base
 BuildRequires: pkgconfig >= 1:0.9.0
@@ -36,7 +37,7 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: transfig
 BuildRequires: xmlto
 BuildRequires: xz
-Requires:      glib2 >= 1:2.32.0
+Requires:      glib2 >= 1:2.40.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _gstlibdir      %{_libdir}/gstreamer-%{vmajor}
@@ -63,7 +64,7 @@ Summary:      Include files for GStreamer streaming-media framework
 Summary(pl.UTF-8):     Pliki nagłówkowe do środowiska obróbki strumieni GStreamer
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      glib2-devel >= 1:2.32.0
+Requires:      glib2-devel >= 1:2.40.0
 Obsoletes:     gstreamer-plugins-bad-devel < 0.10.10
 
 %description devel
@@ -91,6 +92,9 @@ Summary:      GStreamer API documentation
 Summary(pl.UTF-8):     Dokumentacja API Gstreamera
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 GStreamer API documentation.
@@ -98,6 +102,20 @@ GStreamer API documentation.
 %description apidocs -l pl.UTF-8
 Dokumentacja API Gstreamera.
 
+%package -n bash-completion-gstreamer
+Summary:       Bash completion for GStreamer utilities
+Summary(pl.UTF-8):     Bashowe uzupełnianie parametrów narzędzi GStreamera
+Group:         Applications/Shells
+Requires:      %{name} = %{version}-%{release}
+Requires:      bash-completion >= 2.0
+
+%description -n bash-completion-gstreamer
+Bash completion for GStreamer utilities: gst-inspect and gst-launch.
+
+%description -n bash-completion-gstreamer
+Bashowe uzupełnianie parametrów narzędzi GStreamera: gst-inspect oraz
+gst-launch.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -132,7 +150,7 @@ install -d $RPM_BUILD_ROOT{%{_docdir}/%{name}-devel-%{version},%{rpmlibdir}}
        DESTDIR=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-{%{vmajor},%{version}}
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{manual,pwg} \
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{faq,manual,pwg} \
        $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
 
 %find_lang %{name} --all-name --with-gnome
@@ -150,9 +168,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+%doc AUTHORS ChangeLog MAINTAINERS NEWS README RELEASE
 %attr(755,root,root) %{_bindir}/gst-inspect-1.0
 %attr(755,root,root) %{_bindir}/gst-launch-1.0
+%attr(755,root,root) %{_bindir}/gst-stats-1.0
 %attr(755,root,root) %{_bindir}/gst-typefind-1.0
 %attr(755,root,root) %{_libdir}/libgstbase-%{vmajor}.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgstbase-%{vmajor}.so.0
@@ -166,7 +185,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libgstreamer-%{vmajor}.so.0
 %dir %{_gstlibdir}
 %attr(755,root,root) %{_gstlibdir}/gst-plugin-scanner
+%attr(755,root,root) %{_gstlibdir}/gst-ptp-helper
 %attr(755,root,root) %{_gstlibdir}/libgstcoreelements.so
+%attr(755,root,root) %{_gstlibdir}/libgstcoretracers.so
 %{_mandir}/man1/gst-inspect-1.0.1*
 %{_mandir}/man1/gst-launch-1.0.1*
 %{_mandir}/man1/gst-typefind-1.0.1*
@@ -210,3 +231,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/gstreamer-%{vmajor}
 %{_gtkdocdir}/gstreamer-libs-%{vmajor}
 %{_gtkdocdir}/gstreamer-plugins-%{vmajor}
+
+%files -n bash-completion-gstreamer
+%defattr(644,root,root,755)
+%{bash_compdir}/gst-inspect-1.0
+%{bash_compdir}/gst-launch-1.0
+%attr(755,root,root) %{_datadir}/bash-completion/helpers/gst
+%attr(755,root,root) %{_datadir}/bash-completion/helpers/gst-completion-helper-1.0
This page took 0.090352 seconds and 4 git commands to generate.