File vo-amrwbenc.spec of Package vo-amrwbenc
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: vo-amrwbenc
Version: 0.1.3
%define so_nr 0
Release: 1699.1.pm.85
License: Apache-2.0
Summary: VisualOn AMR-WB encoder library
Url: http://opencore-amr.sourceforge.net/
Group: System/Libraries
Source0: http://downloads.sourceforge.net/project/opencore-amr/%{name}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: pkg-config
BuildRoot: %_tmppath/%name-%version-build
%description
This library contains an encoder implementation of the Adaptive
Multi Rate Wideband (AMR-WB) audio codec. The library is based
on a codec implementation by VisualOn as part of the Stagefright
framework from the Google Android project.
%package -n lib%{name}%{so_nr}
Summary: VisualOn AMR-WB encoder library
Group: System/Libraries
%description -n lib%{name}%{so_nr}
This library contains an encoder implementation of the Adaptive
Multi Rate Wideband (AMR-WB) audio codec. The library is based
on a codec implementation by VisualOn as part of the Stagefright
framework from the Google Android project.
%package -n lib%{name}-devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: lib%{name}%{so_nr} = %{version}
%description -n lib%{name}-devel
This package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=%{?buildroot}
rm %{buildroot}%{_libdir}/lib%{name}.la
%post -n lib%{name}%{so_nr} -p /sbin/ldconfig
%postun -n lib%{name}%{so_nr} -p /sbin/ldconfig
%files -n lib%{name}%{so_nr}
%defattr(0644,root,root,0755)
%doc COPYING README NOTICE
%{_libdir}/lib%{name}.so.%{so_nr}*
%files -n lib%{name}-devel
%defattr(0644,root,root,0755)
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri Dec 1 2017 zaitor@opensuse.org
- Update to version 0.1.3:
* Unify the code with upstream, after local changes have been
merged upstream.
* Update source files to the latest version upstream (no
functional changes).
* Avoid text relocations in arm assembly.
* Clean up the autotools project files.
* Minor warning fixes when building with certain warning flags.
* Fix a bug in the wav reader, making it compatible with more wav
files.
* Mon Mar 12 2012 toddrme2178@gmail.com
- Cleaned up spec file formatting
- Added 32bit compatibility package (needed by
gstreamer-0_10-plugins-bad-orig-addon-32bit)
* Wed Feb 29 2012 reddwarf@opensuse.org
- Initial package based on RPMFusion