(Metux) autogen.sh: not running ./configure anymore (breaks certain distro builders)
[mirror-ossqm-audiofile.git] / audiofile.spec.in
blobfbeefece05a690f95704642e38f777d7f783ea19
1 %define ver @VERSION@
2 %define RELEASE 1
3 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
4 %define prefix /usr
6 Summary: A library to handle various audio file formats.
7 Name: audiofile
8 Version: %ver
9 Release: %rel
10 Copyright: LGPL
11 Group: Libraries/Sound
12 Source: ftp://ftp.gnome.org/pub/GNOME/sources/audiofile/audiofile-%{PACKAGE_VERSION}.tar.gz
13 URL: http://www.68k.org/~michael/audiofile/
14 BuildRoot:/var/tmp/audiofile-%{PACKAGE_VERSION}-root
15 Docdir: %{prefix}/doc
16 Obsoletes: libaudiofile
18 %description
19 The Audio File Library provides an elegant API for accessing a variety
20 of audio file formats, such as AIFF/AIFF-C, WAVE, and NeXT/Sun
21 .snd/.au, in a manner independent of file and data formats.
23 %package devel
24 Summary: Library, headers, etc. to develop with the Audio File Library.
25 Group: Libraries
27 %description devel
28 Library, header files, etc. for developing applications with the Audio
29 File Library.
31 %prep
32 %setup
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
36 make $MAKE_FLAGS
38 %install
40 rm -rf $RPM_BUILD_ROOT
41 mkdir -p $RPM_BUILD_ROOT
44 # makefile is broken, sets exec_prefix explicitely.
46 make exec_prefix=$RPM_BUILD_ROOT/%{prefix} prefix=$RPM_BUILD_ROOT/%{prefix} install
48 %clean
49 rm -rf $RPM_BUILD_ROOT
51 %changelog
53 * Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
54 - First try at a spec file
56 %files
57 %defattr(-, root, root)
58 %doc COPYING TODO README ChangeLog docs
59 %{prefix}/bin/*
60 %{prefix}/lib/lib*.so.*
62 %files devel
63 %defattr(-, root, root)
64 %{prefix}/lib/lib*.so
65 %{prefix}/lib/*.a
66 %{prefix}/lib/*.la
67 %{prefix}/lib/pkgconfig/*.pc
68 %{prefix}/include/*
69 %{prefix}/share/aclocal/*