Commit feafe82d authored by Jack Moffitt's avatar Jack Moffitt

Added configurable prefixes to vorbis-tools.spec.

Thanks to Miles Egan <miles@pixar.com> for this suggestion.

svn path=/trunk/vorbis-tools/; revision=2119
parent 18c3ce40
......@@ -15,6 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-root
Requires: libogg >= 1.0rc2
Requires: libvorbis >= 1.0rc2
Requires: libao >= 0.8.0
Prefix: %{_prefix}
%description
vorbis-tools contains oggenc (and encoder) and ogg123 (a playback tool)
......@@ -24,9 +25,9 @@ vorbis-tools contains oggenc (and encoder) and ogg123 (a playback tool)
%build
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
fi
make
......@@ -39,13 +40,13 @@ make DESTDIR=$RPM_BUILD_ROOT install
%doc COPYING
%doc README
%doc ogg123/ogg123rc-example
/usr/bin/oggenc
/usr/bin/ogg123
/usr/bin/ogginfo
/usr/bin/vorbiscomment
/usr/share/man/man1/ogg123.1*
/usr/share/man/man1/oggenc.1*
/usr/share/man/man1/ogginfo.1*
%{_bindir}/oggenc
%{_bindir}/ogg123
%{_bindir}/ogginfo
%{_bindir}/vorbiscomment
%{_datadir}/man/man1/ogg123.1*
%{_datadir}/man/man1/oggenc.1*
%{_datadir}/man/man1/ogginfo.1*
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
......@@ -55,6 +56,8 @@ make DESTDIR=$RPM_BUILD_ROOT install
%postun
%changelog
* Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
- Updated for configurable prefix
* Sun Aug 12 2001 Greg Maxwell <greg@linuxpower.cx>
- updated for rc2
* Sun Jun 17 2001 Jack Moffitt <jack@icecast.org>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment