[xiph-cvs] cvs commit: ao libao.spec
Jack Moffitt
jack at xiph.org
Sun Oct 7 12:48:18 PDT 2001
jack 01/10/07 12:48:18
Modified: . libao.spec
Log:
Added configurable prefixes to libao.spec.
Thanks to Miles Egan <miles at pixar.com> for this suggestion.
Revision Changes Path
1.15 +13 -9 ao/libao.spec
Index: libao.spec
===================================================================
RCS file: /usr/local/cvsroot/ao/libao.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libao.spec 2001/10/07 16:30:25 1.14
+++ libao.spec 2001/10/07 19:48:18 1.15
@@ -14,6 +14,7 @@
Source: ftp://ftp.xiph.org/pub/ao/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: esound >= 0.2.8
+Prefix: %{_prefix}
%description
Libao is a cross platform audio output library. It currently supports
@@ -32,9 +33,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
@@ -48,18 +49,18 @@
%doc CHANGES
%doc COPYING
%doc README
-/usr/lib/libao.so.*
-/usr/lib/ao/plugins-%{pluginver}/*.so
+%{_libdir}/libao.so.*
+%{_libdir}/ao/plugins-%{pluginver}/*.so
%files devel
%doc doc/*.html
%doc doc/*.css
%doc doc/ao_example.c
-/usr/include/ao/ao.h
-/usr/include/ao/os_types.h
-/usr/include/ao/plugin.h
-/usr/lib/libao.so
-/usr/share/aclocal/ao.m4
+%{_includedir}/ao/ao.h
+%{_includedir}/ao/os_types.h
+%{_includedir}/ao/plugin.h
+%{_libdir}/libao.so
+%{_datadir}/aclocal/ao.m4
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -71,6 +72,9 @@
/sbin/ldconfig
%changelog
+* Sun Oct 07 2001 Jack Moffitt <jack at xiph.org>
+- supports configurable prefixes
+
* Sun Oct 07 2001 Stan Seibert <indigo at aztec.asu.edu>
- devel packages look for correct documentation files
- added ao/plugin.h include file to devel package
--- >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