diff options
author | jmvalin <jmvalin@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2002-07-31 08:01:34 +0400 |
---|---|---|
committer | jmvalin <jmvalin@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2002-07-31 08:01:34 +0400 |
commit | a6a2b3f4894c7bfff07f404d9619ecfee467df9a (patch) | |
tree | b57befc060e7df72945c99cc4011abfc5206f68e /Speex.spec.in | |
parent | fe0a6528f83cde029b90f824505db1f74809e495 (diff) |
Easier to build RPMS, thanks to Fredrik Rambris
git-svn-id: http://svn.xiph.org/trunk/speex@3734 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'Speex.spec.in')
-rw-r--r-- | Speex.spec.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Speex.spec.in b/Speex.spec.in index 0ec5ff5..9691f33 100644 --- a/Speex.spec.in +++ b/Speex.spec.in @@ -12,6 +12,8 @@ Source: http://prdownloads.sourceforge.net/speex/%{name}-%{ver}.tar.gz URL: http://speex.sourceforge.net/ Vendor: Speex Packager: Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca) +BuildRoot: /var/tmp/%{name}-build-root +Docdir: /usr/share/doc %description Speex is a patent-free audio codec designed especially for voice (unlike @@ -19,6 +21,11 @@ Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. +%changelog +* Tue Jul 30 2002 Fredrik Rambris <boost@users.sourceforge.net> 0.5.2 +- Added buildroot and docdir and ldconfig. Makes it builadble by non-roots + and also doesn't write to actual library paths when building. + %prep %setup @@ -28,9 +35,15 @@ export CFLAGS='-O3' make %install -make install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files +%defattr(-, root, root) +%doc AUTHORS COPYING NEWS TODO README /usr/lib/libspeex* /usr/bin/speexenc /usr/bin/speexdec |