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