]> git.pld-linux.org Git - packages/OpenAL.git/blame - OpenAL.spec
- up to 1.12.854
[packages/OpenAL.git] / OpenAL.spec
CommitLineData
68071dbf 1#
7e80d8dd 2# TODO:
3# - not sure where %{_bindir}/openal-info should go, correct this or remove TODO
4#
a35955a2 5# Conditional build:
6#
7e80d8dd 7%bcond_without alsa # without ALSA support
8%bcond_without portaudio # without PortAudio support
a26f1dac 9#
d451b59a 10Summary: Open Audio Library
8be14136 11Summary(pl.UTF-8): Otwarta Biblioteka Dźwięku
6a3db3d8 12Name: OpenAL
82d67a2c 13Version: 1.12.854
7e80d8dd 14Release: 1
6a3db3d8 15License: LGPL
68071dbf 16Group: Libraries
7e80d8dd 17Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2
82d67a2c 18# Source0-md5: fbf36451fdebd6466edbdc0ee7db9603
7e80d8dd 19#URL: http://kcat.strangesoft.net/openal.html
827050d4 20URL: http://www.openal.org/
e62907a5 21%{?with_alsa:BuildRequires: alsa-lib-devel}
7e80d8dd 22BuildRequires: cmake
23%{?with_portaudio:BuildRequires: portaudio-devel}
6a3db3d8 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
6a3db3d8 26%description
27OpenAL, the Open Audio Library, is a joint effort to create an open,
28vendor-neutral, cross-platform API for interactive, primarily
29spatialized audio. OpenAL's primary audience are application
30developers and desktop users that rely on portable standards like
31OpenGL, for games and other multimedia applications. OpenAL is already
32supported by a number of hardware vendors and developers.
33
a4959810
JR
34%description -l pl.UTF-8
35OpenAL, otwarta biblioteka dźwięku, to połączony wysiłek w celu
36stworzenia otwartego, niezależnego od producentów, międzyplatformowego
37interfejsu projektowania aplikacji w części obsługi dźwięku.
38Biblioteka adresowana jest do twórców aplikacji i użytkowników,
39którzy wybierają przenośne standardy, jak OpenGL, w grach i
40aplikacjach multimedialnych. OpenAL posiada już wsparcie wielu
41dostarczycieli sprzętu i programistów.
d451b59a 42
6a3db3d8 43%package devel
d451b59a 44Summary: Headers for OpenAL
8be14136 45Summary(pl.UTF-8): Pliki nagłówkowe do OpenAL
68071dbf 46Group: Development/Libraries
e62907a5 47Requires: %{name} = %{version}-%{release}
6a3db3d8 48
49%description devel
d451b59a 50Header files for OpenAL-based programs.
6a3db3d8 51
a4959810
JR
52%description devel -l pl.UTF-8
53Pliki nagłówkowe potrzebne przy budowaniu programów opartych na
d451b59a 54OpenAL.
55
6a3db3d8 56%prep
7e80d8dd 57%setup -q -n openal-soft-%{version}
68071dbf 58
6a3db3d8 59%build
7e80d8dd 60%cmake \
61 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
62 -DLIB_INSTALL_DIR=%{_lib} \
63 .
64%{__make}
6a3db3d8 65
66%install
67rm -rf $RPM_BUILD_ROOT
d451b59a 68
f2c02821 69%{__make} install \
68071dbf 70 DESTDIR=$RPM_BUILD_ROOT
d451b59a 71
6a3db3d8 72%clean
73rm -rf $RPM_BUILD_ROOT
74
404a1bc6
JB
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
6a3db3d8 78%files
3f81b215 79%defattr(644,root,root,755)
a26f1dac 80%attr(755,root,root) %{_libdir}/libopenal.so.*.*.*
5b14bc3e 81%attr(755,root,root) %ghost %{_libdir}/libopenal.so.?
6a3db3d8 82
83%files devel
84%defattr(644,root,root,755)
7e80d8dd 85%attr(755,root,root) %{_bindir}/openal-info
a26f1dac 86%attr(755,root,root) %{_libdir}/libopenal.so
68071dbf 87%{_includedir}/AL
a26f1dac 88%{_pkgconfigdir}/openal.pc
This page took 0.224293 seconds and 4 git commands to generate.