]> git.pld-linux.org Git - SPECS.git/blob - sndlib.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / sndlib.spec
1 Summary:        A library of sound-related functions
2 Summary(pl.UTF-8):      Biblioteka funkcji związanych z dźwiękiem
3 Name:           sndlib
4 # based on sndlib.h.in and actual tarball date
5 Version:        20.2.20061225
6 Release:        1
7 # sndins included in sources is LGPL'd, but not packaged
8 License:        free (see COPYING)
9 Group:          Libraries
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)
15
16 %description
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
22 audio hardware.
23
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.
31
32 %package devel
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}
37
38 %description devel
39 Header files for sndlib library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki sndlib.
43
44 %package static
45 Summary:        Static sndlib library
46 Summary(pl.UTF-8):      Statyczna biblioteka sndlib
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static sndlib library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka sndlib.
55
56 %prep
57 %setup -q -n %{name}
58
59 %build
60 %configure
61 %{__make} \
62         SO_LD="%{__cc} -Wl,-soname=libsndlib.so"
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 # SO_LD because library is relinked (wrong makefile rule)
68 %{__make} install \
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}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc COPYING HISTORY.sndlib README.sndlib *.html
83 %attr(755,root,root) %{_libdir}/libsndlib.so
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/sndlib-config
88 %{_includedir}/sndlib.h
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/libsndlib.a
This page took 0.23617 seconds and 3 git commands to generate.