Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
faad2
> faad2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File faad2.spec of Package faad2 (Revision 9)
Currently displaying revision
9
,
show latest
# norootforbuild #!BuildIgnore: post-build-checks %define name faad2 %define version 2.6.1 %define release 8 %define major 0 %define lib libfaad %define libname %{lib}%{major} Name: %{name} Version: %{version} Release: %{release} Summary: C library and frontend for decoding MPEG2/4 AAC Summary(de): C Bibliothek und Frontend zum Decodieren von MPEG2/4 AAC License: GPL v2 or later Group: Productivity/Multimedia/Video/Editors and Convertors URL: http://www.audiocoding.com/ Source0: http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.bz2 Patch0: faad2-libmp4ff.patch Patch1: faad2-main_overflow.diff BuildRoot: %{_tmppath}/buildroot-%{name}-%{version} Requires: %{libname} = %{version}-%{release} Requires: libmp4v2 BuildRequires: libmp4v2-devel BuildRequires: glibc-devel BuildRequires: libogg-devel BuildRequires: xmms-devel BuildRequires: id3lib-devel BuildRequires: gcc-c++ BuildRequires: SDL-devel %if 0%{?suse_version} < 1000 && 0%{?suse_version} > 0 BuildRequires: glib BuildRequires: glib-devel BuildRequires: gtk BuildRequires: gtk-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} Group: System/Libraries Summary: Shared library part of faad2 Summary(de): Bibliotheken zu faad2 Requires: libmp4v2 Provides: %{lib} = %{version}-%{release} Provides: libfaad2_0 = %{version}-%{release} Obsoletes: libfaad2_0 < %{version}-%{release} Provides: libfaad-0 = %{version}-%{release} Obsoletes: libfaad-0 < %{version}-%{release} %description -n %{libname} Shared library part of faad2 %description -n %{libname} -l de Bibliotheken zu faad2 %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}-%{release} Requires: libmp4v2-devel Obsoletes: libfaad2-devel < %{version}-%{release} Provides: libfaad2-devel = %{version}-%{release} Obsoletes: faad2-devel < %{version}-%{release} Provides: faad2-devel = %{version}-%{release} Obsoletes: faad2-drm-devel < %{version}-%{release} Provides: faad2-drm-devel = %{version}-%{release} %description -n %{lib}-devel Header files and development documentation for libfaad. %description -n %{lib}-devel -l de Header-Dateien und Entwicklerdokumtation zur libfaad. %package xmms-plugin Summary: faad2 Xmms input plugin Summary(de): faad2 Xmms input plugin Group: Productivity/Multimedia/Sound/Players Requires: %{libname} = %{version}-%{release} Requires: xmms >= 1.2.8 %description xmms-plugin 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 xmms-plugin Das plugin liest AAC Dateien für xmms. %debug_package %prep %setup -qn faad2 %patch0 %patch1 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" %{__mkdir_p} plugins/bmp %if 0%{?suse_version} >= 1100 %__sed -i -e "s|dnl AC_PROG_CXX|AC_PROG_CXX|g" configure.in %endif autoreconf -vif %suse_update_libdir plugins/xmms/src/Makefile.am %configure --with-xmms %{__make} %{?jobs:-j%{jobs}} %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %makeinstall %{__install} -m 644 common/mp4ff/mp4ff.h %{buildroot}%{_includedir}/ %{__install} -m 644 common/mp4ff/mp4ff_int_types.h %{buildroot}%{_includedir}/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n %{lib}-devel %defattr(-, root, root) %{_libdir}/*.*a %{_libdir}/*.so %{_includedir}/* %files xmms-plugin %defattr(-, root, root) %doc plugins/xmms/README %{_libdir}/xmms/Input/libmp4* %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build