[dev] Enable gobject-instrospection support in `libsoup` (#517)
This commit is contained in:
parent
41c4b74f34
commit
30e51048cf
|
@ -1,61 +1,61 @@
|
|||
Summary: libsoup HTTP client/server library
|
||||
Name: libsoup
|
||||
%define BaseVersion 2.64
|
||||
Version: %{BaseVersion}.0
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2
|
||||
URL: https://wiki.gnome.org/LibSoup
|
||||
Group: System Environment/Development
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Source0: https://ftp.gnome.org/pub/GNOME/sources/libsoup/%{BaseVersion}/%{name}-%{version}.tar.xz
|
||||
Patch0: libsoup-fix-make-check.patch
|
||||
BuildRequires: glib-devel
|
||||
BuildRequires: gobject-introspection
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-libs
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-tools
|
||||
BuildRequires: glib-networking
|
||||
BuildRequires: autogen
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: libpsl-devel
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: httpd
|
||||
BuildRequires: icu-devel
|
||||
Summary: libsoup HTTP client/server library
|
||||
Name: libsoup
|
||||
Version: %{BaseVersion}.0
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: System Environment/Development
|
||||
URL: https://wiki.gnome.org/LibSoup
|
||||
Source0: https://ftp.gnome.org/pub/GNOME/sources/libsoup/%{BaseVersion}/%{name}-%{version}.tar.xz
|
||||
Patch0: libsoup-fix-make-check.patch
|
||||
BuildRequires: autogen
|
||||
BuildRequires: glib-devel
|
||||
BuildRequires: glib-networking
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: httpd
|
||||
BuildRequires: icu-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libpsl-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-libs
|
||||
BuildRequires: python2-tools
|
||||
BuildRequires: sqlite-devel
|
||||
Requires: glib-networking
|
||||
Requires: libpsl
|
||||
Requires: libxml2
|
||||
%if %{with_check}
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: krb5-devel
|
||||
%endif
|
||||
Requires: libxml2
|
||||
Requires: glib-networking
|
||||
Requires: libpsl
|
||||
|
||||
%description
|
||||
libsoup is HTTP client/server library for GNOME
|
||||
|
||||
%package devel
|
||||
Summary: Header files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libxml2-devel
|
||||
Summary: Header files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libxml2-devel
|
||||
|
||||
%description devel
|
||||
Header files for libsoup.
|
||||
|
||||
%package doc
|
||||
Summary: gtk-doc files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: gtk-doc files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
gtk-doc files for libsoup.
|
||||
|
||||
%package lang
|
||||
Summary: Additional language files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Additional language files for libsoup
|
||||
Group: System Environment/Development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description lang
|
||||
These are the additional language files of libsoup.
|
||||
|
@ -65,7 +65,7 @@ These are the additional language files of libsoup.
|
|||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-vala
|
||||
%configure --disable-vala --enable-introspection=yes
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
@ -84,6 +84,7 @@ make check
|
|||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/girepository-1.0/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
@ -92,6 +93,7 @@ make check
|
|||
%{_libdir}/*.la
|
||||
%exclude %{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_datadir}/gir-1.0/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
|
@ -101,38 +103,56 @@ make check
|
|||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Tue Jan 05 2021 Ruying Chen <v-ruyche@microsoft.com> - 2.64.0-6
|
||||
- Enable gobject-introspection support.
|
||||
|
||||
* Sat May 09 00:21:16 PST 2020 Nick Samson <nisamson@microsoft.com>
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue Apr 21 2020 Eric Li <eli@microsoft.com> 2.64.0-4
|
||||
- Fix Source0: and delete sha1. Verified license. Fixed URL. Fixed formatting.
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.64.0-3
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
|
||||
* Fri Dec 07 2018 Keerthana <keerthanak@vmware.com> 2.64.0-2
|
||||
- Fix Make check failures.
|
||||
|
||||
* Mon Sep 17 2018 Bo Gan <ganb@vmware.com> 2.64.0-1
|
||||
- Update to 2.64.0
|
||||
|
||||
* Mon Sep 03 2018 Ankit Jain <ankitja@vmware.com> 2.57.1-4
|
||||
- Fix for CVE-2018-12910
|
||||
|
||||
* Mon Jun 18 2018 Tapas Kundu <tkundu@vmware.com> 2.57.1-3
|
||||
- CVE-2017-2885
|
||||
|
||||
* Fri Aug 11 2017 Chang Lee <changlee@vmware.com> 2.57.1-2
|
||||
- Added krb5-devel to BuildRequires for %check
|
||||
|
||||
* Tue Apr 04 2017 Kumar Kaushik <kaushikk@vmware.com> 2.57.1-1
|
||||
- Upgrading to version 2.57.1
|
||||
|
||||
* Fri Nov 18 2016 Alexey Makhalov <amakhalov@vmware.com> 2.53.90-3
|
||||
- Add sqlite-devel build deps
|
||||
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.53.90-2
|
||||
- GA - Bump release of all rpms
|
||||
|
||||
* Fri Feb 26 2016 Kumar Kaushik <kaushikk@vmware.com> 2.53.90-1
|
||||
- Updated version.
|
||||
|
||||
* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 2.50.0-5
|
||||
- Moving static lib files to devel package.
|
||||
|
||||
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 2.50.0-4
|
||||
- Removing la files from packages.
|
||||
|
||||
* Mon Jul 20 2015 Divya Thaluru <dthaluru@vmware.com> 2.50.0-3
|
||||
- Addinf libxml2 to Requires
|
||||
|
||||
* Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> 2.50.0-2
|
||||
- Exclude /usr/lib/debug
|
||||
|
||||
* Fri Jun 5 2015 Touseef Liaqat <tliaqat@vmware.com> 2.50.0-1
|
||||
- Initial build. First version
|
||||
|
|
Loading…
Reference in New Issue