%define name libosip %define version 0.9.0 %define release 1mdk %define major 0 %define libname %name%major Name: %name Summary: oSIP is an implementation of SIP - rfc2543. Version: %version Release: %release License: LGPL Group: System/Libraries Source0: %{name}-%{version}.tar.bz2 URL: http://osip.atosc.org/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: docbook-utils docbook-dtd41-sgml %description This is the oSIP library (for Open SIP). It has been designed to provide the Internet Community a simple way to support the Session Initiation Protocol. SIP is described in the RFC2543 which is available at http://www.ietf.org/rfc/rfc2543.txt. %package -n %libname Summary: Header file required to build programs using liboSIP. Group: System/Libraries %description -n %libname This is the oSIP library (for Open SIP). It has been designed to provide the Internet Community a simple way to support the Session Initiation Protocol. SIP is described in the RFC2543 which is available at http://www.ietf.org/rfc/rfc2543.txt. %package -n %libname-devel Summary: Header file required to build programs using liboSIP. Group: System/Libraries Provides: libosip-devel Requires: %libname = %version %description -n %libname-devel oSIP development libraries (for Open SIP). Needed to build applications such as Linphone %prep rm -rf $RPM_BUILD_ROOT %setup -q perl -p -i -e 's/docbook-to-man/docbook2man/g' doc/Makefile.in %build %configure %make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -n %libname %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %_libdir/*.so.* %_mandir/man1/* %files -n %libname-devel %defattr(-, root, root) %_libdir/*.so %_includedir/osip/*.h %_libdir/*.a %_libdir/*.la %changelog * Tue Dec 31 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9.0-1mdk - from Austin Acton <aacton@yorku.ca> : - 0.9.0 - add manpage * Thu Aug 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.8.8-1mdk - new version * Thu Jun 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk - 0.8.5 * Tue Feb 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.7.8-1mdk - 0.7.8 * Tue Oct 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.7.3-1mdk - new