]> git.pld-linux.org Git - packages/portaudio.git/commitdiff
- new (from Grzegorz Grasza grozo (at) pawlacz.com )
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 11 Jan 2005 20:52:48 +0000 (20:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    portaudio.spec -> 1.1

portaudio.spec [new file with mode: 0644]

diff --git a/portaudio.spec b/portaudio.spec
new file mode 100644 (file)
index 0000000..224d5c3
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       PortAudio is a free, cross platform, open-source, audio I/O library.
+Summary(pl):   PortAudio to darmowa, miedzyplatformowa i otwarta biblioteka I/O audio.
+Name:          portaudio
+Version:       18
+Release:       1
+License:       LGPL-like
+Group:         Libraries
+Source0:       http://www.portaudio.com/archives/%{name}_v%{version}_1.zip
+# Source0-md5: ce66a732d263fde2b5ad2262ef37a691
+URL:           http://www.portaudio.com/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PortAudio is a free, cross platform, open-source, audio I/O
+library. It lets you write simple audio programs in 'C' that
+will compile and run on many platforms including Windows,
+Macintosh (8,9,X), Unix (OSS), SGI, and BeOS.
+
+%description -l pl
+PortAudio to darmowa, miedzyplatformowa i otwarta biblioteka I/O
+audio. Pozwala na pisanie prostych programow w "C", ktore beda
+sie kompilowac i uruchamiac na wielu platwormach, w tym Windows,
+Macintosh (8,9,X), Unix (OSS), SGI, i BeOS.
+
+%package devel
+Summary:       Header files for PortAudio library
+Summary(pl):   Pliki nag³ówkowe biblioteki PortAudio
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for PortAudio library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki PortAudio.
+
+%prep
+%setup -q -n %{name}_v%{version}_1
+
+%build
+mv Makefile.linux Makefile
+%{__make} sharedlib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/{%{_libdir},%{_includedir}}
+install pa_unix_oss/libportaudio.so $RPM_BUILD_ROOT/%{_libdir}
+#%{__make} libinstall \
+#    LIBINST=$RPM_BUILD_ROOT/%{_libdir}
+install pa_common/portaudio.h $RPM_BUILD_ROOT/%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt LICENSE.txt
+%attr(755,root,root) %{_libdir}/libportaudio.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc docs/*
+%{_includedir}/portaudio.h
This page took 0.051946 seconds and 4 git commands to generate.