]> git.pld-linux.org Git - packages/libsndfile.git/blob - libsndfile.spec
- updated to 1.0.3, removed obsolee amfix patch
[packages/libsndfile.git] / libsndfile.spec
1 Summary:        C library for reading and writing files containing sampled sound
2 Summary(pl):    Biblioteka obs³ugi plików d¼wiêkowych
3 Name:           libsndfile
4 Version:        1.0.3
5 Release:        1
6 License:        GPL
7 Vendor:         Erik de Castro Lopo <erikd@zip.com.au>
8 Group:          Development/Libraries
9 Source0:        http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
10 URL:            http://www.zip.com.au/~erikd/libsndfile/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Obsoletes:      libsndfile1
16
17 %description
18 Libsndfile is a C library for reading and writing files containing
19 sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
20 through one standard library interface.
21
22 %description -l pl
23 Libsndfile to bibliotek± napisan± w C, s³u¿±ca do czytania i
24 zapisywania plików zawieraj±cych zsamplowany d¼wiêk (np. w formacie MS
25 Windows WAV czy Apple/SGI AIFF) poprzez jednolity, standardowy
26 interfejs.
27
28 %package devel
29 Summary:        libsndfile header files and development documentation
30 Summary(pl):    Pliki nag³ówkowe oraz dokumentacja do libsndfile
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33 Obsoletes:      libsndfile1-devel
34
35 %description devel
36 Header files and development documentation for libsndfile.
37
38 %description devel -l pl
39 Pliki nag³ówkowe oraz dokumentacja do biblioteki libsndfile.
40
41 %package static
42 Summary:        libsndfile static libraries
43 Summary(pl):    Biblioteki statyczne libsndfile
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 libsndfile static libraries.
49
50 %description static -l pl
51 Biblioteki statyczne libsndfile.
52
53 %package octave
54 Summary:        libsndfile modules for octave
55 Summary(pl):    modu³y libsndfile dla octave
56 Group:          Applications/Math
57 Requires:       %{name}
58 Requires:       octave
59
60 %description octave
61 A couple of script files for loading, saving, and playing sound files
62 from within Octave.
63
64 %description octave -l pl
65 Kilka skryptów Octave do ³adowania, zapisywania i odtwarzania plików
66 d¼wiêkowych.
67
68 %prep
69 %setup -q
70
71 %build
72 rm -f missing
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__automake}
77 %configure
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc NEWS TODO
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95 %attr(744,root,root) %{_bindir}/*
96 %{_mandir}/man1/*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc doc/*.html doc/*.jpg
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/*
104 %{_pkgconfigdir}/*.pc
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
109
110 %files octave
111 %defattr(644,root,root,755)
112 %{_datadir}/octave/site/m/*
This page took 0.151583 seconds and 3 git commands to generate.