Accepting request 581260 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581260 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnice?expand=0&rev=66
This commit is contained in:
parent
70bbb1f247
commit
56712c490b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:35:43 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 09:26:04 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
20
libnice.spec
20
libnice.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnice
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,17 +20,17 @@ Name: libnice
|
||||
Version: 0.1.14
|
||||
Release: 0
|
||||
Summary: Interactive Connectivity Establishment implementation
|
||||
License: MPL-1.1 or LGPL-2.1
|
||||
License: MPL-1.1 OR LGPL-2.1-only
|
||||
Group: System/Libraries
|
||||
Url: http://nice.freedesktop.org/
|
||||
URL: http://nice.freedesktop.org/
|
||||
Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: libgupnp-igd-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.44
|
||||
BuildRequires: pkgconfig(gnutls) >= 2.12.0
|
||||
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.91
|
||||
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 0.11.91
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libnice is an implementation of the IETF's draft Interactive
|
||||
@ -69,11 +69,11 @@ Connectivity Establishment standard (ICE).
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# We don't ship the examples...
|
||||
rm %{buildroot}%{_bindir}/*-example
|
||||
|
||||
@ -85,23 +85,16 @@ rm %{buildroot}%{_bindir}/*-example
|
||||
#%endif
|
||||
|
||||
%post -n libnice10 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libnice10 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/stunbdc
|
||||
%{_bindir}/stund
|
||||
|
||||
%files -n libnice10
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/nice/
|
||||
@ -109,7 +102,6 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/gtk-doc/html/libnice/
|
||||
|
||||
%files -n gstreamer-libnice
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gstreamer-1.0/libgstnice.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user