Merged upstream into tizen 84/84984/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.142635 accepted/tizen/3.0.m2/tv/20170104.143306 accepted/tizen/3.0.m2/wearable/20170104.143648 accepted/tizen/3.0/common/20161114.110821 accepted/tizen/3.0/ivi/20161011.044157 accepted/tizen/3.0/mobile/20161015.033127 accepted/tizen/3.0/tv/20161016.004722 accepted/tizen/3.0/wearable/20161015.082853 accepted/tizen/common/20160907.154051 accepted/tizen/ivi/20160908.003444 accepted/tizen/mobile/20160908.003344 accepted/tizen/tv/20160908.003401 accepted/tizen/wearable/20160908.003429 submit/tizen/20160907.003541 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
authorchleun.moon <chleun.moon@samsung.com>
Tue, 23 Aug 2016 06:19:33 +0000 (15:19 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Tue, 23 Aug 2016 06:41:20 +0000 (15:41 +0900)
Change-Id: Ic3b3a3df7a848323388331c32fb1519a076c6119
Signed-off-by: cheoleun <chleun.moon@samsung.com>
1  2 
packaging/gupnp.spec

index 7f06dc6,0000000..c3e28a1
mode 100644,000000..100644
--- /dev/null
@@@ -1,82 -1,0 +1,82 @@@
- Source0: %{name}-%{version}.tar.gz
 +%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.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