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