diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-28 13:01:38 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-04-26 15:38:06 -0700 |
commit | 0313ec6802636206fe4b8b778f6586e68a49b49f (patch) | |
tree | feb2d86b7c8b4b4411e0152d7d8a70b778bbbe38 /packaging/libsoup.spec | |
parent | 75e44533cfcf26e69207433dfe0cead82d9bd38a (diff) | |
download | libsoup-0313ec6802636206fe4b8b778f6586e68a49b49f.tar.gz libsoup-0313ec6802636206fe4b8b778f6586e68a49b49f.tar.bz2 libsoup-0313ec6802636206fe4b8b778f6586e68a49b49f.zip |
make introspection depend on gnome
Diffstat (limited to 'packaging/libsoup.spec')
-rw-r--r-- | packaging/libsoup.spec | 10 |
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 |