From: lisu Date: Sat, 21 Jul 2007 01:00:11 +0000 (+0000) Subject: - initial revision X-Git-Tag: auto/th/audiere-1_9_4-2~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Faudiere.git;a=commitdiff_plain;h=b74e0d538ad1eb7e84b1effb63c01c53f6f5c4d5 - initial revision Changed files: audiere.spec -> 1.1 --- b74e0d538ad1eb7e84b1effb63c01c53f6f5c4d5 diff --git a/audiere.spec b/audiere.spec new file mode 100644 index 0000000..26046a2 --- /dev/null +++ b/audiere.spec @@ -0,0 +1,84 @@ +Summary: Portable audio library +Summary(pl.UTF-8): Przenośna biblioteka audio +Name: audiere +Version: 1.9.4 +Release: 1 +License: GPL v2.1+ +Group: Libraries +Source0: http://dl.sourceforge.net/audiere/%{name}-%{version}.tar.gz +# Source0-md5: b95dfe6f1e69cfd12371747f22772766 +URL: http://audiere.sourceforge.net/ +BuildRequires: flac-devel +BuildRequires: libogg-devel +BuildRequires: libvorbis-devel + +%description +The Audiere Audio System is a portable audio library which supports +playing MP3, Ogg Vorbis, WAV, IT, XM, S3M, and MOD files. You can use +it from C, C++, Python, Java, and any language that supports XPCOM +(JavaScript in Mozilla, for example). It currently supports +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. + +%package devel +Summary: Header files for FOO library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki audiere +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for audiere library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki audiere. + +%package static +Summary: Static audiere library +Summary(pl.UTF-8): Statyczna biblioteka audiere +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static audiere library. + +%description static -l pl.UTF-8 +Statyczna biblioteka audiere. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc/*.txt +%attr(755,root,root) %{_bindir}/* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libaudiere-%{version}.so +%{_libdir}/libaudiere.la +%{_includedir}/audiere.h + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a