source: projects/specs/trunk/lib/libn/libnice/libnice-vl.spec @ 12388

Revision 12388, 6.0 KB checked in by tomop, 4 years ago (diff)

updated 8 packages

avahi-0.8-1

farstream-0.2.9-1

gssdp-1.2.2-1

gupnp-igd-0.2.5-1

gupnp-1.2.2-1

libnice-0.1.16-1

openssl-1.1.1g-1

xmltoman-0.4-22

RevLine 
[521]1Name:           libnice
[12388]2Version:        0.1.16
[2041]3Release:        1%{?_dist_release}
[521]4Summary:        GLib ICE implementation
[12388]5Group:          System Environment/Libraries
6Vendor:         Project Vine
7Distribution:   Vine Linux
[521]8
9License:        LGPLv2 and MPLv1.1
[12388]10URL:            https://libnice.freedesktop.org/
11Source0:        https://libnice.freedesktop.org/releases/%{name}-%{version}.tar.gz
12# make tests pass in Koji
13Patch1:         libnice-0.1.14-tests-koji.patch
14# Selected cherry-picks from upstream
15# - make audio connection more reliable
16# - issues #64 & #87
17Patch2:         libnice-0.1.16-16-gb998547.patch
18# upstream https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/66
19# upstream https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/107
20Patch3:         0001-interfaces-ignore-only-interfaces-we-really-want-to.patch
21Patch4:         0002-interfaces-ignore-only-interfaces-we-really-want-to.patch
22
[521]23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24BuildRequires:  glib2-devel >= 2.10
[12388]25BuildRequires:  glib2-devel
26BuildRequires:  gnutls-devel >= 2.12.0
27BuildRequires:  gobject-introspection-devel
28%if 0
29BuildRequires:  gstreamer-devel
30BuildRequires:  gstreamer-plugins-base-devel
31%endif
32BuildRequires:  gstreamer1-devel >= 0.11.91
33BuildRequires:  gstreamer1-plugins-base-devel >= 0.11.91
34BuildRequires:  gupnp-igd-devel >= 0.1.2
[521]35
36%description
37%{name} is an implementation of the IETF's draft Interactive Connectivity
38Establishment standard (ICE). ICE is useful for applications that want to
39establish peer-to-peer UDP data streams. It automates the process of traversing
40NATs and provides security against some attacks. Existing standards that use
41ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension
42for audio/video calls.
43
44
45%package        devel
46Summary:        Development files for %{name}
47Group:          Development/Libraries
48Requires:       %{name} = %{version}-%{release}
[12388]49Requires:       glib2-devel
50Requires:       pkgconfig
[521]51
52%description    devel
53The %{name}-devel package contains libraries and header files for
54developing applications that use %{name}.
55
56
57%prep
58%setup -q
[12388]59%patch1 -p1
60%patch2 -p1
61%patch3 -p1
62%patch4 -p1
63chmod 0755 scripts/valgrind-test-driver
[521]64
[12388]65# disable test-new-trickle, which sometimes hangs indefinitely, and
66# test-send-recv, which fails in Koji due to insufficiently configured network
67sed -e 's/test-new-trickle/#&/' \
68    -e 's/test-send-recv/#&/' \
69    -i tests/Makefile.am
70
71# needed for libnice-0.1.14-tests-koji.patch
72autoreconf -fiv
73
74
[521]75%build
[12388]76%configure \
77 --enable-compile-warnings=yes \
78 --disable-static \
79 --with-ignored-network-interface-prefix=br-,docker,veth,virbr,vnet \
80%if 0
81 --with-gstreamer-0.10
82%else
83 --without-gstreamer-0.10
84%endif
[521]85sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
86sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
[12388]87make %{?_smp_mflags} V=1
[521]88
[12388]89
[521]90%install
91rm -rf $RPM_BUILD_ROOT
92make install DESTDIR=$RPM_BUILD_ROOT
93find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
94
[12388]95
96%check
97# Temporarily make the upstream test-suite run on Intel arches only because we
98# are getting random crashes in Koji on secondary arches but I have not been
99# able to reproduce them locally so far.
100%ifarch x86_64 %{ix86}
101export LD_LIBRARY_PATH="$PWD/nice/.libs"
102make check
103%endif
104
105
[521]106%clean
107rm -rf $RPM_BUILD_ROOT
108
109
110%post -p /sbin/ldconfig
111
112%postun -p /sbin/ldconfig
113
114
115%files
116%defattr(-,root,root,-)
[12388]117%license COPYING COPYING.LGPL COPYING.MPL
118%doc NEWS README
[521]119%{_bindir}/stunbdc
120%{_bindir}/stund
[12388]121%{_libdir}/*.so.*
122%{_libdir}/girepository-1.0/Nice-0.1.typelib
[6890]123%{_libdir}/gstreamer-1.0/libgstnice.so
[521]124
125%files devel
126%defattr(-,root,root,-)
127%{_includedir}/*
128%{_libdir}/*.so
129%{_libdir}/pkgconfig/nice.pc
[12388]130%{_datadir}/gtk-doc/html/%{name}/
131%{_datadir}/gir-1.0/Nice-0.1.gir
[521]132
133
134%changelog
[12388]135* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.16-1
136- new upstream release.
137
[9791]138* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.13-1
139- new upstream release
140
[9073]141* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.7-1
142- new upstream release
143
[8353]144* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.5-1
145- new upstream release
146
[8119]147* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
148- update to 0.1.4
149
[6890]150* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1
151- new upstream release
152- add BuildRequires: gstreamer1-devel, gstreamer1-plugins-base-devel
153
[6011]154* Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
155- new upstream release
156
[4850]157* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-1
158- new upstream release
159
[4616]160* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.0-1
161- new upstream release
162
[2041]163* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.13-1
164- new upstream release
165
[1983]166* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.9-4
167- rebuilt with rpm-4.8.1 for pkg-config
168
[521]169* Sat Nov  7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.9-3
170- initial build for Vine Linux
171
172* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.9-2
173- Rebuild for new gupnp
174
175* Sun Aug  2 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1
176- Update to 0.0.9.
177- Drop sha1 patch. Fixed upstream.
178
179* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-3
180- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
181
182* Tue Jul 21 2009 Warren Togami <wtogami@redhat.com> - 0.0.8-2
183- stun sha1 patch from upstream to make it work at all
184
185* Sun Jun 21 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1
186- Update to 0.0.8.
187
188* Sun Jun 14 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1
189- Update to 0.0.7.
190- Add BR on gupnp-igd-devel.
191
192* Mon Apr 13 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1
193- Update to 0.0.6.
194
195* Wed Mar 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.5-1
196- Update to 0.0.5.
197
198* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2
199- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
200
201* Sat Dec 27 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.4-1
202- Initial Fedora spec.
203
Note: See TracBrowser for help on using the repository browser.