]> git.pld-linux.org Git - packages/audiere.git/blobdiff - audiere.spec
- gcc44.patch; rel 2
[packages/audiere.git] / audiere.spec
index f3639063faa23207d486db27f5b74d01f3f89573..ea1a6f18ae416cd5d337e58fc47fddcefa2cbeaa 100644 (file)
@@ -2,15 +2,24 @@ Summary:      Portable audio library
 Summary(pl.UTF-8):     Przenośna biblioteka audio
 Name:          audiere
 Version:       1.9.4
-Release:       1
-License:       GPL v2.1+
+Release:       2
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/audiere/%{name}-%{version}.tar.gz
 # Source0-md5: b95dfe6f1e69cfd12371747f22772766
+Patch0:                gcc44.patch
 URL:           http://audiere.sourceforge.net/
-BuildRequires: flac-devel
+# should be shared to avoid PIC issue
+#BuildRequires:        dumb-devel
+#BuildRequires:        flac-devel < 1.1.3
+BuildRequires: libcdaudio-devel
 BuildRequires: libogg-devel
+BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel
+# needs fix (-I, invalid conversion)
+#BuildRequires:        speex-devel
+#BR: wxWidgets for example player (needs passing WX_CONFIG)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The Audiere Audio System is a portable audio library which supports
@@ -21,18 +30,22 @@ DirectSound 3, DirectSound 8, and arbitrary DLLs for output in
 Windows, and OSS in Linux.
 
 %description -l pl.UTF-8
-Audiere Audio System jest przenośną biblioteką wspierającą
-odtwarzanie plików MP3, Ogg Vorbis, WAV, IT, XM, S3M oraz MOD. Można
-jej używać za pomocą C, C++, Pythona, Javy oraz innych języków
-wspierających XPCOM (jak na przykład JavaScript w Mozilli).
-Biblioteka wspiera obecnie DirectSound 3, DirectSound 8 jak również
-arbitralne biblioteki DLLs dla Windowsa oraz OSS dla Linuxa.
+Audiere Audio System jest przenośną biblioteką obsługującą odtwarzanie
+plików MP3, Ogg Vorbis, WAV, IT, XM, S3M oraz MOD. Można jej używać z
+poziomu C, C++, Pythona, Javy oraz innych języków obsługujących XPCOM
+(jak na przykład JavaScript w Mozilli). Biblioteka jako wyjście
+obsługuje obecnie DirectSound 3, DirectSound 8 jak również dowolne
+biblioteki DLL dla Windows oraz OSS pod Linuksem.
 
 %package devel
-Summary:       Header files for FOO library
+Summary:       Header files for audiere library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki audiere
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libcdaudio-devel
+Requires:      libogg-devel
+Requires:      libstdc++-devel
+Requires:      libvorbis-devel
 
 %description devel
 Header files for audiere library.
@@ -54,6 +67,7 @@ Statyczna biblioteka audiere.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -71,15 +85,15 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc doc/*.txt
-%attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/libaudiere-%{version}.so
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/audiere-config
 %attr(755,root,root) %{_libdir}/libaudiere.so
 %{_libdir}/libaudiere.la
 %{_includedir}/audiere.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libaudiere.a
This page took 0.071828 seconds and 4 git commands to generate.