/[packages]/cauldron/audiofile/current/SPECS/audiofile.spec
ViewVC logotype

Contents of /cauldron/audiofile/current/SPECS/audiofile.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 195262 - (show annotations) (download)
Thu Jan 12 13:43:26 2012 UTC (12 years, 3 months ago) by fwang
File size: 1953 byte(s)
new version 0.3.3
1 %define url_ver %(echo %{version} | cut -d "." -f -2)
2
3 %define lib_major 0
4 %define lib_name %mklibname %{name} %{lib_major}
5 %define develname %mklibname %{name} -d
6
7 Summary: Library to handle various audio file formats
8 Name: audiofile
9 Version: 0.3.3
10 Release: %mkrel 1
11 License: LGPLv2+
12 Group: System/Libraries
13 Source0: http://download.gnome.org/sources/%name/%{url_ver}/%{name}-%{version}.tar.xz
14 Patch0: audiofile-0.3.2-link.patch
15 URL: http://www.68k.org/~michael/audiofile/
16 BuildRequires: alsa-lib-devel
17
18 %description
19 The Silicon Graphics Audio File Library provides a uniform programming
20 interface to standard digital audio file formats.
21
22 Currently supported sound file formats include AIFF/AIFF-C, WAVE, and
23 NeXT/Sun .snd/.au. Supported compression formats are currently G.711
24 mu-law and A-law.
25 Used by the esound daemon.
26
27 %package -n %{lib_name}
28 Summary: Main library for audiofile
29 Group: System/Libraries
30
31 %description -n %{lib_name}
32 This package contains the library needed to run programs dynamically
33 linked with audiofile.
34
35 %package -n %{develname}
36 Summary: Includes and other files to develop audiofile applications
37 Group: Development/C
38 Requires: %{lib_name} = %{version}
39 Provides: lib%{name}-devel = %{version}
40 Provides: audiofile-devel = %{version}
41 Obsoletes: %{_lib}audiofile0-devel < 0.3.2
42
43 %description -n %{develname}
44 Libraries, include files and other resources you can use to develop audiofile
45 applications.
46
47 %prep
48 %setup -q
49 %patch0 -p0 -b .link
50
51 %build
52 %configure2_5x --enable-largefile --disable-static
53 %make
54
55 %install
56 %makeinstall_std
57
58 rm -f %{buildroot}%{_libdir}/*.la
59
60 %files
61 %doc COPYING README
62 %{_bindir}/sfconvert
63 %{_bindir}/sfinfo
64 %{_mandir}/man1/*
65
66 %files -n %{lib_name}
67 %doc COPYING README
68 %{_libdir}/*.so.%{lib_major}
69 %{_libdir}/*.so.%{lib_major}*
70
71 %files -n %{develname}
72 %doc COPYING README ACKNOWLEDGEMENTS TODO NEWS NOTES ChangeLog docs
73 %{_libdir}/*.so
74 %{_includedir}/*
75 %{_libdir}/pkgconfig/*
76 %{_mandir}/man3/*

  ViewVC Help
Powered by ViewVC 1.1.30