File libosip2.spec of Package libosip2
#
# spec file for package libosip2 (Version 3.0.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libosip2
BuildRequires: docbook2x gcc-c++ gperf
License: LGPL v2.1 or later
Group: Productivity/Networking/Other
Summary: Implementation of SIP--RFC 3261
Version: 3.0.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.fsf.org/software/osip/osip.html
Source: %name-%version.tar.bz2
Patch: %name-2.2.0.dif
%description
This is the GNU oSIP library. It has been designed to provide the
Internet community with a simple way to support the Session Initiation
Protocol. SIP is described in the RFC 3261, which is available at
http://www.ietf.org/rfc/rfc3261.txt.
Authors:
--------
jack@atosc.org
%package devel
Summary: Implementation of SIP--RFC 3261
Group: Productivity/Networking/Other
Provides: libosip2:/usr/include/osip2/osip.h
Requires: libosip2 = %{version}
AutoReqProv: on
%description devel
This is the GNU oSIP library. It has been designed to provide the
Internet community with a simple way to support the Session Initiation
Protocol. SIP is described in the RFC 3261, which is available at
http://www.ietf.org/rfc/rfc3261.txt.
Authors:
--------
jack@atosc.org
%prep
%setup -q
%patch
%build
rm -f aclocal.m4 acinclude.m4
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%_prefix \
--libdir=%_libdir \
--mandir=%_mandir \
--enable-pthread \
--enable-sysv \
--enable-gperf
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_prefix}/%{_lib}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_prefix}/include/osipparser2
%{_prefix}/include/osip2
%{_prefix}/%{_lib}/lib*.so
%{_prefix}/%{_lib}/lib*.*a
%_libdir/pkgconfig/libosip2.pc
%{_mandir}/man1/*
%changelog
* Tue Dec 18 2007 - mskibbe@suse.de
- update to version 3.0.3 which include
o initial support for rtems
o initial support for ucos.
o Fix memory leaks
o fix 64-bit (amd64) issue with hash
o parser speed improvements
o add NULL checks
o automatic check for reliable protocol SCTP and TLS
* Wed May 16 2007 - ro@suse.de
- branch off devel package
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Mar 22 2005 - hvogel@suse.de
- use the linphone version of 2.2.0
- package pkgconfig file
* Tue Nov 09 2004 - ro@suse.de
- update to 2.2.0
* Wed Jul 28 2004 - ro@suse.de
- update to 2.1.0
* Tue Jan 13 2004 - schwab@suse.de
- Remove old libtool macros.
* Mon Oct 20 2003 - ro@suse.de
- don't build as root
* Fri Sep 26 2003 - ro@suse.de
- package created version 2.0.3-cvs