belle-sip/belle-sip.spec

87 lines
2.4 KiB
RPMSpec

Name: belle-sip
Version: 1.4.0
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libantlr3c-devel
BuildRequires: libgcc
BuildRequires: libpolarssl-devel
## AUTOBUILDREQ-END
BuildRequires: libpolarssl-devel >= 1.3.8-1mamba
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
%build
%configure \
CFLAGS="-Wno-error=pragmas"
%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 README
%changelog
* 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