automatic version update by autodist [release 1.18.0-1mamba;Fri Sep 18 2020]

This commit is contained in:
Automatic Build System 2024-01-05 23:33:25 +01:00
parent e0bdfe795c
commit 9d54bca016

View File

@ -1,12 +1,11 @@
%define MAJversion %(echo %version | cut -d. -f 1) %define MAJversion %(echo %version | cut -d. -f 1)
%define majversion %(echo %version | cut -d. -f 1-2) %define majversion %(echo %version | cut -d. -f 1-2)
%define gscachedir /var/cache/gstreamer-0.10
%define libname lib%{name} %define libname lib%{name}
Name: gstreamer Name: gstreamer
Version: 1.16.2 Version: 1.18.0
Release: 2mamba Release: 1mamba
Epoch: 2 Epoch: 2
Summary: A framework for streaming media Summary: A framework for streaming media
Group: System/Libraries Group: System/Libraries
@ -36,6 +35,7 @@ BuildRequires: flex
BuildRequires: libtool BuildRequires: libtool
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: hotdoc
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
@ -85,41 +85,32 @@ GStreamer library API documentation.
%prep %prep
%setup -q -n gstreamer-%{version} %setup -q -n gstreamer-%{version}
#-D -T #-D -T
#%patch0 -p1
%patch1 -p1
%build %build
#:<< _EOF #:<< _EOF
./autogen.sh %meson \
export CHECK_LIBS=-lcheck -Dgtk_doc=enabled
%configure \
--with-cachedir=%{gscachedir} \ #export CHECK_LIBS=-lcheck
%ifnarch arm #% configure \
--enable-gtk-doc \ # --with-cachedir=%{gscachedir} \
%endif #%ifnarch arm
--with-html-dir=%{_datadir}/gtk-doc/html # --enable-gtk-doc \
# --enable-docbook #%endif
# --with-html-dir=%{_datadir}/gtk-doc/html
## --enable-docbook
#% ifnarch arm x86_64 #% ifnarch arm x86_64
# --enable-gtk-doc \ # --enable-gtk-doc \
#% endif #% endif
%make %meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %meson_install
install -d %{buildroot}%{gscachedir} #install -d %{buildroot}%{gscachedir}
## remove binaries that conflict with gstreamer-0.8.x
#rm -f %{buildroot}%{_bindir}/gst-feedback
#rm -f %{buildroot}%{_bindir}/gst-inspect
#rm -f %{buildroot}%{_bindir}/gst-launch
#rm -f %{buildroot}%{_bindir}/gst-md5sum
#rm -f %{buildroot}%{_bindir}/gst-typefind
#rm -f %{buildroot}%{_bindir}/gst-xmlinspect
#rm -f %{buildroot}%{_bindir}/gst-xmllaunch
%find_lang gstreamer-%{MAJversion}.0 %find_lang gstreamer-%{MAJversion}.0
@ -135,6 +126,7 @@ install -d %{buildroot}%{gscachedir}
%{_datadir}/bash-completion/helpers/gst* %{_datadir}/bash-completion/helpers/gst*
%{_bindir}/gst-inspect-%{MAJversion}.0 %{_bindir}/gst-inspect-%{MAJversion}.0
%{_bindir}/gst-launch-%{MAJversion}.0 %{_bindir}/gst-launch-%{MAJversion}.0
%{_bindir}/gst-tester-%{MAJversion}.0
%{_bindir}/gst-typefind-%{MAJversion}.0 %{_bindir}/gst-typefind-%{MAJversion}.0
%{_bindir}/gst-stats-%{MAJversion}.0 %{_bindir}/gst-stats-%{MAJversion}.0
%{_datadir}/gdb/auto-load/usr/%{_lib}/libgstreamer-*.so.*-gdb.py %{_datadir}/gdb/auto-load/usr/%{_lib}/libgstreamer-*.so.*-gdb.py
@ -144,11 +136,10 @@ install -d %{buildroot}%{gscachedir}
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libgst*.so.*
%{_libdir}/gstreamer-%{MAJversion}.0/ %{_libdir}/gstreamer-%{MAJversion}.0/
%{_libdir}/girepository-1.0/Gst*.typelib %{_libdir}/girepository-1.0/Gst*.typelib
%{_libexecdir}/gstreamer-%{MAJversion}.0/gst-* %{_libexecdir}/gstreamer-%{MAJversion}.0/gst-*
%dir %{gscachedir}
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n %{libname}-devel %files -n %{libname}-devel
@ -156,18 +147,20 @@ install -d %{buildroot}%{gscachedir}
%{_includedir}/gstreamer-%{MAJversion}.0/ %{_includedir}/gstreamer-%{MAJversion}.0/
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%{_datadir}/gir-1.0/Gst*.gir %{_datadir}/gir-1.0/Gst*.gir
%{_libdir}/*.so %{_libdir}/libgst*-%{MAJversion}.0.so
%{_libdir}/*.la
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%doc NEWS README RELEASE TODO %doc NEWS README RELEASE
%files -n %{libname}-apidocs #%files -n %{libname}-apidocs
%defattr(-,root,root) #%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gstreamer-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-%{MAJversion}.0/
%{_datadir}/gtk-doc/html/gstreamer-libs-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-libs-%{MAJversion}.0/
%{_datadir}/gtk-doc/html/gstreamer-plugins-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-plugins-%{MAJversion}.0/
%changelog %changelog
* Fri Sep 18 2020 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
- automatic version update by autodist
* Fri Jul 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.2-2mamba * Fri Jul 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.2-2mamba
- libgstreamer: require gstreamer-tools; added debug package - libgstreamer: require gstreamer-tools; added debug package