]> git.pld-linux.org Git - packages/ortp.git/blob - ortp.spec
- release 3
[packages/ortp.git] / ortp.spec
1 Summary:        RTP/RTCP protocol library
2 Summary(pl.UTF-8):      Biblioteka obsługująca protokół RTP/RTCP
3 Name:           ortp
4 Version:        0.16.1
5 Release:        3
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  bc96cdcb9c139d366a720a94200f92dd
10 Patch0:         %{name}-i486.patch
11 Patch1:         %{name}-Werror.patch
12 Patch2:         %{name}-libssl-not-required.patch
13 URL:            http://www.linphone.org/index.php/eng/code_review/ortp
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  doxygen
17 BuildRequires:  libtool
18 BuildRequires:  openssl-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         specflags       -fno-strict-aliasing
22
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
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.
30
31 %package devel
32 Summary:        Header files to develop applications using ortp
33 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia aplikacji używających ortp
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       openssl-devel
37
38 %description devel
39 Header files for the ortp library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe dla biblioteki ortp.
43
44 %package static
45 Summary:        Static ortp library
46 Summary(pl.UTF-8):      Statyczna biblioteka ortp
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static ortp library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka ortp.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure \
68 %if "%{_lib}" == "lib64"
69         --enable-mode64bit=yes \
70 %else
71         --enable-mode64bit=no \
72 %endif
73         --enable-ipv6
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
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)
90 %doc README NEWS AUTHORS ChangeLog doc/html
91 %attr(755,root,root) %{_libdir}/libortp.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libortp.so.8
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libortp.so
97 %{_libdir}/libortp.la
98 %{_includedir}/ortp
99 %{_pkgconfigdir}/ortp.pc
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libortp.a
This page took 0.110236 seconds and 3 git commands to generate.