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