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