|
|
0e95bf |
%global api 0.2
|
|
|
0e95bf |
|
|
|
0e95bf |
Name: gfbgraph
|
|
|
0e95bf |
Version: %{api}.3
|
|
|
0e95bf |
Release: 6%{?dist}
|
|
|
0e95bf |
Summary: GLib/GObject wrapper for the Facebook Graph API
|
|
|
0e95bf |
|
|
|
0e95bf |
License: LGPLv2+
|
|
|
0e95bf |
URL: http://wiki.gnome.org/GFBGraph
|
|
|
0e95bf |
Source0: http://download.gnome.org/sources/%{name}/%{api}/%{name}-%{version}.tar.xz
|
|
|
0e95bf |
|
|
|
0e95bf |
BuildRequires: glib2-devel
|
|
|
0e95bf |
BuildRequires: gnome-online-accounts-devel
|
|
|
0e95bf |
BuildRequires: gobject-introspection-devel
|
|
|
0e95bf |
BuildRequires: gtk-doc
|
|
|
0e95bf |
BuildRequires: json-glib-devel
|
|
|
0e95bf |
BuildRequires: libsoup-devel
|
|
|
0e95bf |
BuildRequires: pkgconfig
|
|
|
0e95bf |
BuildRequires: rest-devel
|
|
|
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
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%build
|
|
|
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 |
|
|
|
0e95bf |
make %{?_smp_mflags}
|
|
|
0e95bf |
|
|
|
0e95bf |
|
|
|
0e95bf |
%install
|
|
|
0e95bf |
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
|
0e95bf |
|
|
|
0e95bf |
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
0e95bf |
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
|
|
|
0e95bf |
|
|
|
0e95bf |
%post -p /sbin/ldconfig
|
|
|
0e95bf |
|
|
|
0e95bf |
%postun -p /sbin/ldconfig
|
|
|
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
|
|
|
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.
|