summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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