]>
Commit | Line | Data |
---|---|---|
caa3f693 | 1 | Summary: The eXtended osip library |
2 | Summary(pl.UTF-8): Rozszerzona biblioteka osip | |
3 | Name: libeXosip2 | |
f4649279 JK |
4 | Version: 4.0.0 |
5 | Release: 1 | |
caa3f693 | 6 | License: GPL v2+ |
7 | Group: Libraries | |
8 | Source0: http://download.savannah.nongnu.org/releases/exosip/%{name}-%{version}.tar.gz | |
f4649279 | 9 | # Source0-md5: aa385b85f6a17876763a0a860fe2afbf |
e5037a31 | 10 | Patch0: %{name}-link.patch |
caa3f693 | 11 | URL: http://savannah.nongnu.org/projects/exosip |
e5037a31 | 12 | BuildRequires: autoconf >= 2.50 |
34a1c183 | 13 | BuildRequires: automake |
e5037a31 | 14 | BuildRequires: c-ares-devel |
f4649279 | 15 | BuildRequires: libosip2-devel >= 4.0.0 |
34a1c183 | 16 | BuildRequires: libtool |
6848314b | 17 | BuildRequires: openssl-devel |
34a1c183 | 18 | BuildRequires: pkgconfig |
e5037a31 | 19 | Requires: libosip2 >= 4.0.0 |
caa3f693 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | eXosip is a library that hides the complexity of using the SIP | |
24 | protocol for multimedia session establishement. This protocol is | |
25 | mainly to be used by VoIP telephony applications (endpoints or | |
26 | conference server) but might be also usefull for any application that | |
27 | wish to establish sessions like multiplayer games. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | eXosip jest biblioteką ukrywającą skomplikowane korzystanie z | |
e5037a31 JB |
31 | protokołu SIP dla sesji multimedialnych. Protokół jest przeznaczony do |
32 | wykorzystania przez aplikacje telefoniczne korzystające z VoIP | |
33 | (telefony lub serwery konferencji), ale może być również używany | |
34 | przez dowolne aplikacje chcące używać sesji multimedialnych, jak np. | |
11088eb9 | 35 | gry dla wielu graczy. |
caa3f693 | 36 | |
37 | %package devel | |
38 | Summary: Header files for libeXosip2 library | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libeXosip2 | |
40 | Group: Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
e5037a31 JB |
42 | Requires: c-ares-devel |
43 | Requires: libosip2-devel >= 4.0.0 | |
44 | Requires: openssl-devel | |
caa3f693 | 45 | |
46 | %description devel | |
47 | Header files for libeXosip2 library. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Pliki nagłówkowe biblioteki libeXosip2. | |
51 | ||
52 | %package static | |
53 | Summary: Static libeXosip2 library | |
54 | Summary(pl.UTF-8): Statyczna biblioteka libeXosip2 | |
55 | Group: Development/Libraries | |
56 | Requires: %{name}-devel = %{version}-%{release} | |
57 | ||
58 | %description static | |
59 | Static libeXosip2 library. | |
60 | ||
61 | %description static -l pl.UTF-8 | |
62 | Statyczna biblioteka libeXosip2. | |
63 | ||
64 | %prep | |
65 | %setup -q | |
e5037a31 | 66 | %patch0 -p1 |
caa3f693 | 67 | |
68 | %build | |
34a1c183 | 69 | %{__libtoolize} |
70 | %{__aclocal} -I scripts | |
71 | %{__autoconf} | |
e5037a31 | 72 | %{__autoheader} |
34a1c183 | 73 | %{__automake} |
6848314b | 74 | %configure \ |
75 | --enable-openssl | |
f4649279 | 76 | %{__make} -j1 |
caa3f693 | 77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS ChangeLog NEWS README | |
e5037a31 JB |
92 | %attr(755,root,root) %{_bindir}/sip_reg |
93 | %attr(755,root,root) %{_libdir}/libeXosip2.so.*.*.* | |
94 | %attr(755,root,root) %ghost %{_libdir}/libeXosip2.so.10 | |
caa3f693 | 95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
e5037a31 JB |
98 | %attr(755,root,root) %{_libdir}/libeXosip2.so |
99 | %{_libdir}/libeXosip2.la | |
100 | %{_includedir}/eXosip2 | |
caa3f693 | 101 | |
102 | %files static | |
103 | %defattr(644,root,root,755) | |
e5037a31 | 104 | %{_libdir}/libeXosip2.a |