package created using the webbuild interface [release 1.3.0-1mamba;Sat Mar 08 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:46:55 +01:00
parent cc28ad7f73
commit d7e62bd132
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# belle-sip
Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API.

79
belle-sip.spec Normal file
View File

@ -0,0 +1,79 @@
Name: belle-sip
Version: 1.3.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: 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
* Sat Mar 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface