]>
Commit | Line | Data |
---|---|---|
8b404517 | 1 | Summary: RTP/RTCP protocol library |
c933e050 | 2 | Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP |
8b404517 | 3 | Name: ortp |
84543eb3 | 4 | Version: 0.16.1 |
891725e4 | 5 | Release: 3 |
2fa10975 | 6 | License: LGPL v2.1+ |
8b404517 | 7 | Group: Libraries |
d82e72f4 | 8 | Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz |
84543eb3 | 9 | # Source0-md5: bc96cdcb9c139d366a720a94200f92dd |
2fa10975 | 10 | Patch0: %{name}-i486.patch |
ebb4d213 | 11 | Patch1: %{name}-Werror.patch |
7ab64e40 | 12 | Patch2: %{name}-libssl-not-required.patch |
d4a4ef41 | 13 | URL: http://www.linphone.org/index.php/eng/code_review/ortp |
c298ce1a | 14 | BuildRequires: autoconf >= 2.50 |
8b404517 | 15 | BuildRequires: automake |
bcad2e46 | 16 | BuildRequires: doxygen |
8b404517 | 17 | BuildRequires: libtool |
7ab64e40 | 18 | BuildRequires: openssl-devel |
8b404517 AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
c298ce1a | 21 | %define specflags -fno-strict-aliasing |
09c28e20 | 22 | |
8b404517 AM |
23 | %description |
24 | ortp is a library for handling RTP/RTCP packets. (See RFC 1889 and | |
25 | 1890 for more information about the protocol) | |
26 | ||
381531ea JR |
27 | %description -l pl.UTF-8 |
28 | ortp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o | |
29 | protokole znajduje się w RFC 1889 i 1890. | |
8b404517 AM |
30 | |
31 | %package devel | |
32 | Summary: Header files to develop applications using ortp | |
c933e050 | 33 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji używających ortp |
8b404517 AM |
34 | Group: Development/Libraries |
35 | Requires: %{name} = %{version}-%{release} | |
7ab64e40 | 36 | Requires: openssl-devel |
8b404517 AM |
37 | |
38 | %description devel | |
39 | Header files for the ortp library. | |
40 | ||
381531ea JR |
41 | %description devel -l pl.UTF-8 |
42 | Pliki nagłówkowe dla biblioteki ortp. | |
8b404517 AM |
43 | |
44 | %package static | |
45 | Summary: Static ortp library | |
c933e050 | 46 | Summary(pl.UTF-8): Statyczna biblioteka ortp |
8b404517 AM |
47 | Group: Development/Libraries |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static ortp library. | |
52 | ||
381531ea | 53 | %description static -l pl.UTF-8 |
8b404517 AM |
54 | Statyczna biblioteka ortp. |
55 | ||
56 | %prep | |
57 | %setup -q | |
2fa10975 | 58 | %patch0 -p1 |
ebb4d213 | 59 | %patch1 -p1 |
7ab64e40 | 60 | %patch2 -p1 |
8b404517 AM |
61 | |
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} | |
65 | %{__autoconf} | |
66 | %{__automake} | |
67 | %configure \ | |
d4a4ef41 AM |
68 | %if "%{_lib}" == "lib64" |
69 | --enable-mode64bit=yes \ | |
70 | %else | |
71 | --enable-mode64bit=no \ | |
72 | %endif | |
73 | --enable-ipv6 | |
8b404517 AM |
74 | %{__make} |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
bf9e2750 JB |
78 | |
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
8b404517 AM |
81 | |
82 | %clean | |
83 | rm -fr $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
d4a4ef41 | 90 | %doc README NEWS AUTHORS ChangeLog doc/html |
2fa10975 | 91 | %attr(755,root,root) %{_libdir}/libortp.so.*.*.* |
5cf6500c | 92 | %attr(755,root,root) %ghost %{_libdir}/libortp.so.8 |
8b404517 AM |
93 | |
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
c298ce1a JB |
96 | %attr(755,root,root) %{_libdir}/libortp.so |
97 | %{_libdir}/libortp.la | |
8b404517 | 98 | %{_includedir}/ortp |
c298ce1a | 99 | %{_pkgconfigdir}/ortp.pc |
8b404517 AM |
100 | |
101 | %files static | |
102 | %defattr(644,root,root,755) | |
c298ce1a | 103 | %{_libdir}/libortp.a |