1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
Summary: RTP/RTCP protocol library
Summary(pl): Biblioteka obsługująca protokół RTP/RTCP
Name: librtp
Version: 0.1
Release: 1
License: GPL
Group: Libraries
Source0: http://dl.sourceforge.net/librtp/%{name}-%{version}.tar.gz
# Source0-md5: 697d560425fbb1759d51390481e50491
URL: http://librtp.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glib-devel >= 1.2
BuildRequires: libtool
Requires: glib >= 1.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
librtp is a library for handling RTP/RTCP packets. (See RFC 1889 and
1890 for more information about the protocol)
%description -l pl
librtp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o
protokole znajduje się w RFC 1889 i 1890.
%package devel
Summary: Header files to develop applications using librtp
Summary(pl): Pliki nagłówkowe do tworzenia aplikacji używających librtp
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Header files for the librtp library.
%description devel -l pl
Pliki nagłówkowe dla biblioteki librtp.
%package static
Summary: Static librtp library
Summary(pl): Statyczna biblioteka librtp
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Static librtp library.
%description static -l pl
Statyczna biblioteka librtp.
%prep
%setup -q
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc README TODO NEWS AUTHORS ChangeLog
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/*.la
%{_includedir}/rtp
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
|