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