]>
Commit | Line | Data |
---|---|---|
bf9ff77c | 1 | Summary: libshout - icecast source streaming library |
13dfa716 | 2 | Name: libshout |
3 | Version: 1.0.5 | |
4 | Release: 1 | |
5 | License: LGPL | |
bf9ff77c | 6 | Vendor: Icecast <team@icecast.org> |
13dfa716 | 7 | Group: Libraries |
8 | Group(de): Libraries | |
9 | Group(es): Bibliotecas | |
10 | Group(fr): Librairies | |
11 | Group(pl): Biblioteki | |
12 | Source0: ftp://ftp.icecast.org/pub/libshout/%{name}-%{version}.tar.gz | |
13 | Patch0: %{name}-ac_am_fixes.patch | |
14 | URL: http://www.icecast.org/ | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
bf9ff77c | 19 | |
20 | %description | |
21 | Libshout is a library for communicating with and sending data to an | |
13dfa716 | 22 | icecast server. It handles the socket connection, the timing of the |
bf9ff77c | 23 | data, and prevents most bad data from getting to the icecast server. |
24 | ||
25 | %package devel | |
13dfa716 | 26 | Summary: Icecast source streaming library development package |
27 | Group: Development/Libraries | |
28 | Group(de): Entwicklung/Libraries | |
29 | Group(fr): Development/Librairies | |
30 | Group(pl): Programowanie/Biblioteki | |
31 | Requires: %{name} = %{version} | |
bf9ff77c | 32 | |
33 | %description devel | |
13dfa716 | 34 | The libshout-devel package contains the header files needed for |
35 | developing applications that send data to an icecast server. Install | |
36 | libshout-devel if you want to develop applications using libshout. | |
37 | ||
38 | %package static | |
39 | Summary: Icecast source streaming static library | |
40 | Group: Development/Libraries | |
41 | Group(de): Entwicklung/Libraries | |
42 | Group(fr): Development/Librairies | |
43 | Group(pl): Programowanie/Biblioteki | |
44 | Requires: %{name}-devel = %{version} | |
45 | ||
46 | %description static | |
47 | Icecast source streaming static library. | |
bf9ff77c | 48 | |
49 | %prep | |
13dfa716 | 50 | %setup -q |
51 | %patch -p1 | |
bf9ff77c | 52 | |
53 | %build | |
13dfa716 | 54 | libtoolize --copy --force |
55 | aclocal | |
56 | autoconf | |
57 | automake -a -c | |
58 | %configure | |
59 | %{__make} | |
bf9ff77c | 60 | |
61 | %install | |
13dfa716 | 62 | rm -rf $RPM_BUILD_ROOT |
bf9ff77c | 63 | |
13dfa716 | 64 | %{__make} install \ |
65 | DESTDIR=$RPM_BUILD_ROOT | |
bf9ff77c | 66 | |
13dfa716 | 67 | gzip -9nf AUTHORS CHANGES README |
bf9ff77c | 68 | |
13dfa716 | 69 | %files |
70 | %defattr(644,root,root,755) | |
71 | %doc *.gz | |
72 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
bf9ff77c | 73 | |
13dfa716 | 74 | %post -p /sbin/ldconfig |
75 | %postun -p /sbin/ldconfig | |
bf9ff77c | 76 | |
13dfa716 | 77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
bf9ff77c | 79 | |
13dfa716 | 80 | %files devel |
81 | %defattr(644,root,root,755) | |
82 | %doc doc/*.{html,css} | |
83 | %attr(755,root,root) %{_libdir}/lib*.so | |
84 | %attr(755,root,root) %{_libdir}/lib*.la | |
85 | %{_includedir}/shout | |
86 | ||
87 | %files static | |
88 | %defattr(644,root,root,755) | |
89 | %{_libdir}/lib*.a |