]>
Commit | Line | Data |
---|---|---|
50310dd2 | 1 | Summary: Free implementation of OpenAL's ALUT standard |
483f9bad | 2 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu ALUT OpenAL-a |
50310dd2 | 3 | Name: freealut |
0999b5da | 4 | Version: 1.1.0 |
7958a598 | 5 | Release: 3 |
50310dd2 | 6 | License: LGPL |
7 | Group: Libraries | |
0feec3ff JB |
8 | #Source0Download: http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx?RootFolder=/openal/Downloads/ALUT |
9 | Source0: http://connect.creativelabs.com/openal/Downloads/ALUT/%{name}-%{version}.tar.gz | |
0999b5da | 10 | # Source0-md5: e089b28a0267faabdb6c079ee173664a |
50310dd2 | 11 | URL: http://www.openal.org/ |
12 | BuildRequires: OpenAL-devel >= 0.0.8-1 | |
75a1346e | 13 | BuildRequires: autoconf >= 2.56 |
ea4b2046 | 14 | BuildRequires: automake |
15 | BuildRequires: libtool | |
50310dd2 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
5729f70b | 19 | Free implementation of ALUT (OpenAL Utility Toolkit) standard. |
50310dd2 | 20 | |
c1333115 JR |
21 | %description -l pl.UTF-8 |
22 | Wolnodostępna implementacja standartu ALUT (OpenAL Utility Toolkit). | |
50310dd2 | 23 | |
24 | %package devel | |
25 | Summary: Headers for freealut | |
483f9bad | 26 | Summary(pl.UTF-8): Pliki nagłówkowe do freealuta |
50310dd2 | 27 | Group: Development/Libraries |
28 | Requires: %{name} = %{version}-%{release} | |
29 | Requires: OpenAL-devel >= 0.0.8-1 | |
30 | ||
31 | %description devel | |
32 | freealut header files. | |
33 | ||
c1333115 JR |
34 | %description devel -l pl.UTF-8 |
35 | Pliki nagłówkowe freealuta. | |
50310dd2 | 36 | |
37 | %package static | |
38 | Summary: Static alut library | |
483f9bad | 39 | Summary(pl.UTF-8): Statyczna biblioteka alut |
50310dd2 | 40 | Group: Development/Libraries |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static alut library. | |
45 | ||
c1333115 | 46 | %description static -l pl.UTF-8 |
50310dd2 | 47 | Biblioteka alut do konsolidacji statycznej. |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
ea4b2046 | 53 | %{__libtoolize} |
54 | %{__aclocal} -I admin/autotools/m4 | |
55 | %{__autoconf} | |
56 | %{__autoheader} | |
75a1346e | 57 | %{__automake} |
50310dd2 | 58 | %configure |
59 | ||
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
769ff5ae | 64 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
50310dd2 | 65 | |
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
769ff5ae MB |
69 | install examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
70 | ||
50310dd2 | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog NEWS README | |
80 | %attr(755,root,root) %{_libdir}/libalut.so.*.*.* | |
0feec3ff | 81 | %attr(755,root,root) %ghost %{_libdir}/libalut.so.0 |
50310dd2 | 82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
769ff5ae | 85 | %doc doc/* |
0feec3ff | 86 | %attr(755,root,root) %{_bindir}/freealut-config |
50310dd2 | 87 | %attr(755,root,root) %{_libdir}/libalut.so |
5729f70b | 88 | %{_libdir}/libalut.la |
0feec3ff JB |
89 | %{_includedir}/AL/alut.h |
90 | %{_pkgconfigdir}/freealut.pc | |
769ff5ae | 91 | %{_examplesdir}/%{name}-%{version} |
50310dd2 | 92 | |
93 | %files static | |
94 | %defattr(644,root,root,755) | |
5729f70b | 95 | %{_libdir}/libalut.a |