Blame SPECS/gfbgraph.spec

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