%define date 20041215 %define bmp_inputdir %(pkg-config --variable=input_plugin_dir bmp 2>/dev/null || echo %{_libdir}/bmp/Input) Summary: AAC/MP4 playback plugin for the Beep Media Player Name: bmp-aac Version: 0 Release: 1.n0i.1.%{date} License: GPL Group: Applications/Multimedia URL: http://fondriest.frederic.free.fr/realisations/ Source0: http://fondriest.frederic.free.fr/fichiers/bmp-mp4_%{date}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bmp-devel autoconf automake libtool gcc-c++ %description This package contains an AAC/MP4 playback plugin for Beep Media Player (BMP). %prep %setup -n bmp-mp4_%{date} autoreconf -vifs %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog %exclude %{bmp_inputdir}/*.la %{bmp_inputdir}/*.so %changelog * Tue Sep 20 2005 Marius FERARU 0-1.n0i.1.20041215 - twisted Dries' spec into this one