Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dyfet
libeXosip2
libeXosip2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libeXosip2.spec of Package libeXosip2
# # spec file for package libeXosip2 # # Copyright (c) 2018 SUSE LINUX 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/ # %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} %define soname libeXosip2 %else %define abi_version 15 %define soname libeXosip2-%{abi_version} %endif Name: libeXosip2 Version: 5.3.0 Release: 1 Summary: Extended osip2 library # I am going by the header and sources, which makes it very clear that this # library is licensed GPL 2 or later, not GPL 2 only. It also includes a # exception for linking with openssl. # # "eXosip is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version." License: GPL-2.0+ Group: Productivity/Networking/Other Url: http://savannah.nongnu.org/projects/exosip/ Source: http://download.savannah.nongnu.org/releases/exosip/libexosip2-%{version}.tar.gz BuildRequires: glibc-devel BuildRequires: pkg-config BuildRequires: c-ares-devel BuildRequires: openssl-devel BuildRequires: pkgconfig(libosip2) >= 5.3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 # Really? For gdb-add-index otherwise fails.... BuildRequires: gdb %endif %description Extended library for the osip2 protocol. %if 0%{?abi_version} %package -n %{soname} Summary: Extended osip2 library Group: System/Libraries %description -n %{soname} Extended library for the osip2 protocol. %endif %package devel Summary: Extended osip2 library Group: Development/Libraries/C and C++ Requires: %{soname} = %{version} Requires: glibc-devel Requires: openssl-devel Requires: libosip2-devel >= 5.2.1 %if 0%{?abi_version} Provides: %{soname}-devel = %{version} %endif %description devel Extended library for the osip2 protocol. %prep %setup -q -n libexosip2-%{version} %build %configure \ --disable-static \ --disable-debug make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %post -n %{soname} -p /sbin/ldconfig %postun -n %{soname} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/sip_* %if 0%{?abi_version} %files -n %{soname} %defattr(-,root,root) %endif %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %{_includedir}/eXosip2/*.h %dir %{_includedir}/eXosip2 %{_libdir}/lib*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor