]> git.pld-linux.org Git - packages/ortp.git/blob - ortp.spec
- up to 0.13.1
[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.13.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  293f16da6dd434e68652f0f725b7f97c
10 URL:            http://www.linphone.org/index.php/eng/code_review/ortp
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         specflags       -fno-strict-aliasing
17
18 %description
19 ortp is a library for handling RTP/RTCP packets. (See RFC 1889 and
20 1890 for more information about the protocol)
21
22 %description -l pl.UTF-8
23 ortp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o
24 protokole znajduje się w RFC 1889 i 1890.
25
26 %package devel
27 Summary:        Header files to develop applications using ortp
28 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia aplikacji używających ortp
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for the ortp library.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe dla biblioteki ortp.
37
38 %package static
39 Summary:        Static ortp library
40 Summary(pl.UTF-8):      Statyczna biblioteka ortp
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static ortp library.
46
47 %description static -l pl.UTF-8
48 Statyczna biblioteka ortp.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure \
59 %if "%{_lib}" == "lib64"
60         --enable-mode64bit=yes \
61 %else
62         --enable-mode64bit=no \
63 %endif
64         --enable-ipv6
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 rm -r $RPM_BUILD_ROOT%{_datadir}/doc/ortp/html
74
75 %clean
76 rm -fr $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc README NEWS AUTHORS ChangeLog doc/html
84 %attr(755,root,root) %{_libdir}/libortp.so.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libortp.so
89 %{_libdir}/libortp.la
90 %{_includedir}/ortp
91 %{_pkgconfigdir}/ortp.pc
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libortp.a
This page took 0.032414 seconds and 4 git commands to generate.