Projects
Essentials
faad2
faad2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faad2.spec of Package faad2
# # spec file for package faad2 # # Copyright (c) 2020 Packman Team <packman@links2linux.de> # Copyright (c) 2005-2020 Manfred Tremmel <Manfred.Tremmel@iiv.de> # Copyright (c) 2004-2005 Rainer Lay <rainer@links2linux.de> # Copyright (c) 2003 Henne Vogelsang <henne@links2linux.de> # # 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. # Please submit bugfixes or comments via https://bugs.links2linux.org/ # %define major 2 %define lib libfaad %define libname %{lib}%{major} %define _version 2_10_0 %bcond_with xmms # mpeg4ip is built without gmp4player, it makes no sense to build the plugin %bcond_with mpeg4ip Name: faad2 Version: 2.10.1 Release: 0 Summary: C library and frontend for decoding MPEG2/4 AAC Summary(de): C Bibliothek und Frontend zum Decodieren von MPEG2/4 AAC License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://github.com/knik0/faad2 Source0: %{url}/archive/%{_version}/%{name}-%{version}.tar.gz Patch0: %{name}-visibility.patch Patch1: faad2-PACKAGE_VERSION.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: %{libname} = %{version} %if %{with mpeg4ip} BuildRequires: SDL-devel BuildRequires: libmp4v2-devel %endif %if %{with xmms} BuildRequires: id3lib-devel BuildRequires: xmms2-devel %endif #Obsoletes: faad2-drm #Provides: faad2-drm %description FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. FAAD 2 is licensed under the GPL. %description -l de FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder. %package -n %{libname} Summary: Shared library part of faad2 Summary(de): Bibliotheken zu faad2 Group: System/Libraries Provides: %{lib} = %{version} Provides: lib%{name}_2 = %{version} Obsoletes: lib%{name}_2 < %{version} Provides: libfaad-2 = %{version} Obsoletes: libfaad-2 < %{version} %description -n %{libname} FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. FAAD 2 is licensed under the GPL. The shared library part of faad2 %description -n %{libname} -l de FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder. Die Bibliotheken zu faad2 %package -n %{lib}_drm%{major} Summary: DRM shared library part of faad2 Group: System/Libraries Provides: %{lib} = %{version} %description -n %{lib}_drm%{major} FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. FAAD 2 is licensed under the GPL. The shared library part of faad2-drm %package -n %{lib}-devel Summary: Development files of the FAAD 2 AAC decoder Summary(de): Entwicklerdateien des FAAD 2 AAC Dekoders Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: %{lib}_drm%{major} = %{version} Requires: %{name} = %{version} Obsoletes: lib%{name}-devel < %{version} Provides: lib%{name}-devel = %{version} Obsoletes: %{name}-devel < %{version} Provides: %{name}-devel = %{version} Obsoletes: %{name}-drm-devel < %{version} Provides: %{name}-drm-devel = %{version} %description -n %{lib}-devel FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. FAAD 2 is licensed under the GPL. Header files and development documentation for libfaad. %description -n %{lib}-devel -l de FAAD 2 ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Decoder. Header-Dateien und Entwicklerdokumtation zur libfaad. %if %{with xmms} %package -n xmms-%{name} Summary: Xmms faad2 input plugin Summary(de): Xmms faad2 Eingabeplugin Group: Productivity/Multimedia/Sound/Players Requires: %{libname} = %{version} Requires: xmms >= 1.2.8 Obsoletes: %{name}-xmms-plugin < %{version} Provides: %{name}-xmms-plugin = %{version} %description -n xmms-%{name} The plugin read aac files with and without ID3tag(version 2.x), AAC files are MPEG2 or MPEG4 files that could be found in MPEG4 audio files (.mp4). %description -l de -n xmms-%{name} Das plugin für xmms liest AAC Dateien mit und ohne ID3-Tags (version 2.x). AAC Dateien sind MPEG2 oder MPEG4 Dateien, sie finden Verwendung in MPEG4 Audodateien (.mp4). %endif %prep %autosetup -p1 -n %{name}-%{_version} sed -i 's/__PACKAGE_VERSION__/%{version}/' include/neaacdec.h %build autoreconf -ifv export CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ %if %{with xmms} --with-xmms \ %endif --with-pic \ --enable-shared \ --disable-static %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %post -n %{lib}_drm%{major} -p /sbin/ldconfig %postun -n %{lib}_drm%{major} -p /sbin/ldconfig %files %doc AUTHORS ChangeLog NEWS README TODO %license COPYING %{_bindir}/faad %{_mandir}/man1/faad.1%{?ext_man} %files -n %{libname} %{_libdir}/libfaad.so.%{major}* %files -n %{lib}_drm%{major} %{_libdir}/libfaad_drm.so.%{major}* %files -n %{lib}-devel %{_includedir}/faad.h %{_includedir}/neaacdec.h %{_libdir}/libfaad.so %{_libdir}/libfaad_drm.so %{_libdir}/pkgconfig/%{name}.pc %if %{with xmms} %files -n xmms-%{name} %doc plugins/xmms/README %{_libdir}/xmms/Input/libmp4* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.