1 Summary: The GNU oSIP library
2 Summary(pl.UTF-8): Biblioteka GNU oSIP
8 Source0: http://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
9 # Source0-md5: 7eb305608256ac2a7a27b66ce52627c8
10 Patch0: %{name}-nolibs.patch
11 URL: http://www.gnu.org/software/osip/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: libtool >= 1:1.4.3
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is "the GNU oSIP library" (for Omnibus SIP). It has been designed
21 to provide the Internet Community a simple way to support the Session
22 Initiation Protocol. SIP is described in the RFC2543 which is
23 available at http://www.ietf.org/rfc/rfc2543.txt.
25 %description -l pl.UTF-8
26 To jest biblioteka GNU oSIP (Omnibus SIP). Została zaprojektowana, aby
27 dostarczyć Społeczności Internetowej prostą obsługę protokołu SIP.
28 Protokół SIP (Session Initiation Protocol) jest opisany w RFC2543.
31 Summary: The GNU oSIP library - development files
32 Summary(pl.UTF-8): Pliki dla programistów używających GNU oSIP
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Provides: libosip-devel
36 Obsoletes: libosip-devel
39 Development files for the GNU oSIP library.
41 %description devel -l pl.UTF-8
42 Pliki dla programistów używających biblioteki GNU oSIP.
45 Summary: The GNU oSIP library - static version
46 Summary(pl.UTF-8): Statyczna biblioteka GNU oSIP
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
49 Provides: libosip-static
50 Obsoletes: libosip-static
53 Static version of the GNU oSIP library.
55 %description static -l pl.UTF-8
56 Statyczna wersja biblioteki GNU oSIP.
66 %{__aclocal} -I scripts
72 --%{?debug:en}%{!?debug:dis}able-debug
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
82 mv -f $RPM_BUILD_ROOT%{_mandir}/man{1,3}
83 mv -f $RPM_BUILD_ROOT%{_mandir}/man3/osip.{1,3}
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS BUGS ChangeLog NEWS README TODO
94 %attr(755,root,root) %{_libdir}/libosip2.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libosip2.so.3
96 %attr(755,root,root) %{_libdir}/libosipparser2.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libosipparser2.so.3
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libosip2.so
102 %attr(755,root,root) %{_libdir}/libosipparser2.so
103 %{_libdir}/libosip2.la
104 %{_libdir}/libosipparser2.la
106 %{_includedir}/osipparser2
107 %{_pkgconfigdir}/libosip2.pc
108 %{_mandir}/man3/osip.3*
111 %defattr(644,root,root,755)
112 %{_libdir}/libosip2.a
113 %{_libdir}/libosipparser2.a