Revision 18227,
1.5 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18226,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | %define ver 0.2.3 |
---|
2 | %define RELEASE 1 |
---|
3 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} |
---|
4 | %define prefix /usr |
---|
5 | |
---|
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 |
---|
17 | |
---|
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. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Library, headers, etc. to develop with the Audio File Library. |
---|
25 | Group: Libraries |
---|
26 | |
---|
27 | %description devel |
---|
28 | Library, header files, etc. for developing applications with the Audio |
---|
29 | File Library. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup |
---|
33 | |
---|
34 | %build |
---|
35 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix |
---|
36 | make $MAKE_FLAGS |
---|
37 | |
---|
38 | %install |
---|
39 | |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | mkdir -p $RPM_BUILD_ROOT |
---|
42 | |
---|
43 | # |
---|
44 | # makefile is broken, sets exec_prefix explicitely. |
---|
45 | # |
---|
46 | make exec_prefix=$RPM_BUILD_ROOT/%{prefix} prefix=$RPM_BUILD_ROOT/%{prefix} install |
---|
47 | |
---|
48 | %clean |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | %changelog |
---|
52 | |
---|
53 | * Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com> |
---|
54 | - First try at a spec file |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-, root, root) |
---|
58 | %doc COPYING TODO README ChangeLog docs |
---|
59 | %{prefix}/bin/* |
---|
60 | %{prefix}/lib/lib*.so.* |
---|
61 | |
---|
62 | %files devel |
---|
63 | %defattr(-, root, root) |
---|
64 | %{prefix}/lib/lib*.so |
---|
65 | %{prefix}/lib/*.a |
---|
66 | %{prefix}/include/* |
---|
67 | %{prefix}/share/aclocal/* |
---|
Note: See
TracBrowser
for help on using the repository browser.