# # spec file for package xavs # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # %define somajor 1 Name: xavs Version: 0.1.51 Release: 1.4 Url: http://http://xavs.sourceforge.net/ Summary: AVS is the Audio Video Standard of China. License: LGPL-2.1+ and GPL-3.0 Group: Productivity/Networking/Security Source0: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description AVS is the Audio Video Standard of China. This project aims to implement high quality AVS encoder and decoder. %package -n libxavs%{somajor} Summary: High Efficiency Advanced Audio Codec Group: Productivity/Networking/Libraries/C and C++ %description -n libxavs%{somajor} High Efficiency Advanced Audio Codec v2 (he-aac+) encoder library. (3GPP TS 26.410 V8.0.0) %package devel Requires: xavs-%{somajor} = %{version} Summary: High Efficiency Advanced Audio Codec Group: Development/Libraries/C and C++ %description devel High Efficiency Advanced Audio Codec v2 (he-aac+) encoder library. (3GPP TS 26.410 V8.0.0) %prep %setup -n %{name}-%{version} %build export CFLAGS="%optflags" %configure \ --enable-shared make %install %make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a %files %defattr(-, root, root) # doc ChangeLog NEWS README %{_bindir}/* %files -n libxavs%{somajor} %defattr(-, root, root) %{_libdir}/*.so.%{somajor}* %files devel %defattr(-, root, root) %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/ %changelog * Sun Oct 07 2018 holgerbruenjes@gmx.net - update version r55 * Fri Mar 14 2014 holgerbruenjes@gmx.net first version