]>
Commit | Line | Data |
---|---|---|
bbb0ffde AM |
1 | Summary: Audio/Video real-time streaming |
2 | Name: mediastreamer | |
3 | Version: 2.3.0 | |
4 | Release: 1 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Source0: http://mirror.lihnidos.org/GNU/savannah/linphone/mediastreamer/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 867d539cf11e942dcbfd08d4b3182397 | |
9 | URL: http://www.tcpdump.org/ | |
10 | BuildRequires: SDL-devel | |
11 | BuildRequires: alsa-lib-devel | |
12 | BuildRequires: autoconf >= 2.53 | |
13 | BuildRequires: automake | |
14 | BuildRequires: doxygen | |
15 | BuildRequires: ffmpeg-devel | |
16 | BuildRequires: jack-audio-connection-kit-devel | |
17 | BuildRequires: libgsm-devel | |
18 | BuildRequires: libsamplerate-devel | |
19 | BuildRequires: libtheora-devel | |
20 | BuildRequires: libv4l-devel | |
21 | BuildRequires: ortp-devel >= 0.16.1 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: speex-devel | |
24 | BuildRequires: xorg-lib-libX11-devel | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Mediastreamer2 is a GPL licensed library to make audio and video | |
29 | real-time streaming and processing. Written in pure C, it is based | |
30 | upon the oRTP library. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files and develpment documentation for mediastreamer | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
36 | ||
37 | %description devel | |
38 | Header files and develpment documentation for mediastreamer. | |
39 | ||
40 | %package static | |
41 | Summary: Static mediastreamer library | |
42 | Group: Development/Libraries | |
43 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static mediastreamer library. | |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post -p /sbin/ldconfig | |
65 | %postun -p /sbin/ldconfig | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog NEWS README | |
70 | %attr(755,root,root) %{_libdir}/libmediastreamer.so.*.* | |
71 | %attr(755,root,root) %ghost %{_libdir}/libmediastreamer.so.0 | |
72 | ||
73 | %files devel | |
74 | %defattr(644,root,root,755) | |
75 | %doc help/doc/html | |
76 | %attr(755,root,root) %{_libdir}/libmediastreamer.so | |
77 | %{_libdir}/libmediastreamer.la | |
78 | %{_includedir}/mediastreamer2 | |
79 | %{_pkgconfigdir}/mediastreamer.pc | |
80 | ||
81 | %files static | |
82 | %defattr(644,root,root,755) | |
83 | %{_libdir}/libmediastreamer.a |