File libeXosip2.spec of Package libeXosip2

#
# spec file for package libeXosip2 (Version 3.1.0)
#
# Copyright (c) 2008 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:           libeXosip2
BuildRequires:  glibc-devel libopenssl-devel libosip2-devel
License:        GPL v2 only
Group:          Productivity/Networking/Other
Summary:        Extended osip2 library
Version:        3.1.0
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://savannah.nongnu.org/forum/forum.php?forum_id=3778
Source:         libeXosip2-%{version}.tar.bz2

%description
Extended library for the osip2 protocoll.



Authors:
--------
    Aymeric MOIZARD, <jack@osip.org>

%package -n libeXosip2-4
License:        GPL v2 only
Group:          Productivity/Networking/Other
Provides:       libeXosip2 = %{version}-%{release}
#
Summary:        Extended osip2 library

%description -n libeXosip2-4
Extended library for the osip2 protocoll.



Authors:
--------
    Aymeric MOIZARD, <jack@osip.org>

%package devel
License:        GPL v2 only
Summary:        Extended osip2 library
Group:          Development/Libraries/C and C++
Provides:       libeXosip2-4-devel = %{version}-%{release}
Requires:       libeXosip2-4 = %{version}
Requires:       libosip2-devel glibc-devel libopenssl-devel
AutoReqProv:    on

%description devel
Extended library for the osip2 protocoll.



Authors:
--------
    Aymeric MOIZARD, <jack@osip.org>

%prep
%setup -q -n libeXosip2-%{version}

%build
#./autogen.sh
%configure --disable-static
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/lib*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libeXosip2-4 -p /sbin/ldconfig

%postun -n libeXosip2-4 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_bindir}/sip_reg

%files -n libeXosip2-4
%defattr(-,root,root)
%{_prefix}/%{_lib}/lib*.so.*

%files devel
%defattr(-,root,root)
%{_prefix}/include/eXosip2/*.h
%dir %{_prefix}/include/eXosip2
%{_prefix}/%{_lib}/lib*.so
#%_libdir/pkgconfig/libeXosip2.pc

%changelog
* Wed Apr 02 2008 hvogel@suse.de
- update to version 3.1.0
  * add AKA authentication
  * improve compliance & flexibility
  * fix building SUBSCRIBE refresh
  * fix compliance issue with refer-to to-tag/from-tag parameters.
  * fix bug for retransmissions or ACK with proxy that resolve
  to several IP.
  * handle the "expires" parameter to update registration interval.
  * handle the "expires" parameter to update publication interval.
  * handle automatically publish refresh,
  and some error codes (423).
* Thu Feb 28 2008 ro@suse.de
- fix build with current libosip2 (MD5... -> osip_MD5...)
* Thu Jan 10 2008 mskibbe@suse.de
- use --disable-static
- detaillize files section
* Tue Dec 18 2007 mskibbe@suse.de
- create package
openSUSE Build Service is sponsored by