]> git.pld-linux.org Git - packages/OpenAL++.git/blame - OpenAL++.spec
- tabs in preamble
[packages/OpenAL++.git] / OpenAL++.spec
CommitLineData
ff1ff973 1%define _snap 050303
2Summary: An object oriented wrapper for OpenAL
22a3db5e 3Summary(pl.UTF-8): Obiektowy wrapper dla OpenAL
ff1ff973 4Name: OpenAL++
5Version: 0.2
6Release: 0.20%{_snap}.1
7License: LGPL
8Group: Libraries
9Source0: http://dl.sourceforge.net/alpp/openalpp-%{_snap}.tgz
10# Source0-md5: f93325e71675e7e4744cbdb4ca3b9603
aea5ad53 11Patch0: openalpp-link.patch
ff1ff973 12URL: http://alpp.sourceforge.net/
13BuildRequires: OpenAL-devel
aea5ad53 14BuildRequires: OpenThreads-devel
ff1ff973 15BuildRequires: autoconf
16BuildRequires: automake
aea5ad53 17BuildRequires: libogg-devel
ff1ff973 18BuildRequires: libstdc++-devel
aea5ad53
JB
19BuildRequires: libtool >= 2:1.5
20# disabled - unfinished (apps would require -DWITH_PORTAUDIO)
21#BuildRequires: portaudio-devel
ff1ff973 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25OpenAL++ is an object oriented wrapper for OpenAL. It makes using
26spatial sound extremely easy. It has built in functionality for
27streaming sound over sockets or from an input device.
28
a74389ea
JR
29%description -l pl.UTF-8
30OpenAL++ to zorientowany obiektowo wrapper na OpenAL. Znacznie ułatwia
31używanie dźwięku przestrzennego. Posiada wbudowaną funkcjonalność
32strumieniowania dźwięku po gniazdach lub z urządzenia wejściowego.
ff1ff973 33
34%package devel
35Summary: Header files for OpenAL++ library
22a3db5e 36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenAL++
ff1ff973 37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Requires: OpenAL-devel
aea5ad53
JB
40Requires: OpenThreads-devel
41Requires: libogg-devel
a9eec81d 42Requires: libstdc++-devel
aea5ad53 43#Requires: portaudio-devel
ff1ff973 44
45%description devel
46Header files for OpenAL++ library.
47
a74389ea
JR
48%description devel -l pl.UTF-8
49Pliki nagłówkowe biblioteki OpenAL++.
ff1ff973 50
aea5ad53
JB
51%package static
52Summary: Static OpenAL++ library
22a3db5e 53Summary(pl.UTF-8): Statyczna biblioteka OpenAL++
aea5ad53
JB
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static OpenAL++ library.
59
a74389ea 60%description static -l pl.UTF-8
aea5ad53
JB
61Statyczna biblioteka OpenAL++.
62
ff1ff973 63%prep
64%setup -q -n openalpp
aea5ad53 65%patch0 -p1
ff1ff973 66
67%build
68%{__libtoolize}
69%{__aclocal}
70%{__autoconf}
71%{__automake}
aea5ad53
JB
72%configure \
73 --enable-static
ff1ff973 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
aea5ad53
JB
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
ff1ff973 88%files
89%defattr(644,root,root,755)
90%doc README
91%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
92
93%files devel
94%defattr(644,root,root,755)
aea5ad53
JB
95%attr(755,root,root) %{_libdir}/lib*.so
96%{_libdir}/lib*.la
ff1ff973 97%{_includedir}/openalpp
98%{_pkgconfigdir}/*.pc
ff1ff973 99
aea5ad53
JB
100%files static
101%defattr(644,root,root,755)
102%{_libdir}/lib*.a
This page took 0.081477 seconds and 4 git commands to generate.