belle-sip/belle-sip.spec

108 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: belle-sip
Version: 1.6.3
Release: 1mamba
Summary: A SIP (RFC3261) implementation written in C, with an object oriented API.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.linphone.org
#Source: http://download.savannah.gnu.org/releases/linphone/belle-sip/%{name}-%{version}.tar.gz
Source: https://github.com/BelledonneCommunications/belle-sip.git/%{version}/%{name}-%{version}.tar.bz2
Patch0: belle-sip-1.5.0-fix-internal-includes.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libantlr3c-devel
BuildRequires: libbctoolbox-devel
BuildRequires: libgcc
BuildRequires: libpolarssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: antlr3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
sed -i \
-e "s#antlr_java_prefixes=.*#antlr_java_prefixes="$srcdir"#" \
configure.ac
%build
./autogen.sh
%configure \
CFLAGS="-Wno-error"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libbellesip.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/belle-sip
%{_includedir}/belle-sip/*.h
%{_libdir}/libbellesip.so
%{_libdir}/libbellesip.a
%{_libdir}/libbellesip.la
%{_libdir}/pkgconfig/belle-sip.pc
%doc NEWS
%changelog
* Tue Sep 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-1mamba
- update to 1.6.3
* Sun Dec 18 2016 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic update by autodist
* Wed Mar 18 2015 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt by autoport with build requirements: libpolarssl-devel>=1.3.8-1mamba
* Sat Mar 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface