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