|
|
0e95bf |
%global api 0.2
|
|
|
0e95bf |
|
|
|
0e95bf |
Name: gfbgraph
|
|
|
653b03 |
Version: %{api}.4
|
|
|
653b03 |
Release: 1%{?dist}
|
|
|
0e95bf |
Summary: GLib/GObject wrapper for the Facebook Graph API
|
|
|
0e95bf |
|
|
|
0e95bf |
License: LGPLv2+
|
|
|
653b03 |
URL: https://wiki.gnome.org/Projects/GFBGraph
|
|
|
653b03 |
Source0: https://download.gnome.org/sources/%{name}/%{api}/%{name}-%{version}.tar.xz
|
|
|
653b03 |
|
|
|
653b03 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1997941
|
|
|
653b03 |
Patch0: %{name}-Fix-CVE-2021-39358-by-forcing-TLS-certificate-valida.patch
|
|
|
653b03 |
|
|
|
653b03 |
BuildRequires: autoconf
|
|
|
653b03 |
BuildRequires: automake
|
|
|
653b03 |
BuildRequires: libtool
|
|
|
653b03 |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
653b03 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
653b03 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
653b03 |
BuildRequires: pkgconfig(goa-1.0)
|
|
|
0e95bf |
BuildRequires: gobject-introspection-devel
|
|
|
0e95bf |
BuildRequires: gtk-doc
|
|
|
653b03 |
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
653b03 |
BuildRequires: pkgconfig(libsoup-2.4)
|
|
|
653b03 |
BuildRequires: pkgconfig(rest-0.7)
|
|
|
0e95bf |
Requires: gobject-introspection
|
|
|
0e95bf |
|
|
|
0e95bf |
%description
|
|
|
0e95bf |
GLib/GObject wrapper for the Facebook Graph API that integrates with GNOME
|
|
|
0e95bf |
Online Accounts.
|
|
|
0e95bf |
|
|
|
0e95bf |
%package devel
|
|
|
0e95bf |
Summary: Development files for %{name}
|
|
|
0e95bf |
Requires: gobject-introspection-devel
|
|
|
0e95bf |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
0e95bf |
|
|
|
0e95bf |
%description devel
|
|
|
0e95bf |
The %{name}-devel package contains libraries and header files for
|
|
|
0e95bf |
developing applications that use %{name}.
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%prep
|
|
|
0e95bf |
%setup -q
|
|
|
653b03 |
%patch0 -p1
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%build
|
|
|
653b03 |
gtkdocize
|
|
|
653b03 |
autoreconf --install --verbose
|
|
|
0e95bf |
%configure \
|
|
|
0e95bf |
--disable-silent-rules \
|
|
|
0e95bf |
--disable-static \
|
|
|
0e95bf |
--enable-gtk-doc \
|
|
|
0e95bf |
--enable-introspection
|
|
|
0e95bf |
|
|
|
0e95bf |
# Omit unused direct shared library dependencies.
|
|
|
0e95bf |
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
0e95bf |
|
|
|
653b03 |
%make_build
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%install
|
|
|
653b03 |
%make_install
|
|
|
0e95bf |
|
|
|
0e95bf |
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
0e95bf |
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
|
|
|
0e95bf |
|
|
|
653b03 |
%ldconfig_scriptlets
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%files
|
|
|
0e95bf |
%doc AUTHORS
|
|
|
0e95bf |
%doc COPYING
|
|
|
0e95bf |
%doc NEWS
|
|
|
0e95bf |
%doc README
|
|
|
0e95bf |
%{_libdir}/lib%{name}-%{api}.so.*
|
|
|
0e95bf |
|
|
|
0e95bf |
%dir %{_libdir}/girepository-1.0
|
|
|
0e95bf |
%{_libdir}/girepository-1.0/GFBGraph-%{api}.typelib
|
|
|
0e95bf |
|
|
|
0e95bf |
%files devel
|
|
|
0e95bf |
%{_libdir}/lib%{name}-%{api}.so
|
|
|
0e95bf |
%{_libdir}/pkgconfig/libgfbgraph-%{api}.pc
|
|
|
0e95bf |
|
|
|
0e95bf |
%dir %{_datadir}/gir-1.0
|
|
|
0e95bf |
%{_datadir}/gir-1.0/GFBGraph-%{api}.gir
|
|
|
0e95bf |
|
|
|
0e95bf |
%dir %{_datadir}/gtk-doc
|
|
|
0e95bf |
%dir %{_datadir}/gtk-doc/html
|
|
|
0e95bf |
%doc %{_datadir}/gtk-doc/html/%{name}-%{api}
|
|
|
0e95bf |
|
|
|
0e95bf |
%dir %{_includedir}/%{name}-%{api}
|
|
|
0e95bf |
%{_includedir}/%{name}-%{api}/%{name}
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%changelog
|
|
|
653b03 |
* Tue Oct 12 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.2.4-1
|
|
|
653b03 |
- Update to 0.2.4
|
|
|
653b03 |
Resolves: #1997941
|
|
|
653b03 |
|
|
|
0e95bf |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-6
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-5
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-4
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-3
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Fri Jul 31 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.2.3-1
|
|
|
0e95bf |
- Update to 0.2.3
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-5
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-4
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.2-3
|
|
|
0e95bf |
- Rebuilt for gobject-introspection 1.41.4
|
|
|
0e95bf |
|
|
|
0e95bf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
|
|
|
0e95bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Dec 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.2.2-1
|
|
|
0e95bf |
- Update to 0.2.2
|
|
|
0e95bf |
|
|
|
0e95bf |
* Thu Nov 28 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.2.1-2
|
|
|
0e95bf |
- Use %%global instead of %%define
|
|
|
0e95bf |
- Define Version in terms of %%{api}
|
|
|
0e95bf |
- Drop redundant Requires: pkgconfig from devel
|
|
|
0e95bf |
|
|
|
0e95bf |
* Wed Nov 27 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.2.1-1
|
|
|
0e95bf |
- Initial spec.
|