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