1 Summary: A library of sound-related functions
2 Summary(pl.UTF-8): Biblioteka funkcji związanych z dźwiękiem
4 # based on sndlib.h.in and actual tarball date
7 # sndins included in sources is LGPL'd, but not packaged
8 License: free (see COPYING)
10 Source0: ftp://ccrma-ftp.stanford.edu/pub/Lisp/%{name}.tar.gz
11 # Source0-md5: 440f882dfcbcfe6fca25ece552b1c048
12 URL: http://ccrma.stanford.edu/software/snd/sndlib/
13 BuildRequires: guile-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The sndlib library is a collection of sound file and audio hardware
18 handlers written in C and running currently on SGI (either audio
19 library), Sun, OSS or ALSA (Linux and others), MacOS X, HPUX, and
20 Windows systems. It provides relatively straightforward access to many
21 sound file headers and data types, and most of the features of the
24 %description -l pl.UTF-8
25 Biblioteka sndlib to zbiór funkcji obsługujących pliki dźwiękowe i
26 sprzęt napisanych w C i działających aktualnie na systemach SGI (z
27 dowolną biblioteką dźwiękową), Sun, OSS, ALSA (na Linuksie i innych
28 systemach), MacOS X, HPUX i Windows. Udostępnia w miarę prosty dostęp
29 do wielu funkcji i typów danych związanych z plikami dźwiękowymi oraz
30 większości możliwości sprzętu dźwiękowego.
33 Summary: Header files for sndlib library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sndlib
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header files for sndlib library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki sndlib.
45 Summary: Static sndlib library
46 Summary(pl.UTF-8): Statyczna biblioteka sndlib
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static sndlib library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka sndlib.
62 SO_LD="%{__cc} -Wl,-soname=libsndlib.so"
65 rm -rf $RPM_BUILD_ROOT
67 # SO_LD because library is relinked (wrong makefile rule)
69 SO_LD="%{__cc} -Wl,-soname=libsndlib.so" \
70 bindir=$RPM_BUILD_ROOT%{_bindir} \
71 libdir=$RPM_BUILD_ROOT%{_libdir} \
72 includedir=$RPM_BUILD_ROOT%{_includedir}
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc COPYING HISTORY.sndlib README.sndlib *.html
83 %attr(755,root,root) %{_libdir}/libsndlib.so
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/sndlib-config
88 %{_includedir}/sndlib.h
91 %defattr(644,root,root,755)
92 %{_libdir}/libsndlib.a