]> git.pld-linux.org Git - packages/portaudio.git/blob - portaudio.spec
- new (from Grzegorz Grasza grozo (at) pawlacz.com )
[packages/portaudio.git] / portaudio.spec
1 Summary:        PortAudio is a free, cross platform, open-source, audio I/O library.
2 Summary(pl):    PortAudio to darmowa, miedzyplatformowa i otwarta biblioteka I/O audio.
3 Name:           portaudio
4 Version:        18
5 Release:        1
6 License:        LGPL-like
7 Group:          Libraries
8 Source0:        http://www.portaudio.com/archives/%{name}_v%{version}_1.zip
9 # Source0-md5:  ce66a732d263fde2b5ad2262ef37a691
10 URL:            http://www.portaudio.com/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 PortAudio is a free, cross platform, open-source, audio I/O
15 library. It lets you write simple audio programs in 'C' that
16 will compile and run on many platforms including Windows,
17 Macintosh (8,9,X), Unix (OSS), SGI, and BeOS.
18
19 %description -l pl
20 PortAudio to darmowa, miedzyplatformowa i otwarta biblioteka I/O
21 audio. Pozwala na pisanie prostych programow w "C", ktore beda
22 sie kompilowac i uruchamiac na wielu platwormach, w tym Windows,
23 Macintosh (8,9,X), Unix (OSS), SGI, i BeOS.
24
25 %package devel
26 Summary:        Header files for PortAudio library
27 Summary(pl):    Pliki nag³ówkowe biblioteki PortAudio
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Header files for PortAudio library.
33
34 %description devel -l pl
35 Pliki nag³ówkowe biblioteki PortAudio.
36
37 %prep
38 %setup -q -n %{name}_v%{version}_1
39
40 %build
41 mv Makefile.linux Makefile
42 %{__make} sharedlib
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/{%{_libdir},%{_includedir}}
47 install pa_unix_oss/libportaudio.so $RPM_BUILD_ROOT/%{_libdir}
48 #%{__make} libinstall \
49 #    LIBINST=$RPM_BUILD_ROOT/%{_libdir}
50 install pa_common/portaudio.h $RPM_BUILD_ROOT/%{_includedir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post   -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README.txt LICENSE.txt
61 %attr(755,root,root) %{_libdir}/libportaudio.so
62
63 %files devel
64 %defattr(644,root,root,755)
65 %doc docs/*
66 %{_includedir}/portaudio.h
This page took 0.025143 seconds and 3 git commands to generate.