]>
Commit | Line | Data |
---|---|---|
b74e0d53 | 1 | Summary: Portable audio library |
2 | Summary(pl.UTF-8): Przenośna biblioteka audio | |
3 | Name: audiere | |
4 | Version: 1.9.4 | |
5 | Release: 1 | |
691c65e4 | 6 | License: LGPL v2.1+ |
b74e0d53 | 7 | Group: Libraries |
8 | Source0: http://dl.sourceforge.net/audiere/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b95dfe6f1e69cfd12371747f22772766 | |
10 | URL: http://audiere.sourceforge.net/ | |
691c65e4 JB |
11 | # should be shared to avoid PIC issue |
12 | #BuildRequires: dumb-devel | |
13 | #BuildRequires: flac-devel < 1.1.3 | |
14 | BuildRequires: libcdaudio-devel | |
b74e0d53 | 15 | BuildRequires: libogg-devel |
691c65e4 | 16 | BuildRequires: libstdc++-devel |
b74e0d53 | 17 | BuildRequires: libvorbis-devel |
691c65e4 JB |
18 | # needs fix (-I, invalid conversion) |
19 | #BuildRequires: speex-devel | |
20 | #BR: wxWidgets for example player (needs passing WX_CONFIG) | |
21c1e8a2 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b74e0d53 | 22 | |
23 | %description | |
24 | The Audiere Audio System is a portable audio library which supports | |
25 | playing MP3, Ogg Vorbis, WAV, IT, XM, S3M, and MOD files. You can use | |
26 | it from C, C++, Python, Java, and any language that supports XPCOM | |
27 | (JavaScript in Mozilla, for example). It currently supports | |
28 | DirectSound 3, DirectSound 8, and arbitrary DLLs for output in | |
29 | Windows, and OSS in Linux. | |
30 | ||
31 | %description -l pl.UTF-8 | |
19c1ec6f | 32 | Audiere Audio System jest przenośną biblioteką obsługującą |
b74e0d53 | 33 | odtwarzanie plików MP3, Ogg Vorbis, WAV, IT, XM, S3M oraz MOD. Można |
19c1ec6f JB |
34 | jej używać z poziomu C, C++, Pythona, Javy oraz innych języków |
35 | obsługujących XPCOM (jak na przykład JavaScript w Mozilli). | |
36 | Biblioteka jako wyjście obsługuje obecnie DirectSound 3, DirectSound 8 | |
37 | jak również dowolne biblioteki DLL dla Windows oraz OSS pod Linuksem. | |
b74e0d53 | 38 | |
39 | %package devel | |
19c1ec6f | 40 | Summary: Header files for audiere library |
b74e0d53 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki audiere |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
691c65e4 JB |
44 | Requires: libcdaudio-devel |
45 | Requires: libogg-devel | |
46 | Requires: libstdc++-devel | |
47 | Requires: libvorbis-devel | |
b74e0d53 | 48 | |
49 | %description devel | |
50 | Header files for audiere library. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki nagłówkowe biblioteki audiere. | |
54 | ||
55 | %package static | |
56 | Summary: Static audiere library | |
57 | Summary(pl.UTF-8): Statyczna biblioteka audiere | |
58 | Group: Development/Libraries | |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | Static audiere library. | |
63 | ||
64 | %description static -l pl.UTF-8 | |
65 | Statyczna biblioteka audiere. | |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
71 | %configure | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc doc/*.txt | |
868f012a | 86 | %attr(755,root,root) %{_libdir}/libaudiere-%{version}.so |
b74e0d53 | 87 | |
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
691c65e4 | 90 | %attr(755,root,root) %{_bindir}/audiere-config |
868f012a | 91 | %attr(755,root,root) %{_libdir}/libaudiere.so |
b74e0d53 | 92 | %{_libdir}/libaudiere.la |
93 | %{_includedir}/audiere.h | |
94 | ||
95 | %files static | |
96 | %defattr(644,root,root,755) | |
19c1ec6f | 97 | %{_libdir}/libaudiere.a |