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 2)
Currently displaying revision
2
,
show latest
# norootforbuild %define name faad2 %define version 2.6.1 %define release 1 %define major 0 %define lib libfaad2 %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: faad2-2.6.1.tar.bz2 Patch0: faad2-libmp4ff.patch 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 %suse_version < 1000 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} %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: faad2-devel Provides: faad2-devel Obsoletes: faad2-drm-devel Provides: faad2-drm-devel %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 %build export CFLAGS="$RPM_OPT_FLAGS" %{__mkdir_p} plugins/bmp autoreconf -vif %suse_update_libdir plugins/xmms/src/Makefile.am %configure --with-xmms --with-drm %{__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 %run_ldconfig %postun %run_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