]> git.pld-linux.org Git - packages/libsndfile.git/blob - libsndfile.spec
- release 2,
[packages/libsndfile.git] / libsndfile.spec
1 Summary:        C library for reading and writing files containing sampled sound
2 Summary:        Biblioteka obs³ugi plików d¼wiêkowych
3 Name:           libsndfile
4 Version:        0.0.22
5 Release:        2
6 License:        GPL
7 Group:          Development/Libraries
8 Group(de):      Entwicklung/Libraries
9 Group(fr):      Development/Librairies
10 Group(pl):      Programowanie/Biblioteki
11 Vendor:         Erik de Castro Lopo <erikd@zip.com.au>
12 Source0:        http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-autoconf.patch
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 URL:            http://www.zip.com.au/~erikd/libsndfile/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Libsndfile is a C library for reading and writing files containing
21 sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
22 through one standard library interface.
23
24 %description -l pl
25 Libsndfile to bibliotek± napisan± w C, s³u¿±ca do czytania i
26 zapisywania plików zawieraj±cych zsamplowany d¼wiêk (np. w formacie MS
27 Windows WAV czy Apple/SGI AIFF) poprzez jednolity, standardowy
28 interfejs.
29
30 %package devel
31 Summary:        libsndfile header files and development documentation
32 Summary(pl):    Pliki nag³ówkowe oraz dokumentacja do libsndfile
33 Group:          Development/Libraries
34 Group(de):      Entwicklung/Libraries
35 Group(fr):      Development/Librairies
36 Group(pl):      Programowanie/Biblioteki
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Header files and development documentation for libsndfile.
41
42 %description devel -l pl
43 Pliki nag³ówkowe oraz dokumentacja do biblioteki libsndfile.
44
45 %package static
46 Summary:        libsndfile static libraries
47 Summary(pl):    Biblioteki statyczne libsndfile
48 Group:          Development/Libraries
49 Group(de):      Entwicklung/Libraries
50 Group(fr):      Development/Librairies
51 Group(pl):      Programowanie/Biblioteki
52 Requires:       %{name}-devel = %{version}
53
54 %description static
55 libsndfile static libraries.
56
57 %description static -l pl
58 Biblioteki statyczne libsndfile.
59
60 %prep
61 %setup -q
62 %patch -p1
63
64 %build
65 aclocal
66 autoconf
67 automake -a -c
68 %configure
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 gzip -9nf NEWS TODO
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc *.gz doc/*.html doc/*.jpg
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.so
92 %attr(755,root,root) %{_libdir}/lib*.la
93 %{_includedir}/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.076924 seconds and 4 git commands to generate.