]> git.pld-linux.org Git - packages/audiere.git/blob - audiere.spec
- devel deps
[packages/audiere.git] / audiere.spec
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
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/audiere/%{name}-%{version}.tar.gz
9 # Source0-md5:  b95dfe6f1e69cfd12371747f22772766
10 URL:            http://audiere.sourceforge.net/
11 # should be shared to avoid PIC issue
12 #BuildRequires: dumb-devel
13 #BuildRequires: flac-devel < 1.1.3
14 BuildRequires:  libcdaudio-devel
15 BuildRequires:  libogg-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libvorbis-devel
18 # needs fix (-I, invalid conversion)
19 #BuildRequires: speex-devel
20 #BR: wxWidgets for example player (needs passing WX_CONFIG)
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
32 Audiere Audio System jest przenośną biblioteką obsługującą
33 odtwarzanie plików MP3, Ogg Vorbis, WAV, IT, XM, S3M oraz MOD. Można
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.
38
39 %package devel
40 Summary:        Header files for audiere library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki audiere
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       libcdaudio-devel
45 Requires:       libogg-devel
46 Requires:       libstdc++-devel
47 Requires:       libvorbis-devel
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
86 %attr(755,root,root) %{_libdir}/libaudiere-%{version}.so
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/audiere-config
91 %attr(755,root,root) %{_libdir}/libaudiere.so
92 %{_libdir}/libaudiere.la
93 %{_includedir}/audiere.h
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libaudiere.a
This page took 0.070753 seconds and 3 git commands to generate.