Accepting request 816886 from home:mnhauke
Initial package for re OBS-URL: https://build.opensuse.org/request/show/816886 OBS-URL: https://build.opensuse.org/package/show/network:telephony/re?expand=0&rev=1
This commit is contained in:
commit
fd171acda4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
re-0.6.1.tar.gz
Normal file
3
re-0.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd5bfc79640411803b200c7531e4ba8a230da3806746d3bd2de970da2060fe43
|
||||
size 317227
|
11
re.changes
Normal file
11
re.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 07:32:59 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Specfile cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 5 00:00:00 UTC 2010 - Alfred E. Heggestad <aeh@db.org>
|
||||
|
||||
- Initial build
|
||||
|
||||
|
92
re.spec
Normal file
92
re.spec
Normal file
@ -0,0 +1,92 @@
|
||||
#
|
||||
# spec file for package re
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%global sover 0
|
||||
%global libname lib%{name}%{sover}
|
||||
Name: re
|
||||
Version: 0.6.1
|
||||
Release: 0
|
||||
Summary: Library for real-time communications with async IO support
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://www.creytiv.com/re.html
|
||||
Source: http://www.creytiv.com/pub/re-%{version}.tar.gz
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
Libre is a portable and generic library for real-time communications
|
||||
with async IO support and a complete SIP stack with support for protocols
|
||||
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library for real-time communications with async IO support
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n %{libname}
|
||||
Libre is a portable and generic library for real-time communications
|
||||
with async IO support and a complete SIP stack with support for protocols
|
||||
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
||||
|
||||
%package devel
|
||||
Summary: Libre development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libname} = %{version}
|
||||
|
||||
%description devel
|
||||
Libre is a portable and generic library for real-time communications
|
||||
with async IO support and a complete SIP stack with support for protocols
|
||||
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libre.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -e 's|@$(CC)|$(CC)|g' \
|
||||
-e 's|@$(LD)|$(LD)|g' \
|
||||
-e 's|@$(AR)|$(AR)|g' \
|
||||
-e 's|@rm -rf|rm -rf|g' -i Makefile
|
||||
|
||||
%build
|
||||
%make_build \
|
||||
RELEASE=1 \
|
||||
USE_OPENSSL=1 \
|
||||
EXTRA_CFLAGS="%optflags" \
|
||||
EXTRA_LFLAGS="-Wl,-soname,libre.so.0" \
|
||||
LIB_SUFFIX=".so.0"
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} LIB_SUFFIX=".so.0" install
|
||||
ln -s %{_libdir}/libre.so.0 %{buildroot}%{_libdir}/libre.so
|
||||
rm %{buildroot}/%{_libdir}/libre.a
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%license docs/COPYING
|
||||
%doc README.md
|
||||
%{_libdir}/libre.so.%{sover}*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/re
|
||||
%{_datadir}/re
|
||||
%{_libdir}/libre.so
|
||||
%{_libdir}/pkgconfig/libre.pc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user