]> git.pld-linux.org Git - packages/portaudio.git/blob - portaudio.spec
3f14283c72303a17f74ee9887c773fab4b1cf6c1
[packages/portaudio.git] / portaudio.spec
1 Summary:        Free, cross platform, open-source, audio I/O library
2 Summary(pl):    Darmowa, miêdzyplatformowa i otwarta biblioteka I/O audio
3 Name:           portaudio
4 Version:        19
5 Release:        1
6 License:        LGPL-like
7 Group:          Libraries
8 Source0:        http://www.portaudio.com/archives/pa_snapshot_v%{version}.tar.gz
9 # Source0-md5:  ee93573d41f2867bf319addddd4eb6bf
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  sed >= 4.0
13 URL:            http://www.portaudio.com/
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 PortAudio is a free, cross platform, open-source, audio I/O library.
18 It lets you write simple audio programs in 'C' that will compile and
19 run on many platforms including Windows, Macintosh (8,9,X), Unix
20 (OSS), SGI, and BeOS.
21
22 %description -l pl
23 PortAudio to darmowa, miêdzyplatformowa i otwarta biblioteka I/O
24 audio. Pozwala na pisanie prostych programów w "C", które bêd± siê
25 kompilowaæ i uruchamiaæ na wielu platformach, w tym Windows, Macintosh
26 (8,9,X), Unix (OSS), SGI, i BeOS.
27
28 %package devel
29 Summary:        Header files for PortAudio library
30 Summary(pl):    Pliki nag³ówkowe biblioteki PortAudio
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for PortAudio library.
36
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki PortAudio.
39
40 %package static
41 Summary:        Static PortAudio library
42 Summary(pl):    Statyczna biblioteka PortAudio
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static PortAudio library.
48
49 %description static -l pl
50 Statyczna biblioteka PortAudio.
51
52 %prep
53 %setup -q -n %{name}
54
55 %build
56 sed -i -e 's@"-g -O2 -Wall"@"%{rpmcflags}"@' configure*
57 %{__aclocal}
58 %{__autoconf}
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
65 %{__make} install \
66         PREFIX=$RPM_BUILD_ROOT/usr
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README.txt LICENSE.txt
77 %attr(755,root,root) %{_libdir}/lib*.so*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %doc docs/*
82 %{_includedir}/portaudio.h
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/lib*.a
This page took 0.029143 seconds and 2 git commands to generate.