]> git.pld-linux.org Git - packages/ortp.git/blame - ortp.spec
- release 3
[packages/ortp.git] / ortp.spec
CommitLineData
8b404517 1Summary: RTP/RTCP protocol library
c933e050 2Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
8b404517 3Name: ortp
84543eb3 4Version: 0.16.1
891725e4 5Release: 3
2fa10975 6License: LGPL v2.1+
8b404517 7Group: Libraries
d82e72f4 8Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
84543eb3 9# Source0-md5: bc96cdcb9c139d366a720a94200f92dd
2fa10975 10Patch0: %{name}-i486.patch
ebb4d213 11Patch1: %{name}-Werror.patch
7ab64e40 12Patch2: %{name}-libssl-not-required.patch
d4a4ef41 13URL: http://www.linphone.org/index.php/eng/code_review/ortp
c298ce1a 14BuildRequires: autoconf >= 2.50
8b404517 15BuildRequires: automake
bcad2e46 16BuildRequires: doxygen
8b404517 17BuildRequires: libtool
7ab64e40 18BuildRequires: openssl-devel
8b404517
AM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
c298ce1a 21%define specflags -fno-strict-aliasing
09c28e20 22
8b404517
AM
23%description
24ortp is a library for handling RTP/RTCP packets. (See RFC 1889 and
251890 for more information about the protocol)
26
381531ea
JR
27%description -l pl.UTF-8
28ortp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o
29protokole znajduje się w RFC 1889 i 1890.
8b404517
AM
30
31%package devel
32Summary: Header files to develop applications using ortp
c933e050 33Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji używających ortp
8b404517
AM
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
7ab64e40 36Requires: openssl-devel
8b404517
AM
37
38%description devel
39Header files for the ortp library.
40
381531ea
JR
41%description devel -l pl.UTF-8
42Pliki nagłówkowe dla biblioteki ortp.
8b404517
AM
43
44%package static
45Summary: Static ortp library
c933e050 46Summary(pl.UTF-8): Statyczna biblioteka ortp
8b404517
AM
47Group: Development/Libraries
48Requires: %{name}-devel = %{version}-%{release}
49
50%description static
51Static ortp library.
52
381531ea 53%description static -l pl.UTF-8
8b404517
AM
54Statyczna 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
77rm -rf $RPM_BUILD_ROOT
bf9e2750
JB
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
8b404517
AM
81
82%clean
83rm -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
This page took 0.124569 seconds and 4 git commands to generate.