File libosip2.spec of Package libosip2
#
# spec file for package libosip2 (Version 3.1.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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.1.0
Release: 52
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
License: LGPL v2.1 or later
Summary: Implementation of SIP--RFC 3261
Group: Productivity/Networking/Other
Provides: libosip2:/usr/include/osip2/osip.h
Requires: %{name} = %{version} glibc-devel
%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
export CFLAGS="$RPM_OPT_FLAGS"
%configure \
--enable-pthread \
--enable-sysv \
--enable-gperf \
--disable-static \
--with-pic
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/osipparser2
%{_includedir}/osip2
%{_libdir}/lib*.so
%_libdir/pkgconfig/libosip2.pc
%{_mandir}/man1/*
%changelog
* Mon Feb 25 2008 crrodriguez@suse.de
- remove libtool archive with empty dependency_libs and static libraries
- update to version 3.1.0
* Windows Mobile 5/6 improvments.
* allow uncompliant/IMS authentication headers.
* fix when a space appear as the first char in body.
* terminate body with '\0' after parsing (don't rely on this!)
* 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
* Thu Sep 25 2003 ro@suse.de
- package created version 2.0.3-cvs