]> git.pld-linux.org Git - packages/freealut.git/blob - freealut.spec
- ghost symlink
[packages/freealut.git] / freealut.spec
1 Summary:        Free implementation of OpenAL's ALUT standard
2 Summary(pl.UTF-8):      Wolnodostępna implementacja standardu ALUT OpenAL-a
3 Name:           freealut
4 Version:        1.1.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.openal.org/openal_webstf/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  e089b28a0267faabdb6c079ee173664a
10 URL:            http://www.openal.org/
11 BuildRequires:  OpenAL-devel >= 0.0.8-1
12 BuildRequires:  autoconf >= 2.56
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Free implementation of ALUT (OpenAL Utility Toolkit) standard.
19
20 %description -l pl.UTF-8
21 Wolnodostępna implementacja standartu ALUT (OpenAL Utility Toolkit).
22
23 %package devel
24 Summary:        Headers for freealut
25 Summary(pl.UTF-8):      Pliki nagłówkowe do freealuta
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
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe freealuta.
35
36 %package static
37 Summary:        Static alut library
38 Summary(pl.UTF-8):      Statyczna biblioteka alut
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static alut library.
44
45 %description static -l pl.UTF-8
46 Biblioteka alut do konsolidacji statycznej.
47
48 %prep
49 %setup -q
50
51 %build
52 %{__libtoolize}
53 %{__aclocal} -I admin/autotools/m4
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 install examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
69
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.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libalut.so.?
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc doc/*
85 %attr(755,root,root) %{_bindir}/*-config
86 %attr(755,root,root) %{_libdir}/libalut.so
87 %{_libdir}/libalut.la
88 %{_examplesdir}/%{name}-%{version}
89 %{_includedir}/AL/*
90 %{_pkgconfigdir}/*
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libalut.a
This page took 0.068857 seconds and 4 git commands to generate.