libnice/libnice.spec
Vincent Untz 4ed9295744 Accepting request 43306 from home:dimstar:branches:GNOME:Factory
Copy from home:dimstar:branches:GNOME:Factory/libnice via accept of submit request 43306 revision 2.
Request was accepted with message:
thanks

OBS-URL: https://build.opensuse.org/request/show/43306
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnice?expand=0&rev=20
2010-07-19 12:42:17 +00:00

125 lines
3.2 KiB
RPMSpec

#
# spec file for package libnice (Version 0.0.12)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: libnice
Version: 0.0.12
Release: 1
License: LGPLv2.1+ ; MPL ..
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1030
BuildRequires: gstreamer-0_10-devel
%else
BuildRequires: gstreamer010-devel
%endif
BuildRequires: glib2-devel openssl-devel
BuildRequires: libgupnp-igd-devel
Url: http://nice.freedesktop.org/
Source: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.bz2
Summary: Interactive Connectivity Establishment implementation
%description
libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE).
%package -n libnice0
License: LGPLv2.1+
Group: System/Libraries
Summary: Interactive Connectivity Establishment implementation
Recommends: gstreamer-0_10-libnice
%description -n libnice0
libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE).
%package -n gstreamer-0_10-libnice
License: LGPLv2.1+ ; MPL ..
Group: System/Libraries
Summary: Interactive Connectivity Establishment implementation - GStreamer plug-in
%description -n gstreamer-0_10-libnice
libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE).
%package devel
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Summary: Interactive Connectivity Establishment implementation - development files
Requires: libnice0 = %{version}
Requires: glib2-devel
Provides: libnice-doc = %{version}
Obsoletes: libnice-doc <= %{version}
%description devel
libnice is an implementation of the IETF's draft Interactive
Connectivity Establishment standard (ICE).
%prep
%setup -q
%build
%configure --disable-static
%{__make}
%check
#%{__make} check
%install
%makeinstall
rm -f %{buildroot}/%{_libdir}/*.la
rm -f %{buildroot}/%{_libdir}/gstreamer-0.10/*.la
%post -n libnice0 -p /sbin/ldconfig
%postun -n libnice0 -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/*
%files -n libnice0
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/nice
%{_includedir}/stun
%{_datadir}/gtk-doc
%files -n gstreamer-0_10-libnice
%defattr(-,root,root,-)
%{_libdir}/gstreamer-0.10/*.so
%changelog