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