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