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