]>
Commit | Line | Data |
---|---|---|
1bd1af7f | 1 | Summary: Open DAAP library - connecting to audio streams using DAAP |
ad247e6b | 2 | Summary(pl.UTF-8): Biblioteka Open DAAP - łączenie ze strumieniami audio przy użyciu DAAP |
a5a1eea2 | 3 | Name: libopendaap |
4e4139a6 | 4 | Version: 0.4.0 |
1bd1af7f JB |
5 | Release: 1 |
6 | License: BSD-like/Apple Public Source License v2.0 (see COPYING) | |
a5a1eea2 | 7 | Group: Libraries |
a5a1eea2 | 8 | Source0: http://crazney.net/programs/itunes/files/%{name}-%{version}.tar.bz2 |
4e4139a6 | 9 | # Source0-md5: 4edf92ac18c6ab8c05be7a4eb64a8a8d |
1bd1af7f JB |
10 | URL: http://crazney.net/programs/itunes/libopendaap.html |
11 | BuildRequires: autoconf >= 2.57 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
a5a1eea2 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | A library for connecting to iTunes shares and streaming audio files. | |
18 | ||
d9a7fa43 JR |
19 | %description -l pl.UTF-8 |
20 | Biblioteka do łączenia z udziałami iTunes oraz obsługi strumieni z | |
21 | plików dźwiękowych. | |
1bd1af7f | 22 | |
a5a1eea2 | 23 | %package devel |
1bd1af7f | 24 | Summary: Header files for libopendaap library |
ad247e6b | 25 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libopendaap |
1bd1af7f JB |
26 | Group: Development/Libraries |
27 | Requires: %{name} = %{version}-%{release} | |
a5a1eea2 | 28 | |
29 | %description devel | |
1bd1af7f JB |
30 | Header files for libopendaap library. |
31 | ||
d9a7fa43 JR |
32 | %description devel -l pl.UTF-8 |
33 | Pliki nagłówkowe biblioteki libopendaap. | |
a5a1eea2 | 34 | |
35 | %package static | |
1bd1af7f | 36 | Summary: Static libopendaap library |
ad247e6b | 37 | Summary(pl.UTF-8): Statyczna biblioteka libopendaap |
1bd1af7f JB |
38 | Group: Development/Libraries |
39 | Requires: %{name}-devel = %{version}-%{release} | |
a5a1eea2 | 40 | |
41 | %description static | |
1bd1af7f | 42 | Static libopendaap library. |
a5a1eea2 | 43 | |
d9a7fa43 | 44 | %description static -l pl.UTF-8 |
1bd1af7f | 45 | Statyczna biblioteka libopendaap. |
a5a1eea2 | 46 | |
47 | %prep | |
a5a1eea2 | 48 | %setup -q |
49 | ||
50 | %build | |
1bd1af7f JB |
51 | # rebuild - *.m4 and ltmain.sh are desynced |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
a5a1eea2 | 57 | %configure |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
a5a1eea2 | 62 | |
1bd1af7f JB |
63 | %{__make} install \ |
64 | DESTDIR=$RPM_BUILD_ROOT | |
a5a1eea2 | 65 | |
1bd1af7f JB |
66 | %clean |
67 | rm -rf $RPM_BUILD_ROOT | |
a5a1eea2 | 68 | |
1bd1af7f JB |
69 | %post -p /sbin/ldconfig |
70 | %postun -p /sbin/ldconfig | |
a5a1eea2 | 71 | |
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS COPYING ChangeLog | |
1bd1af7f | 75 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
a5a1eea2 | 76 | |
77 | %files devel | |
1bd1af7f JB |
78 | %defattr(644,root,root,755) |
79 | %attr(755,root,root) %{_libdir}/lib*.so | |
80 | %{_libdir}/lib*.la | |
0f7cd382 | 81 | %{_mandir}/man3/lib*.3* |
1bd1af7f JB |
82 | %{_includedir}/daap |
83 | %{_pkgconfigdir}/opendaap.pc | |
a5a1eea2 | 84 | |
85 | %files static | |
1bd1af7f JB |
86 | %defattr(644,root,root,755) |
87 | %{_libdir}/lib*.a |