|
|
4d35a8 |
#
|
|
|
4d35a8 |
# spec file for package fdk-aac-free
|
|
|
4d35a8 |
#
|
|
|
4d35a8 |
# Copyright (c) 2020 Red Hat, Inc.
|
|
|
4d35a8 |
# Copyright (c) 2021 Neal Gompa <ngompa@opensuse.org>.
|
|
|
4d35a8 |
#
|
|
|
4d35a8 |
# All modifications and additions to the file contributed by third parties
|
|
|
4d35a8 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
4d35a8 |
# upon. The license for this file, and modifications and additions to the
|
|
|
4d35a8 |
# file, is the same license as for the pristine package itself (unless the
|
|
|
4d35a8 |
# license for the pristine package is not an Open Source License, in which
|
|
|
4d35a8 |
# case the license is the MIT License). An "Open Source License" is a
|
|
|
4d35a8 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
4d35a8 |
# published by the Open Source Initiative.
|
|
|
4d35a8 |
|
|
|
4d35a8 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
4d35a8 |
#
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%global somajor 2
|
|
|
4d35a8 |
%global origname fdk-aac
|
|
|
4d35a8 |
%global libname lib%{origname}%{somajor}
|
|
|
4d35a8 |
%global devname lib%{origname}-devel
|
|
|
4d35a8 |
|
|
|
4d35a8 |
Name: fdk-aac-free
|
|
|
4d35a8 |
Version: 2.0.0
|
|
|
4d35a8 |
Release: 0
|
|
|
4d35a8 |
Summary: Modified Version of the Fraunhofer FDK AAC Codec Library for Android
|
|
|
4d35a8 |
Group: Productivity/Multimedia/Other
|
|
|
4d35a8 |
License: FDK-AAC
|
|
|
4d35a8 |
URL: https://cgit.freedesktop.org/~wtay/fdk-aac/log/?h=fedora
|
|
|
4d35a8 |
Source0: https://people.freedesktop.org/~wtay/fdk-aac-free-%{version}.tar.gz
|
|
|
4d35a8 |
|
|
|
4d35a8 |
BuildRequires: automake
|
|
|
4d35a8 |
BuildRequires: gcc
|
|
|
4d35a8 |
BuildRequires: gcc-c++
|
|
|
4d35a8 |
BuildRequires: libtool
|
|
|
4d35a8 |
BuildRequires: make
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%description
|
|
|
4d35a8 |
The Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library
|
|
|
4d35a8 |
for Android is software that implements part of the MPEG Advanced Audio Coding
|
|
|
4d35a8 |
("AAC") encoding and decoding scheme for digital audio.
|
|
|
4d35a8 |
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%package -n %{libname}
|
|
|
4d35a8 |
Summary: Modified Version of the FDK AAC Codec Library for Android
|
|
|
4d35a8 |
Group: System/Libraries
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%description -n %{libname}
|
|
|
4d35a8 |
The Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library
|
|
|
4d35a8 |
for Android is software that implements part of the MPEG Advanced Audio Coding
|
|
|
4d35a8 |
("AAC") encoding and decoding scheme for digital audio.
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%package -n %{devname}
|
|
|
4d35a8 |
Summary: Development files for %{name}
|
|
|
4d35a8 |
Group: Development/Libraries/C and C++
|
|
|
4d35a8 |
Requires: %{libname}%{?_isa} = %{version}-%{release}
|
|
|
4d35a8 |
Provides: %{name}-devel = %{version}-%{release}
|
|
|
4d35a8 |
Provides: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%description -n %{devname}
|
|
|
4d35a8 |
The %{devname} package contains libraries and header files for
|
|
|
4d35a8 |
developing applications that use %{name}.
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%prep
|
|
|
4d35a8 |
%autosetup
|
|
|
4d35a8 |
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%build
|
|
|
4d35a8 |
autoreconf -fiv
|
|
|
4d35a8 |
%configure \
|
|
|
4d35a8 |
--disable-silent-rules \
|
|
|
4d35a8 |
--disable-static
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%make_build
|
|
|
4d35a8 |
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%install
|
|
|
4d35a8 |
%make_install INSTALL="install -p"
|
|
|
4d35a8 |
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%ldconfig_scriptlets -n %{libname}
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%files -n %{libname}
|
|
|
4d35a8 |
%doc ChangeLog README.fedora
|
|
|
4d35a8 |
%license NOTICE
|
|
|
4d35a8 |
%{_libdir}/libfdk-aac.so.%{somajor}{,.*}
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%files -n %{devname}
|
|
|
4d35a8 |
%doc documentation/*.pdf
|
|
|
4d35a8 |
%dir %{_includedir}/fdk-aac
|
|
|
4d35a8 |
%{_includedir}/fdk-aac/*.h
|
|
|
4d35a8 |
%{_libdir}/*.so
|
|
|
4d35a8 |
%{_libdir}/pkgconfig/fdk-aac.pc
|
|
|
4d35a8 |
|
|
|
4d35a8 |
%changelog
|