diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2014-03-27 21:16:00 +0200 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-03-31 05:35:41 -0700 |
commit | bf6f29215dd39909a9e13e7bf1d872efab56e2bd (patch) | |
tree | 469549ca7840826374f885718127044956e8410a | |
parent | 5898b79be8b051411842937eab3260040e33c79b (diff) | |
download | libsoup-tizen_3.0.2014.q3_common.tar.gz libsoup-tizen_3.0.2014.q3_common.tar.bz2 libsoup-tizen_3.0.2014.q3_common.zip |
packaging: don't require gnome for introspection filestizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20140411.014656accepted/tizen/generic/20140415.185251tizen_3.0.m14.3_ivitizen_3.0.m14.2_ivitizen_3.0.2014.q3_commonaccepted/tizen_genericaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
Bug-Tizen: TIVI-2984
Change-Id: Id75730e1b8c33f4b732d45a274032fa9725cefa8
Signed-off-by: Alexander Kanavin <alexander.kanavin@intel.com>
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r-- | packaging/libsoup.spec | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/packaging/libsoup.spec b/packaging/libsoup.spec index 372a530d..e256698d 100644 --- a/packaging/libsoup.spec +++ b/packaging/libsoup.spec @@ -1,4 +1,5 @@ %bcond_with gnome +%bcond_with introspection Name: libsoup Version: 2.42.2 @@ -13,8 +14,10 @@ Source1001: libsoup.manifest Requires: glib-networking BuildRequires: gettext-tools BuildRequires: glib-networking -%if %{with gnome} +%if %{with introspection} BuildRequires: gobject-introspection-devel +%endif +%if %{with gnome} BuildRequires: pkgconfig(gnome-keyring-1) %endif BuildRequires: intltool >= 0.35.0 @@ -74,9 +77,11 @@ cp %{SOURCE1001} . %build %autogen\ +%if %{with introspection} + --enable-introspection \ +%endif %if %{with gnome} --with-gnome \ - --enable-introspection \ %else --without-gnome \ --enable-sqlite=yes \ @@ -102,13 +107,15 @@ make %{?_smp_mflags} %license COPYING %{_libdir}/*.so.* -%if %{with gnome} +%if %{with introspection} %files -n typelib-Soup %manifest %{name}.manifest %defattr(-,root,root) %{_libdir}/girepository-1.0/Soup-2.4.typelib +%if %{with gnome} %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib %endif +%endif %files devel %manifest %{name}.manifest @@ -116,8 +123,10 @@ make %{?_smp_mflags} %{_includedir}/libsoup-2.4 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%if %{with gnome} +%if %{with introspection} %{_datadir}/gir-1.0/Soup-2.4.gir +%if %{with gnome} %{_datadir}/gir-1.0/SoupGNOME-2.4.gir %{_includedir}/libsoup-gnome-2.4 %endif +%endif |