summaryrefslogtreecommitdiff
path: root/packaging/libsoup.spec
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-28 13:01:38 -0800
committerdavid <david@david-desktop.(none)>2014-11-21 09:41:01 +0800
commit7a28fa06786bd7e84aee19ed00a9016cc4acd745 (patch)
tree8a96b69cf4bce407142d07e4ca7defc70cfe57fd /packaging/libsoup.spec
parent2db85e85f54bb7bc189bbdf0263ff08cec5e0f6f (diff)
downloadlibsoup-7a28fa06786bd7e84aee19ed00a9016cc4acd745.tar.gz
libsoup-7a28fa06786bd7e84aee19ed00a9016cc4acd745.tar.bz2
libsoup-7a28fa06786bd7e84aee19ed00a9016cc4acd745.zip
make introspection depend on gnome
Diffstat (limited to 'packaging/libsoup.spec')
-rw-r--r--packaging/libsoup.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/libsoup.spec b/packaging/libsoup.spec
index 51a29ec2..181d441f 100644
--- a/packaging/libsoup.spec
+++ b/packaging/libsoup.spec
@@ -12,7 +12,9 @@ Source99: baselibs.conf
# Patches auto-generated by git-buildpackage:
BuildRequires: gettext-tools
BuildRequires: glib-networking
+%if 0%{?enable_gnome}
BuildRequires: gobject-introspection-devel
+%endif
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.35.0
BuildRequires: sqlite3-devel
@@ -67,15 +69,15 @@ Features:
%build
%autogen\
- --disable-static \
%if 0%{!enable_gnome}
--with-gnome \
+ --enable-introspection
%else
--without-gnome \
--enable-sqllite=yes \
--disable-tls-check \
%endif
- --enable-introspection
+ --disable-static
make %{?_smp_mflags}
%install
@@ -96,8 +98,8 @@ make %{?_smp_mflags}
%files -n typelib-Soup
%defattr(-,root,root)
-%{_libdir}/girepository-1.0/Soup-2.4.typelib
%if 0%{!enable_gnome}
+%{_libdir}/girepository-1.0/Soup-2.4.typelib
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
%endif
@@ -106,8 +108,8 @@ make %{?_smp_mflags}
%{_includedir}/libsoup-2.4
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
-%{_datadir}/gir-1.0/Soup-2.4.gir
%if 0%{!enable_gnome}
+%{_datadir}/gir-1.0/Soup-2.4.gir
%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
%{_includedir}/libsoup-gnome-2.4
%endif