From: chleun.moon Date: Tue, 23 Aug 2016 06:19:33 +0000 (+0900) Subject: Merged upstream into tizen X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170104.142635^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0_ivi;p=platform%2Fupstream%2Fgupnp.git Merged upstream into tizen Change-Id: Ic3b3a3df7a848323388331c32fb1519a076c6119 Signed-off-by: cheoleun --- 3759568749c9703940c7cdbda92972924f2b49fa diff --cc packaging/gupnp.spec index 7f06dc6,0000000..c3e28a1 mode 100644,000000..100644 --- a/packaging/gupnp.spec +++ b/packaging/gupnp.spec @@@ -1,82 -1,0 +1,82 @@@ +%if "%{profile}" == "ivi" +%define intro yes +%else +%define intro no +%endif + +Name: gupnp +Summary: GUPnP is an framework for creating UPnP devices & control points +Version: 0.20.5 +Release: 1 +Group: System/Libraries +License: LGPL-2.0+ +URL: http://www.gupnp.org/ - Source0: %{name}-%{version}.tar.gz ++Source0: %{name}-%{version}.tar.xz +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gssdp-1.0) +BuildRequires: pkgconfig(libsoup-2.4) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(uuid) +%if "%{profile}" == "ivi" +BuildRequires: gobject-introspection-devel +BuildRequires: vala +%endif + + +%description +GUPnP is an object-oriented open source framework for creating UPnP +devices and control points, written in C using GObject and libsoup. +The GUPnP API is intended to be easy to use, efficient and flexible. + +%package devel +Summary: Development package for gupnp +Group: Development/Libraries +License: LGPL-2.0+ +Requires: %{name} = %{version}-%{release} + +%description devel +Files for development with gupnp. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --prefix=/usr --with-context-manager=network-manager --enable-introspection=%{intro} + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install +rm -rf %{buildroot}/usr/share/gtk-doc +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} + +%clean +rm -rf %{buildroot} + +%post + +%postun + +%files +%defattr(-,root,root,-) +%doc +%{_libdir}/*.so.* +/usr/share/license/%{name} + +%files devel +%defattr(-,root,root,-) +/usr/bin/gupnp-binding-tool +/usr/include/gupnp-1.0/* +#/usr/lib/*.a +%{_libdir}/*.so +%{_libdir}/pkgconfig/* +%if "%{profile}" == "ivi" +%{_datadir}/gir-1.0/GUPnP-1.0.gir +%{_libdir}/girepository-1.0/GUPnP-1.0.typelib +%{_datadir}/vala/vapi/gupnp-1.0.deps +%{_datadir}/vala/vapi/gupnp-1.0.vapi +%endif