Blame SPECS/gfbgraph.spec

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