Compare commits
11 Commits
1.16.2-2ma
...
1.20.3-1ma
Author | SHA1 | Date | |
---|---|---|---|
5adcedb285 | |||
c2ede684cc | |||
f4da0fe642 | |||
eca10b1a9d | |||
d7d9f55d8b | |||
bd346c486e | |||
9894bd53aa | |||
8867405d38 | |||
673a6996af | |||
896f2c92ea | |||
9d54bca016 |
110
gstreamer.spec
110
gstreamer.spec
@@ -1,32 +1,27 @@
|
||||
%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.20.3
|
||||
Release: 1mamba
|
||||
Epoch: 2
|
||||
Summary: A framework for streaming media
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://gstreamer.freedesktop.org
|
||||
URL: https://gstreamer.freedesktop.org
|
||||
Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
|
||||
Patch0: gstreamer-1.1.3-bison-3.0.patch
|
||||
Patch1: gstreamer-1.16.2-glib-2.64.2.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libdw-devel
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libunwind-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: bash
|
||||
@@ -36,7 +31,7 @@ BuildRequires: flex
|
||||
BuildRequires: libtool
|
||||
BuildRequires: automake
|
||||
BuildRequires: autoconf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildRequires: hotdoc
|
||||
|
||||
# FIXME:
|
||||
# checking for docbook2ps... false
|
||||
@@ -70,7 +65,7 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%description -n %{libname}-devel
|
||||
GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently.
|
||||
Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.
|
||||
This package contains static libraries and header files need for development.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n %{libname}-apidocs
|
||||
Summary: GStreamer library API documentation
|
||||
@@ -85,41 +80,35 @@ GStreamer library API documentation.
|
||||
%prep
|
||||
%setup -q -n gstreamer-%{version}
|
||||
#-D -T
|
||||
#%patch0 -p1
|
||||
%patch1 -p1
|
||||
%ifarch x86_64 aarch64
|
||||
sed -i "s|/libexec'|/libexec64'|" meson.build
|
||||
%endif
|
||||
|
||||
%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 \
|
||||
-Ddoc=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 +124,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 +134,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 +145,53 @@ 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 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
|
||||
* Thu Jun 16 2022 Automatic Build System <autodist@mambasoft.it> 1.20.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 1.20.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.1-2mamba
|
||||
- fix libexecdir in pkg-config file
|
||||
|
||||
* Wed Mar 16 2022 Automatic Build System <autodist@mambasoft.it> 1.20.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 12 2022 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 03 2022 Automatic Build System <autodist@mambasoft.it> 1.18.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Sep 09 2021 Automatic Build System <autodist@mambasoft.it> 1.18.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Mar 16 2021 Automatic Build System <autodist@mambasoft.it> 1.18.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 1.18.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Dec 07 2020 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 27 2020 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user