File libeXosip2.spec of Package libeXosip2.openSUSE_13.1_Update
#
# spec file for package libeXosip2
#
# Copyright (c) 2014 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/
#
Name: libeXosip2
Summary: Extended osip2 library
License: GPL-2.0
Group: Productivity/Networking/Other
Version: 3.5.0
Release: 0
Url: http://savannah.nongnu.org/forum/forum.php?forum_id=3778
Source: libeXosip2-%{version}.tar.bz2
Patch0: libeXosip2-sslverifypaths.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
BuildRequires: libosip2-devel
%description
Extended library for the osip2 protocol.
Authors:
--------
Aymeric MOIZARD, <jack@osip.org>
%package -n libeXosip2-6
Provides: libeXosip2 = %{version}-%{release}
Summary: Extended osip2 library
Group: Productivity/Networking/Other
%description -n libeXosip2-6
Extended library for the osip2 protocol.
Authors:
--------
Aymeric MOIZARD, <jack@osip.org>
%package devel
Summary: Extended osip2 library
Group: Development/Libraries/C and C++
Provides: libeXosip2-6-devel = %{version}-%{release}
Requires: glibc-devel
Requires: libeXosip2-6 = %{version}
Requires: libopenssl-devel
Requires: libosip2-devel
%description devel
Extended library for the osip2 protocol.
Authors:
--------
Aymeric MOIZARD, <jack@osip.org>
%prep
%setup -q -n libeXosip2-%{version}
%patch0 -p1
%build
#./autogen.sh
%configure --disable-static --disable-debug
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/lib*.la
%post -n libeXosip2-6 -p /sbin/ldconfig
%postun -n libeXosip2-6 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/sip_reg
%files -n libeXosip2-6
%defattr(-,root,root)
%{_prefix}/%{_lib}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_prefix}/include/eXosip2/*.h
%dir %{_prefix}/include/eXosip2
%{_prefix}/%{_lib}/lib*.so
%changelog