]>
Commit | Line | Data |
---|---|---|
252af2d1 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # do not build and package API docs | |
4 | # | |
5 | Summary: libNeMeSi - the RTSP/RTP client library | |
6 | Summary(pl.UTF-8): libNeMeSi - biblioteka klienta RTSP/RTP | |
7 | Name: libnemesi | |
8 | Version: 0.7.0 | |
9 | %define subver 20101208 | |
10 | Release: 0.%{subver}.1 | |
11 | License: LGPL v2.1+ | |
12 | Group: Libraries | |
13 | # git clone git://git.lscube.org/libnemesi | |
14 | Source0: %{name}.tar.xz | |
15 | # Source0-md5: 1ba1385440e44dde3009a285ae1164aa | |
e3eeefb5 | 16 | Patch0: %{name}-format.patch |
252af2d1 JB |
17 | URL: http://lscube.org/projects/libnemesi_rtsp_rtp_client_library |
18 | BuildRequires: autoconf >= 2.61 | |
19 | BuildRequires: automake | |
10c1ca44 JB |
20 | # to generate ChangeLog from git snapshot |
21 | BuildRequires: git-core | |
252af2d1 JB |
22 | BuildRequires: libsctp-devel |
23 | BuildRequires: libtool | |
24 | BuildRequires: netembryo-devel >= 0.1.1 | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: tar >= 1:1.22 | |
27 | BuildRequires: xz | |
28 | Requires: netembryo >= 0.1.1 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Libnemesi lets you add multimedia streaming playback in your | |
33 | applications in a quick and straightforward way. This software, | |
34 | derived from the experience matured with NeMeSi is fully compliant | |
35 | with IETF's standards for real-time streaming of multimedia contents | |
36 | over Internet. libnemesi implements RTSP - Real-Time Streaming | |
37 | Protocol (RFC2326) and RTP/RTCP - Real-Time Transport Protocol/RTP | |
38 | Control Protocol (RFC3550) supporting the RTP Profile for Audio and | |
39 | Video Conferences with Minimal Control (RFC3551). | |
40 | ||
41 | %description -l pl.UTF-8 | |
42 | Libnemesi pozwala szybkie i proste dodawanie do aplikacji obsługi | |
43 | odtwarzania strumieni multimedialnych. Ta biblioteka, wywodząca się z | |
44 | doświadczenia nabytego przy projekcie NeMeSi, jest w pełni zgodna ze | |
45 | standardami IETF do przesyłania strumieni treści multimedialnych przez | |
46 | Internet w czasie rzeczywistym. Zawiera implementacje protokołów RTSP | |
47 | (Real-Time Stereaming Protocol - RFC2326) oraz RTP/RTCP (RealTime | |
48 | Transport Protocol/RTP Control Protocol - RFC3550), obsługujące profil | |
49 | RTP dla konferencji z dźwiękiem i obrazem o minimalnej kontroli (RTP | |
50 | Profile for Audio and Video Conferences with Minimal Control - | |
51 | RFC3551). | |
52 | ||
53 | %package devel | |
54 | Summary: Header files for libNeMeSi library | |
55 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libNeMeSi | |
56 | Group: Development/Libraries | |
57 | Requires: %{name} = %{version}-%{release} | |
58 | Requires: netembryo-devel >= 0.1.1 | |
59 | ||
60 | %description devel | |
61 | Header files for libNeMeSi library. | |
62 | ||
63 | %description devel -l pl.UTF-8 | |
64 | Pliki nagłówkowe biblioteki libNeMeSi. | |
65 | ||
66 | %package static | |
67 | Summary: Static libNeMeSi library | |
68 | Summary(pl.UTF-8): Statyczna biblioteka libNeMeSi | |
69 | Group: Development/Libraries | |
70 | Requires: %{name}-devel = %{version}-%{release} | |
71 | ||
72 | %description static | |
73 | Static libNeMeSi library. | |
74 | ||
75 | %description static -l pl.UTF-8 | |
76 | Statyczna biblioteka libNeMeSi. | |
77 | ||
78 | %prep | |
79 | %setup -q -n %{name} | |
e3eeefb5 | 80 | %patch0 -p1 |
252af2d1 JB |
81 | |
82 | %build | |
83 | %{__libtoolize} | |
84 | %{__aclocal} -I m4 | |
85 | %{__autoconf} | |
86 | %{__autoheader} | |
87 | %{__automake} | |
88 | %configure \ | |
89 | --disable-examples \ | |
90 | --disable-silent-rules | |
91 | ||
92 | %{__make} | |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %{__make} install \ | |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
100 | # obsoleted by pkg-config | |
101 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnemesi.la | |
102 | # packaged as %doc | |
103 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libnemesi | |
104 | ||
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %post -p /sbin/ldconfig | |
109 | %postun -p /sbin/ldconfig | |
110 | ||
111 | %files | |
112 | %defattr(644,root,root,755) | |
113 | %doc AUTHORS ChangeLog README TODO | |
114 | %attr(755,root,root) %{_libdir}/libnemesi.so.*.*.* | |
115 | %attr(755,root,root) %ghost %{_libdir}/libnemesi.so.1 | |
116 | ||
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
119 | %attr(755,root,root) %{_libdir}/libnemesi.so | |
120 | %{_includedir}/nemesi | |
121 | %{_pkgconfigdir}/libnemesi.pc | |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libnemesi.a |