[xiph-cvs] cvs commit: vorbis-tools vorbis-tools.spec
Jack Moffitt
jack at xiph.org
Sun Oct 7 12:41:38 PDT 2001
jack 01/10/07 12:41:38
Modified: . vorbis-tools.spec
Log:
Added configurable prefixes to vorbis-tools.spec.
Thanks to Miles Egan <miles at pixar.com> for this suggestion.
Revision Changes Path
1.21 +12 -9 vorbis-tools/vorbis-tools.spec
Index: vorbis-tools.spec
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/vorbis-tools.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- vorbis-tools.spec 2001/08/12 21:32:44 1.20
+++ vorbis-tools.spec 2001/10/07 19:41:37 1.21
@@ -15,6 +15,7 @@
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 @@
%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 @@
%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 @@
%postun
%changelog
+* Sun Oct 07 2001 Jack Moffitt <jack at xiph.org>
+- Updated for configurable prefix
* Sun Aug 12 2001 Greg Maxwell <greg at linuxpower.cx>
- updated for rc2
* Sun Jun 17 2001 Jack Moffitt <jack at icecast.org>
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list