Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
lame
> lame.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lame.spec of Package lame (Revision 3)
Currently displaying revision
3
,
show latest
# norootforbuild %define soname 0 Summary: LAME Ain't an MP3 Encoder Name: lame Version: 3.98 %define pkg_version 398 Release: 2 License: GNU Library General Public License version 2 (LGPL v2) URL: http://lame.sourceforge.net/ Group: Productivity/Multimedia/Sound/Editors and Convertors Source: http://prdownloads.sourceforge.net/lame/lame-%{pkg_version}.tar.gz Patch1: lame-fix_mp3rtp.patch # http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-sound/lame/files/lame-3.98-shared-frontend.patch Patch2: lame-3.98-shared-frontend.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc glibc-devel make pkgconfig ncurses-devel nasm BuildRequires: gtk-devel BuildRequires: autoconf automake libtool Requires: libmp3lame%{soname} = %{version}-%{release} %description LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. %package -n libmp3lame%{soname} Summary: LAME Ain't an MP3 Encoder Group: System/Libraries Provides: libmp3lame%{soname} = %{version}-%{release} Provides: liblame = %{version}-%{release} Provides: libmp3lame = %{version}-%{release} %description -n libmp3lame%{soname} LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. %package -n libmp3lame-devel Summary: LAME Ain't an MP3 Encoder Group: Development/Libraries/C and C++ Requires: libmp3lame%{soname} = %{version}-%{release} Provides: liblame-devel = %{version}-%{release} %description -n libmp3lame-devel LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. %package -n lame-mp3rtp Summary: MP3 Encoder for RTP Streaming Group: Productivity/Multimedia/Sound/Editors and Convertors Requires: libmp3lame%{soname} = %{version}-%{release} Provides: mp3rtp = %{version}-%{release} %description -n lame-mp3rtp LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. This package includes "mp3rtp", an MP3 encoder with RTP streaming of the output. %package -n lame-mp3x Summary: MP3 Frame Analyzer Group: Productivity/Multimedia/Sound/Visualization Requires: libmp3lame%{soname} = %{version}-%{release} Provides: mp3x = %{version}-%{release} %description -n lame-mp3x LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. This package includes "mp3x", an MP3 frame analyzer with a graphical frontend. %debug_package %prep %setup -q -n "lame-%{pkg_version}" %patch1 %patch2 -p1 %build autoreconf -fiv LIBS="-lm" \ CFLAGS="%{optflags}" \ %configure \ --enable-nasm \ --enable-decoder \ --without-vorbis \ --enable-analyzer=no \ --enable-brhist \ --disable-debug \ --enable-mp3rtp \ --enable-mp3x %__make %install %makeinstall %__rm -rf "%{buildroot}%{_datadir}/doc" %post -n libmp3lame%{soname} -p /sbin/ldconfig %postun -n libmp3lame%{soname} -p /sbin/ldconfig %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc LICENSE USAGE COPYING API TODO README* HACKING ChangeLog %_bindir/lame %doc %{_mandir}/man1/lame.1* %files -n libmp3lame%{soname} %defattr(-,root,root) %{_libdir}/libmp3lame.so.%{soname} %{_libdir}/libmp3lame.so.%{soname}.*.* %files -n libmp3lame-devel %defattr(-,root,root) %{_includedir}/lame %{_libdir}/libmp3lame.so %{_libdir}/libmp3lame.la %{_libdir}/libmp3lame.a %files -n lame-mp3rtp %defattr(-,root,root) %{_bindir}/mp3rtp %files -n lame-mp3x %defattr(-,root,root) %{_bindir}/mp3x %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build