124 Star 0 Fork 4

src-openEuler / gavl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gavl.spec 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2020-09-15 20:44 . modify Source0 url on LTS branch
Name: gavl
Version: 1.4.0
Release: 15
Summary: Library which provides basic support for uncompressed multimedia data
License: GPLv3+
URL: http://gmerlin.sourceforge.net/
Source0: https://sourceforge.net/projects/gmerlin/files/%{name}/%{version}/%{name}-%{version}.tar.gz/download?use_mirror#/%{name}-%{version}.tar.gz
Patch0001: gavl-1.1.1-system_libgdither.patch
BuildRequires: libtool doxygen libpng-devel >= 1.0.8 libgdither-devel
%description
Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon
which multimedia APIs can be built. Gavl handles all the details of audio and
video formats like colorspaces, samplerates, multichannel configurations etc. It
provides standardized definitions for those formats as well as container
structures for carrying audio samples or video images inside an application.
%package devel
Summary: Development support for %{name} library
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
This package provides libraries and header files for developing applications when using
%{name}.
%prep
%autosetup -n %{name}-%{version} -p1
sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
sh autogen.sh
%build
%configure --disable-static --disable-cpu-clip --enable-libgdither
%make_build
%install
%make_install
%delete_la
touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING README TODO
%{_libdir}/*.so.*
%exclude %{_docdir}/gavl/apiref
%files devel
%doc %{_docdir}/gavl/apiref/
%{_includedir}/gavl/
%{_libdir}/{*.so,pkgconfig/gavl.pc}
%changelog
* Tue Sep 15 2020 Ge Wang <wangge20@huawei.com> - 1.4.0-15
- Modify Source0 Url
* Sat Dec 21 2019 yanzhihua <yanzhihua4@huawei.com> - 1.4.0-14
- Package init
1
https://gitee.com/src-openeuler/gavl.git
git@gitee.com:src-openeuler/gavl.git
src-openeuler
gavl
gavl
openEuler-20.03-LTS

搜索帮助