|
| 1 | +Summary: SIP implementation |
| 2 | +Name: libosip2 |
| 3 | +Version: 4.1.0 |
| 4 | +Release: 1%{?dist} |
| 5 | +License: LGPL |
| 6 | +Group: System Environment/Libraries |
| 7 | +URL: http://www.gnu.org/software/osip/osip.html |
| 8 | + |
| 9 | +Source: http://ftp.gnu.org/gnu/osip/libosip2-%{version}.tar.gz |
| 10 | +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
| 11 | + |
| 12 | +Requires: /sbin/ldconfig |
| 13 | +BuildRequires: gcc-c++ |
| 14 | +BuildRequires: autoconf |
| 15 | +BuildRequires: automake |
| 16 | + |
| 17 | +%description |
| 18 | +oSIP is an implementation of the Session Initiation Protocol as described |
| 19 | +by the rfc3261 (wich deprecates rfc2543). This library aims to provide |
| 20 | +multimedia and telecom software developers an easy and powerful interface |
| 21 | +to initiate and control SIP based sessions in their applications. SIP is |
| 22 | +an open standard replacement from IETF for H323. |
| 23 | + |
| 24 | +%package devel |
| 25 | +Summary: Header files, libraries and development documentation for %{name}. |
| 26 | +Group: Development/Libraries |
| 27 | +Requires: %{name} = %{version}-%{release} |
| 28 | + |
| 29 | +%description devel |
| 30 | +This package contains the header files, static libraries and development |
| 31 | +documentation for %{name}. If you like to develop programs using %{name}, |
| 32 | +you will need to install %{name}-devel. |
| 33 | + |
| 34 | +%prep |
| 35 | +%setup |
| 36 | + |
| 37 | +%build |
| 38 | +%configure |
| 39 | +%{__make} %{?_smp_mflags} |
| 40 | + |
| 41 | +%install |
| 42 | +%{__rm} -rf %{buildroot} |
| 43 | +%makeinstall |
| 44 | + |
| 45 | +%{__mv} -f %{buildroot}%{_mandir}/man1/osip.1 %{buildroot}%{_mandir}/man1/osip2.1 |
| 46 | + |
| 47 | +%clean |
| 48 | +%{__rm} -rf %{buildroot} |
| 49 | + |
| 50 | +%post |
| 51 | +/sbin/ldconfig 2>/dev/null |
| 52 | + |
| 53 | +%postun |
| 54 | +/sbin/ldconfig 2>/dev/null |
| 55 | + |
| 56 | +%files |
| 57 | +%defattr(-, root, root, 0755) |
| 58 | +%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO |
| 59 | +%doc %{_mandir}/man1/osip2.1* |
| 60 | +%{_libdir}/libosip2.so.* |
| 61 | +%{_libdir}/libosipparser2.so.* |
| 62 | + |
| 63 | +%files devel |
| 64 | +%defattr(-, root, root, 0755) |
| 65 | +%{_includedir}/osip2/ |
| 66 | +%{_includedir}/osipparser2/ |
| 67 | +%{_libdir}/libosip2.a |
| 68 | +%{_libdir}/libosipparser2.a |
| 69 | +%exclude %{_libdir}/libosip2.la |
| 70 | +%exclude %{_libdir}/libosipparser2.la |
| 71 | +%{_libdir}/libosip2.so |
| 72 | +%{_libdir}/libosipparser2.so |
| 73 | +%{_libdir}/pkgconfig/libosip2.pc |
| 74 | + |
| 75 | +%changelog |
| 76 | +* Mon Jun 17 2019 Shane Alcock <salcock@waikato.ac.nz> - 4.1.0-1 |
| 77 | +- Updated to 4.1.0 and rebuilt for distribution by WAND / OpenLI |
| 78 | + |
| 79 | +* Thu Feb 17 2011 Yury V. Zaytsev <yury@shurup.com> - 3.5.0-1 |
| 80 | +- Updated to the latest version. |
| 81 | + |
| 82 | +* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.2.0-1.2 |
| 83 | +- Rebuild for Fedora Core 5. |
| 84 | + |
| 85 | +* Wed Mar 23 2005 Dag Wieers <dag@wieers.com> - 2.2.0-1 |
| 86 | +- Initial package. (using DAR) |
| 87 | + |
0 commit comments