source: trunk/third/audiofile/audiofile.spec @ 18227

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
6Summary: A library to handle various audio file formats.
7Name: audiofile
8Version: %ver
9Release: %rel
10Copyright: LGPL
11Group: Libraries/Sound
12Source: ftp://ftp.gnome.org/pub/GNOME/sources/audiofile/audiofile-%{PACKAGE_VERSION}.tar.gz
13URL: http://www.68k.org/~michael/audiofile/
14BuildRoot:/var/tmp/audiofile-%{PACKAGE_VERSION}-root
15Docdir: %{prefix}/doc
16Obsoletes: libaudiofile
17
18%description
19The Audio File Library provides an elegant API for accessing a variety
20of 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
24Summary: Library, headers, etc. to develop with the Audio File Library.
25Group: Libraries
26
27%description devel
28Library, header files, etc. for developing applications with the Audio
29File Library.
30
31%prep
32%setup
33
34%build
35CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
36make $MAKE_FLAGS
37
38%install
39
40rm -rf $RPM_BUILD_ROOT
41mkdir -p $RPM_BUILD_ROOT
42
43#
44# makefile is broken, sets exec_prefix explicitely.
45#
46make exec_prefix=$RPM_BUILD_ROOT/%{prefix} prefix=$RPM_BUILD_ROOT/%{prefix} install
47
48%clean
49rm -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.